Specifications

Code Definitions
145
Compatibility16GetTableAddress()
Summary
Finds a free area in the 0xFxxxx or 0xExxxx region of the specified length and returns
the address of that region.
Input Registers
AX = Compatibility16GetTableAddress
BX = Allocation region
00 = Allocate from either 0xE0000 or 0xF0000 64 KB blocks.
Bit 0 = 1 Allocate from 0xF0000 64 KB block
Bit 1 = 1 Allocate from 0xE0000 64 KB block
CX = Requested length in bytes.
DX = Required address alignment. Bit mapped. First non-zero bit from the right is the
alignment.
Output Registers
AX = Returned status codes
DS:BX = Address of the region
Status Codes Returned
EFI_SUCCESS 0x0000
EFI_OUT_OF_RESOURCES 0x8009