Specifications
38
EFI_LEGACY_BIOS_PROTOCOL.InstallPciRom()
Summary
Shadows an OpROM.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_BIOS_INSTALL_ROM) (
IN EFI_LEGACY_BIOS_PROTOCOL *This,
IN EFI_HANDLE PciHandle,
IN VOID **RomImage,
OUT UINTN *Flags
OUT UINT8 *DiskStart, OPTIONAL
OUT UINT8 *DiskEnd, OPTIONAL
OUT VOID **RomShadowAddress, OPTIONAL
OUT UINT32 *ShadowedRomSize OPTIONAL
)
Parameters
This
Indicates the EFI_LEGACY_BIOS_PROTOCOL instance.
PciHandle
The PCI PC-AT* OpROM from this device’s ROM BAR will be loaded. Type
EFI_HANDLE is defined in InstallProtocolInterface() in the EFI 1.10
Specification.
RomImage
A PCI PC-AT ROM image. This argument is non-NULL if there is no hardware
associated with the ROM and thus no
PciHandle; otherwise it must be NULL. An
example is the PXE base code.
Flags
The type of ROM discovered. Multiple bits can be set, as follows:
00 = No ROM.
01 = ROM found.
02 = ROM is a valid legacy ROM.
DiskStart
Disk number of the first device hooked by the ROM. If DiskStart is the same as
DiskEnd, no disks were hooked.










