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)]
|
#[derive(Clone)]
|
||||||
pub struct MemConfig {
|
pub struct MemConfig {
|
||||||
ram: Arc<Ram>,
|
pub ram: Arc<Ram>,
|
||||||
ram_start: PageNum,
|
pub ram_start: PageNum,
|
||||||
devices: Box<[DeviceEntry]>,
|
pub devices: Box<[DeviceEntry]>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl MemConfig {
|
impl MemConfig {
|
||||||
|
|||||||
Reference in New Issue
Block a user