Function init_memory

Source
pub fn init_memory(boot_info: &BootInfo) -> Result<(), KernelError>
Expand description

Initialize the memory allocator.

boot_info - The boot information. This contains the memory map.

Returns an error if the memory allocator could not be initialized.