Function load_config

Source
pub fn load_config(
    importer: &mut impl ImageLoad<X86Register>,
    load_info: &LoadInfo,
    command_line: CommandLineConfig<'_>,
    zero_page: ZeroPageConfig<'_>,
    acpi: AcpiConfig<'_>,
    registers: RegisterConfig,
) -> Result<(), Error>
Expand description

Load the configuration info and registers for the Linux kernel based on the provided LoadInfo.

ยงArguments

  • importer - The importer to use.
  • load_info - The kernel load info that contains information on where the kernel and initrd are.
  • command_line - The kernel command line.
  • zero_page - The kernel zero page.
  • registers - X86Register config.