1 2 3 4 5 6 7 8 9
pub mod interrupts; pub mod paging; /// Halts the hart. pub fn sleep_forever() -> ! { loop { unsafe { core::arch::asm!("wfi") } } }