Skip to main content

init

Function init 

Source
pub fn init(hhdm_offset: u64)
Expand description

Initialize the paging subsystem.

Reads the active CR3 (level-4 page table) and creates an OffsetPageTable mapper using the HHDM offset for physical-to-virtual translation.

Must be called after the buddy allocator and HHDM offset are initialized.