Allocatepages() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

3.2.1

AllocatePages()

Summary
Allocates memory pages from the system.
Prototype
EFI_STATUS
AllocatePages(
IN EFI_ALLOCATE_TYPE
IN EFI_MEMORY_TYPE
IN UINTN
IN OUT EFI_PHYSICAL_ADDRESS *Memory
);
Parameters
Type
MemoryType
Pages
Memory
Version 1.02
The type of allocation to perform. See "Related Definitions".
The type of memory to allocate. The only types allowed are
EfiLoaderCode, EfiLoaderData,
EfiRuntimeServicesCode, EfiRuntimeServicesData,
EfiBootServicesCode, EfiBootServicesData,
EfiACPIReclaimMemory,
allocations (that is, allocations by any EFI application) are of type
EfiLoaderData. See "Related Definitions", Table 3-5, and
Table 3-6.
The number of contiguous 4KB pages to allocate.
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".
12/12/00
Type,
MemoryType,
Pages,
and EfiACPIMemoryNVS. Normal
Services
45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents