summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Uefi/UefiSpec.h
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-05-11 05:16:02 +0000
committerlzeng14 <lzeng14@Edk2>2015-05-11 05:16:02 +0000
commite919c766d50b1e1f4c9890fb383640c7fd2a3ffe (patch)
treecf407cbb4d433092909f7992ceb0d5d47e691011 /MdePkg/Include/Uefi/UefiSpec.h
parenta4b833e57304a5579f92716ac3fab4e01a4e5b07 (diff)
downloadedk2-e919c766d50b1e1f4c9890fb383640c7fd2a3ffe.tar.gz
edk2-e919c766d50b1e1f4c9890fb383640c7fd2a3ffe.tar.bz2
edk2-e919c766d50b1e1f4c9890fb383640c7fd2a3ffe.zip
MdePkg: Add memory more reliable definitions.
PiHob.h: EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE resource attribute. PiDxeCis: EfiGcdMemoryTypeMoreReliable GCD memory type. UefiSpec.h: EFI_MEMORY_MORE_RELIABLE memory attribute. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17399 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Uefi/UefiSpec.h')
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 243f33078a..d38a5571af 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -63,30 +63,35 @@ typedef enum {
//
// Memory cacheability attributes
//
-#define EFI_MEMORY_UC 0x0000000000000001ULL
-#define EFI_MEMORY_WC 0x0000000000000002ULL
-#define EFI_MEMORY_WT 0x0000000000000004ULL
-#define EFI_MEMORY_WB 0x0000000000000008ULL
-#define EFI_MEMORY_UCE 0x0000000000000010ULL
+#define EFI_MEMORY_UC 0x0000000000000001ULL
+#define EFI_MEMORY_WC 0x0000000000000002ULL
+#define EFI_MEMORY_WT 0x0000000000000004ULL
+#define EFI_MEMORY_WB 0x0000000000000008ULL
+#define EFI_MEMORY_UCE 0x0000000000000010ULL
//
// Physical memory protection attributes
//
// Note: UEFI spec 2.5 and following: use EFI_MEMORY_RO as write-protected physical memory
// protection attribute. Also, EFI_MEMORY_WP means cacheability attribute.
//
-#define EFI_MEMORY_WP 0x0000000000001000ULL
-#define EFI_MEMORY_RP 0x0000000000002000ULL
-#define EFI_MEMORY_XP 0x0000000000004000ULL
-#define EFI_MEMORY_RO 0x0000000000020000ULL
+#define EFI_MEMORY_WP 0x0000000000001000ULL
+#define EFI_MEMORY_RP 0x0000000000002000ULL
+#define EFI_MEMORY_XP 0x0000000000004000ULL
+#define EFI_MEMORY_RO 0x0000000000020000ULL
//
// Physical memory persistence attribute.
// The memory region supports byte-addressable non-volatility.
//
-#define EFI_MEMORY_NV 0x0000000000008000ULL
+#define EFI_MEMORY_NV 0x0000000000008000ULL
+//
+// The memory region provides higher reliability relative to other memory in the system.
+// If all memory has the same reliability, then this bit is not used.
+//
+#define EFI_MEMORY_MORE_RELIABLE 0x0000000000010000ULL
//
// Runtime memory attribute
//
-#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL
+#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL
///
/// Memory descriptor version number.