morpheus_bootloader::boot::network_boot

Function prepare_handoff_with_blk

Source
pub fn prepare_handoff_with_blk(
    nic: &NicProbeResult,
    blk: &BlkProbeResult,
    mac_address: [u8; 6],
    dma_cpu_ptr: u64,
    dma_bus_addr: u64,
    dma_size: u64,
    tsc_freq: u64,
    stack_top: u64,
    stack_size: u64,
) -> BootHandoff
Expand description

Prepare BootHandoff with both NIC and block device info.

Call this BEFORE ExitBootServices to populate handoff structure.