TianoCore EDK2 master
Loading...
Searching...
No Matches
EFI_MEMORY_DESCRIPTOR Struct Reference

#include <MdePkg/Include/Uefi/UefiSpec.h>

Data Fields

UINT32 Type
 
EFI_PHYSICAL_ADDRESS PhysicalStart
 
EFI_VIRTUAL_ADDRESS VirtualStart
 
UINT64 NumberOfPages
 
UINT64 Attribute
 

Detailed Description

Definition of an EFI memory descriptor.

Definition at line 143 of file UefiSpec.h.

Field Documentation

◆ 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 174 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 168 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 155 of file UefiSpec.h.

◆ 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 149 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 161 of file UefiSpec.h.


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