Make fields of MemConfig public to allow creating one
This commit is contained in:
@@ -13,9 +13,9 @@ const PAGE_SIZE: usize = 4096;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct MemConfig {
|
||||
ram: Arc<Ram>,
|
||||
ram_start: PageNum,
|
||||
devices: Box<[DeviceEntry]>,
|
||||
pub ram: Arc<Ram>,
|
||||
pub ram_start: PageNum,
|
||||
pub devices: Box<[DeviceEntry]>,
|
||||
}
|
||||
|
||||
impl MemConfig {
|
||||
|
||||
Reference in New Issue
Block a user