pub fn install(
memory: &mut impl RomMemory,
image: &[u8],
option_rom: Option<&[u8]>,
config: FirmwareConfig,
) -> Result<FirmwareLayout, FirmwareError>Expand description
Installs a validated BIOS image and an optional VGA option ROM.
The BIOS is written at bios.base; the option ROM at
OPTION_ROM_BASE. Both ranges must already be mapped writable in the
world, and the caller must map the RAM the returned configuration
describes before entering the guest.