diff options
| author | taitep <taitep@taitep.se> | 2025-10-07 17:04:20 +0200 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-10-07 17:04:20 +0200 |
| commit | 908be749acd2c03d4a7366cfdbb81242b615cf8c (patch) | |
| tree | 77586ca0297903a1ed34f1b95c9c040e837b367e /src/mem.rs | |
| parent | 52952840aa57512f3bbf06ea0054b5b742aabf20 (diff) | |
Make fields of MemConfig public to allow creating one
Diffstat (limited to 'src/mem.rs')
| -rw-r--r-- | src/mem.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |
