Function memory::init

source ·
pub fn init(
    boot_info: &impl BootInformation,
    kernel_stack_start: VirtualAddress
) -> Result<InitialMemoryMappings, &'static str>
Expand description

Initializes the virtual memory management system. Consumes the given BootInformation, because after the memory system is initialized, the original BootInformation will be unmapped and inaccessible.