morpheus_bootloader::boot::network_boot

Function enter_network_boot_url

Source
pub unsafe fn enter_network_boot_url(
    handoff: &'static BootHandoff,
    iso_url: &'static str,
    esp_lba: u64,
) -> RunResult
Expand description

Network boot with custom URL.

§Safety

  • Must be called after ExitBootServices()
  • handoff must point to valid, populated BootHandoff
  • iso_url must be a ’static str (allocated before EBS, e.g., via Box::leak)