Make fields of DeviceEntry public

This commit is contained in:
2025-10-09 20:27:20 +02:00
parent 5274828b81
commit bf5562df54

View File

@@ -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 {