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