#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
+// 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
+// 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
//\r
#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL\r
\r
+//\r
+// Attributes bitmasks, grouped by type\r
+//\r
+#define EFI_CACHE_ATTRIBUTE_MASK (EFI_MEMORY_UC | EFI_MEMORY_WC | EFI_MEMORY_WT | EFI_MEMORY_WB | EFI_MEMORY_UCE | EFI_MEMORY_WP)\r
+#define EFI_MEMORY_ATTRIBUTE_MASK (EFI_MEMORY_RP | EFI_MEMORY_XP | EFI_MEMORY_RO | EFI_MEMORY_SP | EFI_MEMORY_CPU_CRYPTO)\r
+\r
///\r
/// Memory descriptor version number.\r
///\r