Specifications

Code Definitions
59
EfiGetPlatformBinaryOemIntData
Summary
Returns any OEM-specific code and/or data.
Parameters
This
Indicates the EFI_LEGACY_BIOS_PLATFORM_PROTOCOL instance.
Mode
EfiGetPlatformBinaryOemIntData
Table
Pointer to OEM legacy 16-bit code or data.
TableSize
Size of data.
Location
Location to place table. 0x00 Either 0xE0000 or 0xF0000 64 KB blocks.
Bit 0 = 1 0xF0000 64 KB block.
Bit 1 = 1 0xE0000 64 KB block.
Multiple bits can be set.
Alignment
Bit-mapped address alignment granularity. The first nonzero bit from the right is the
address granularity.
LegacySegment
Segment where EfiCompatibility code will place the table or data.
LegacyOffset
Offset where EfiCompatibility code will place the table or data.
Description
This function returns a block of data. The contents and usage is IBV or OEM defined.
OEMs or IBVs normally use this function for nonstandard Compatibility16 runtime soft
INTs. It is the responsibility of this routine to coalesce multiple OEM 16-bit functions, if
they exist, into one coherent package that is understandable by the Compatibility16
code.
This function is invoked twice. The first invocation has
LegacySegment and
LegacyOffset set to 0. The function returns the table address in EFI memory and its
size.
The second invocation has
LegacySegment and LegacyOffset set to the location
in the 0xF0000 or 0xE0000 block to which the data (table) is to be copied. The second
invocation allows any data (table) address fix-ups to occur in the EFI memory copy of
the table. The caller, not GetOemIntData(), copies the modified data (table) to the
allocated region in 0xF0000 or 0xE0000 block after the second invocation.