[sq] publish mmu mod
This commit is contained in:
parent
d04c844bbb
commit
79218ff2dd
|
@ -4,6 +4,7 @@ mod boot;
|
||||||
mod memory;
|
mod memory;
|
||||||
pub mod mmu;
|
pub mod mmu;
|
||||||
pub use self::memory::{PhysicalAddress, VirtualAddress};
|
pub use self::memory::{PhysicalAddress, VirtualAddress};
|
||||||
|
pub use mmu::*;
|
||||||
|
|
||||||
use cortex_a::{asm, barrier, regs::*};
|
use cortex_a::{asm, barrier, regs::*};
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ fn kmain() -> ! {
|
||||||
// uart.write_str(); // shall this?
|
// uart.write_str(); // shall this?
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
aarch64::mmu::init();
|
mmu::init();
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(mut display) = VC::init_fb(Size2d { x: 800, y: 600 } /*, &mut uart*/) {
|
if let Some(mut display) = VC::init_fb(Size2d { x: 800, y: 600 } /*, &mut uart*/) {
|
||||||
|
|
Loading…
Reference in New Issue