Make some constants and type aliases public

This commit is contained in:
2025-10-09 20:26:09 +02:00
parent ee5f5a2ec4
commit 5274828b81
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
mod consts; pub mod consts;
pub mod core; pub mod core;
mod decode; mod decode;
mod instructions; mod instructions;

View File

@@ -7,7 +7,7 @@ use memmap2::MmapMut;
use crate::consts::{Byte, DWord, HWord, Word}; use crate::consts::{Byte, DWord, HWord, Word};
type PageNum = usize; pub type PageNum = usize;
const PAGE_SIZE: usize = 4096; const PAGE_SIZE: usize = 4096;