Make fields of DeviceEntry public
This commit is contained in:
@@ -339,9 +339,9 @@ impl Ram {
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct DeviceEntry {
|
||||
base: PageNum,
|
||||
size: PageNum,
|
||||
interface: Arc<dyn MemDeviceInterface>,
|
||||
pub base: PageNum,
|
||||
pub size: PageNum,
|
||||
pub interface: Arc<dyn MemDeviceInterface>,
|
||||
}
|
||||
|
||||
pub trait MemDeviceInterface {
|
||||
|
||||
Reference in New Issue
Block a user