Function memory::init_post_heap

source ·
pub fn init_post_heap(
    page_table: PageTable,
    additional_mapped_pages: MappedPages,
    heap_mapped_pages: MappedPages
) -> MmiRef
Expand description

Finishes initializing the memory management system after the heap is ready.

Returns the following tuple:

  • The kernel’s new MemoryManagementInfo, representing the initial virtual address space,
  • The kernel’s list of identity-mapped MappedPages, which must not be dropped until all secondary CPUs are fully booted, but should be dropped before starting the first application.