MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EFI_MEMORY_DESCRIPTOR Struct Reference

Data Fields

UINT32 Type
 
EFI_PHYSICAL_ADDRESS PhysicalStart
 
EFI_VIRTUAL_ADDRESS VirtualStart
 
UINT64 NumberOfPages
 
UINT64 Attribute
 

Detailed Description

Definition of an EFI memory descriptor.

Field Documentation

UINT64 EFI_MEMORY_DESCRIPTOR::Attribute

Attributes of the memory region that describe the bit mask of capabilities for that memory region, and not necessarily the current settings for that memory region.

UINT64 EFI_MEMORY_DESCRIPTOR::NumberOfPages

NumberOfPagesNumber of 4 KiB pages in the memory region. NumberOfPages must not be 0, and must not be any value that would represent a memory page with a start address, either physical or virtual, above 0xfffffffffffff000.

EFI_PHYSICAL_ADDRESS EFI_MEMORY_DESCRIPTOR::PhysicalStart

Physical address of the first byte in the memory region. PhysicalStart must be aligned on a 4 KiB boundary, and must not be above 0xfffffffffffff000. Type EFI_PHYSICAL_ADDRESS is defined in the AllocatePages() function description

UINT32 EFI_MEMORY_DESCRIPTOR::Type

Type of the memory region. Type EFI_MEMORY_TYPE is defined in the AllocatePages() function description.

EFI_VIRTUAL_ADDRESS EFI_MEMORY_DESCRIPTOR::VirtualStart

Virtual address of the first byte in the memory region. VirtualStart must be aligned on a 4 KiB boundary, and must not be above 0xfffffffffffff000.