Specifications
Code Definitions
37
EFI_LEGACY_BIOS_PROTOCOL.CheckPciRom()
Summary
Tests to see if a traditional PCI ROM exists for this device..
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_BIOS_CHECK_ROM) (
IN EFI_LEGACY_BIOS_PROTOCOL *This,
IN EFI_HANDLE PciHandle
OUT VOID **RomImage, OPTIONAL
OUT UINTN *RomSize, OPTIONAL
OUT UINTN *Flags
)
Parameters
This
Indicates the EFI_LEGACY_BIOS_PROTOCOL instance.
PciHandle
The handle for this device. Type EFI_HANDLE is defined in
InstallProtocolInterface() in the EFI 1.10 Specification.
RomImage
Pointer to the ROM image.
RomSize
The size of the ROM image.
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
Description
This function tests to see if a traditional PCI ROM exists for this device..
Status Codes Returned
EFI_SUCCESS A traditional OpROM is available for this device.
EFI_UNSUPPORTED A traditional OpROM is not supported.










