diff --git a/src/arch/aarch64/mod.rs b/src/arch/aarch64/mod.rs index a44a5dd..f01139f 100644 --- a/src/arch/aarch64/mod.rs +++ b/src/arch/aarch64/mod.rs @@ -4,6 +4,7 @@ mod boot; mod memory; pub mod mmu; pub use self::memory::{PhysicalAddress, VirtualAddress}; +pub use mmu::*; use cortex_a::{asm, barrier, regs::*}; diff --git a/src/main.rs b/src/main.rs index f015587..12e9202 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ fn kmain() -> ! { // uart.write_str(); // shall this? unsafe { - aarch64::mmu::init(); + mmu::init(); } if let Some(mut display) = VC::init_fb(Size2d { x: 800, y: 600 } /*, &mut uart*/) {