]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi/UefiSpec.h
MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes
[mirror_edk2.git] / MdePkg / Include / Uefi / UefiSpec.h
index 44a0a6a7fa6f57192af93406a22aecf695e2c04c..444aa35ecab1adf313c83f451b28f94c9d517455 100644 (file)
@@ -82,6 +82,26 @@ typedef enum {
 // If all memory has the same reliability, then this bit is not used.\r
 //\r
 #define EFI_MEMORY_MORE_RELIABLE    0x0000000000010000ULL\r
+\r
+//\r
+// Note: UEFI spec 2.8 and following:\r
+//\r
+// Specific-purpose memory (SPM). The memory is earmarked for\r
+// specific purposes such as for specific device drivers or applications.\r
+// The SPM attribute serves as a hint to the OS to avoid allocating this\r
+// memory for core OS data or code that can not be relocated.\r
+//\r
+#define EFI_MEMORY_SP               0x0000000000040000ULL\r
+//\r
+// If this flag is set, the memory region is capable of being\r
+// protected with the CPU?s memory cryptographic\r
+// capabilities. If this flag is clear, the memory region is not\r
+// capable of being protected with the CPU?s memory\r
+// cryptographic capabilities or the CPU does not support CPU\r
+// memory cryptographic capabilities.\r
+//\r
+#define EFI_MEMORY_CPU_CRYPTO       0x0000000000080000ULL\r
+\r
 //\r
 // Runtime memory attribute\r
 //\r