pub mod interrupts; /// The size of a page of memory. pub const PAGE_SIZE: usize = 4096; /// The number of bits in the size of a page of memory. pub const PAGE_SIZE_BITS: usize = 12; /// Halts the hart. pub fn sleep_forever() -> ! { loop { unsafe { core::arch::asm!("wfi") } } }