Specifications

Code Definitions
143
Compatibility16DispatchOprom()
Summary
Allows the Compatibility16 code rehook INT13, INT18, and/or INT19 after dispatching a
legacy OpROM.
Input Registers
AX = Compatibility16DispatchOprom
ES:BX = Pointer to EFI_DISPATCH_OPROM_TABLE
Output Registers
AX = Returned status codes
BX = Number of non-BBS-compliant devices found. Equals 0 if BBS compliant.
Related Definitions
//********************************************************
// EFI_DISPATCH_OPROM_TABLE
//********************************************************
typedef struct {
UINT16 PnpInstallationCheckSegment;
UINT16 PnpInstallationCheckOffset;
UINT16 OpromSegment;
UINT8 PciBus;
UINT8 PciDeviceFunction
UINT8 NumberBbbsEntries;
UINT32 BbsTablePointer;
UINT16 OpromDestinationSegment;
} EFI_DISPATCH_OPROM_TABLE;
PnpInstallationCheckSegment/Offset
Pointer to the PnpInstallationCheck data structure.
OpromDestinationSegment
The segment where the OpROM can be relocated to. If this value is 0x0000, this
means that the relocation of this run time code is not supported.
OpromSegment
The segment where the OpROM was placed. Offset is assumed to be 3.