Specifications

Code Definitions
61
EfiGetPlatformBinaryOem16Data
Summary
Returns any 16-bit OEM-specific code and/or data.
Parameters
This
Indicates the EFI_LEGACY_BIOS_PLATFORM_PROTOCOL instance.
Mode
EfiGetPlatformBinaryOem16Data
Table
Pointer to OEM legacy 16-bit code or data.
TableSize
Size of data.
Location
Location to place the 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 mode returns a block of data. The contents and usage is IBV defined. OEMs or
IBVs normally use this mode for nonstandard Compatibility16 runtime 16-bit routines. 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.
An example usage might be a legacy mobile BIOS that has a pre-existing runtime
interface to return the battery status to calling applications.
This mode is invoked twice. The first invocation has LegacySegment and
LegacyOffset set to 0. The mode 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 table is to be copied. The second
invocation allows any table address fix-ups to occur in the EFI memory copy of the