Skip to main content

load

Function load 

Source
pub fn load(
    importer: &mut dyn ImageLoad<X86Register>,
    image: &[u8],
    config: ConfigType,
    hv_enabled: bool,
) -> Result<LoadInfo, Error>
Expand description

Load a UEFI image with the provided config type.

On x86_64 the firmware always runs under Hyper-V, so hv_enabled must be true.