diff options
| author | taitep <taitep@taitep.se> | 2025-10-09 20:26:09 +0200 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-10-09 20:26:09 +0200 |
| commit | 5274828b815ec3be574b745d70cabd2a8584c31a (patch) | |
| tree | 40ebeeda47206a0875dad2f751d1db613946acf6 /src | |
| parent | ee5f5a2ec41ed426440346ff47339b63c2cf7c1d (diff) | |
Make some constants and type aliases public
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 | ||||
| -rw-r--r-- | src/mem.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -mod consts; +pub mod consts; pub mod core; mod decode; mod instructions; @@ -7,7 +7,7 @@ use memmap2::MmapMut; use crate::consts::{Byte, DWord, HWord, Word}; -type PageNum = usize; +pub type PageNum = usize; const PAGE_SIZE: usize = 4096; |
