Function kernel_loader::load_multiboot
source · pub fn load_multiboot<F>(
guest_mem: &GuestMemory,
kernel_image: &mut F,
multiboot_load: &MultibootLoad
) -> Result<LoadedKernel>where
F: FileReadWriteAtVolatile,
Expand description
Load a Multiboot kernel image into memory.
The MultibootLoad
information can be retrieved from the optional load
field of a
MultibootKernel
returned by multiboot_header_from_file()
.