![Intel Extensible Firmware Interface Specification Download Page 63](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117063.webp)
Services
Version 1.02
12/12/00
45
3.2.1 AllocatePages()
Summary
Allocates memory pages from the system.
Prototype
EFI_STATUS
AllocatePages(
IN EFI_ALLOCATE_TYPE
Type,
IN EFI_MEMORY_TYPE
MemoryType,
IN UINTN
Pages,
IN OUT EFI_PHYSICAL_ADDRESS
*
Memory
);
Parameters
Type
The type of allocation to perform. See “Related Definitions”.
MemoryType
The type of memory to allocate. The only types allowed are
EfiLoaderCode, EfiLoaderData,
EfiRuntimeServicesCode, EfiRuntimeServicesData,
EfiBootServicesCode, EfiBootServicesData,
EfiACPIReclaimMemory,
and
EfiACPIMemoryNVS
. Normal
allocations (that is, allocations by any EFI application) are of type
EfiLoaderData
. See “Related Definitions”, Table 3-5, and
Table 3-6.
Pages
The number of contiguous 4KB pages to allocate.
Memory
Pointer to a physical address. On input, the way in which the address is
used depends on the value of
Type
. See “Description” for more
information. On output the address is set to the base of the page range
that was allocated. See “Related Definitions”.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...