Skip to content

Commit

Permalink
MdePkg: Add UEFI v2.10 ISA memory type definition
Browse files Browse the repository at this point in the history
New memory type as defined in UEFI standard v2.10

Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Cc: T V Krishnamoorthy <[email protected]>
Signed-off-by: ManickamX Srinivasan <[email protected]>
Reviewed-by: Zhiguang Liu <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>
  • Loading branch information
sriniv2x authored and mergify[bot] committed Dec 9, 2023
1 parent 3c40ee8 commit 85a5141
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions MdePkg/Include/Uefi/UefiSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,21 @@ typedef enum {
//
#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL

//
// If this flag is set, the memory region is
// described with additional ISA-specific memory attributes
// as specified in EFI_MEMORY_ISA_MASK.
//
#define EFI_MEMORY_ISA_VALID 0x4000000000000000ULL

//
// Defines the bits reserved for describing optional ISA-specific cacheability
// attributes that are not covered by the standard UEFI Memory Attributes cacheability
// bits (EFI_MEMORY_UC, EFI_MEMORY_WC, EFI_MEMORY_WT, EFI_MEMORY_WB and EFI_MEMORY_UCE).
// See Calling Conventions for further ISA-specific enumeration of these bits.
//
#define EFI_MEMORY_ISA_MASK 0x0FFFF00000000000ULL

//
// Attributes bitmasks, grouped by type
//
Expand Down

0 comments on commit 85a5141

Please sign in to comment.