Function relocate_initramfs

Source
pub fn relocate_initramfs(
    usable_area: &mut MemoryArea,
) -> Result<(), &'static str>
Expand description

Relocate initramfs to heap memory

This function copies the initramfs from the location provided by the bootloader to a new location in kernel heap memory, so that it can be accessed after virtual memory is enabled.

ยงReturns

Option: The memory area of the relocated initramfs if successful, None otherwise.