XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
EFI_MEMORY_DESCRIPTOR Struct Reference

#include <UefiSpec.h>

Public Attributes

UINT32 Type
 
EFI_PHYSICAL_ADDRESS PhysicalStart
 
EFI_VIRTUAL_ADDRESS VirtualStart
 
UINT64 NumberOfPages
 
UINT64 Attribute
 

Detailed Description

Definition of an EFI memory descriptor.

Member Data 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.

◆ 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.

◆ 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

◆ Type

UINT32 EFI_MEMORY_DESCRIPTOR::Type

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

◆ 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.


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