morpheus_bootloader::boot::iso_boot

Function boot_from_iso

Source
pub unsafe fn boot_from_iso<B: BlockIo>(
    boot_services: &BootServices,
    system_table: *mut (),
    image_handle: *mut (),
    ctx: IsoReadContext,
    block_io: &mut B,
    cmdline: &str,
    screen: &mut Screen,
) -> Result<Infallible, IsoBootError>
Expand description

Boot from a chunked ISO

§Arguments

  • boot_services - UEFI boot services
  • system_table - UEFI system table
  • image_handle - Current image handle
  • ctx - ISO read context from storage manager
  • block_io - Underlying disk block I/O
  • cmdline - Kernel command line
  • screen - Screen for progress display

§Safety

This function never returns on success - it transfers control to the kernel.