pub fn load_kernel_and_initrd_arm64<F>(
importer: &mut dyn ImageLoad<Aarch64Register>,
kernel_image: &mut F,
kernel_minimum_start_address: u64,
initrd: Option<InitrdConfig<'_>>,
device_tree_blob: Option<&[u8]>,
) -> Result<LoadInfo, Error>Expand description
Load only an arm64 the flat Linux kernel Image and optional initrd.
This does not setup register state or any other config information.
ยงArguments
importer- The importer to use.kernel_image- Uncompressed ELF image for the kernel.kernel_minimum_start_address- The minimum address the kernel can load at. It cannot contain an entrypoint or program headers that refer to memory below this address.initrd- The initrd config, optional.device_tree_blob- The device tree blob, optional.