Function seed_riscv::alloc_and_map_kernel_heap

source ยท
pub(crate) fn alloc_and_map_kernel_heap(
    next_available_kernel_address: &mut VAddr,
    kernel_page_table: &mut PageTableImpl,
    boot_info: &mut BootInfo
)
Expand description

Allocate memory for the kernel heap, and dynamically map it into the address space after the kernel. We tell the kernel where to find it via the boot info.