Specifications
Code Definitions
47
EFI_LEGACY_BIOS_PROTOCOL.GetLegacyRegion()
Summary
This function is called when EFI needs to reserve an area in the 0xE0000 or 0xF0000
64 KB blocks.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_BIOS_GET_LEGACY_REGION) (
IN EFI_LEGACY_BIOS_PROTOCOL *This,
IN UINTN LegacyMemorySize,
IN UINTN Region,
IN UINTN Alignment,
OUT VOID **LegacyMemoryAddress
)
Parameters
This
Indicates the EFI_LEGACY_BIOS_PROTOCOL instance.
LegacyMemorySize
Requested size in bytes of the region.
Region
Requested region.
00 = Either 0xE0000 or 0xF0000 blocks.
Bit0 = 1 Specify 0xF0000 block
Bit1 = 1 Specify 0xE0000 block
Alignment
Bit-mapped value specifying the address alignment of the requested region. The
first nonzero value from the right is alignment.
LegacyMemoryAddress
Address assigned.
Description
This function is called when EFI needs to reserve an area in the 0xE0000 or 0xF0000
64 KB blocks. This function may be invoked only once. Use
EFI_LEGACY_BIOS_PROTOCOL.CopyLegacyRegion() to move data to the
returned region.










