Function kernel_loader::load_elf_for_class
source · pub(crate) fn load_elf_for_class<F>(
guest_mem: &GuestMemory,
kernel_start: GuestAddress,
kernel_image: &mut F,
phys_offset: u64,
ei_class: Option<u32>
) -> Result<LoadedKernel>where
F: FileReadWriteAtVolatile,