Download Crate CSM16 Specifications
Transcript
Code Definitions EfiGetPlatformBinaryOem32Data Summary Returns any 32-bit OEM-specific code and/or data. Parameters This Indicates the EFI_LEGACY_BIOS_PLATFORM_PROTOCOL instance. Mode EfiGetPlatformBinaryOem32Data Table Pointer to OEM legacy 32-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 32-bit routines. It is the responsibility of this routine to coalesce multiple OEM 32-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. 63