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