iPXE
Data Fields
EFI_MEMORY_DESCRIPTOR Struct Reference

Definition of an EFI memory descriptor. More...

#include <UefiSpec.h>

Data Fields

UINT32 Type
 Type of the memory region. More...
 
EFI_PHYSICAL_ADDRESS PhysicalStart
 Physical address of the first byte in the memory region. More...
 
EFI_VIRTUAL_ADDRESS VirtualStart
 Virtual address of the first byte in the memory region. More...
 
UINT64 NumberOfPages
 NumberOfPagesNumber of 4 KiB pages in the memory region. More...
 
UINT64 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. More...
 

Detailed Description

Definition of an EFI memory descriptor.

Definition at line 145 of file UefiSpec.h.

Field Documentation

◆ Type

UINT32 EFI_MEMORY_DESCRIPTOR::Type

Type of the memory region.

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

Definition at line 151 of file UefiSpec.h.

◆ PhysicalStart

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

Definition at line 157 of file UefiSpec.h.

◆ VirtualStart

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.

Definition at line 163 of file UefiSpec.h.

◆ NumberOfPages

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.

Definition at line 170 of file UefiSpec.h.

◆ Attribute

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.

Definition at line 176 of file UefiSpec.h.


The documentation for this struct was generated from the following file: