]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Correct EfiGcdMemoryTypePersistent name to follow PI spec
authorLiming Gao <liming.gao@intel.com>
Wed, 20 Sep 2017 04:02:36 +0000 (12:02 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 10 Oct 2017 06:19:12 +0000 (14:19 +0800)
PI spec defines EfiGcdMemoryTypePersistent name, MdePkg uses
EfiGcdMemoryTypePersistentMemory name. So, EfiGcdMemoryTypePersistent
is added. And, EfiGcdMemoryTypePersistentMemory is kept for compatility.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdePkg/Include/Pi/PiDxeCis.h

index 3292809851629057830ba45c82c118fda7f89408..079dd3eab1ecb75d57c1cd77ded00953efede3cf 100644 (file)
@@ -52,7 +52,11 @@ typedef enum {
   /// A memory region that is visible to the boot processor. \r
   /// This memory supports byte-addressable non-volatility. \r
   ///\r
-  EfiGcdMemoryTypePersistentMemory,\r
+  EfiGcdMemoryTypePersistent,\r
+  //\r
+  // Keep original one for the compatibility.\r
+  //\r
+  EfiGcdMemoryTypePersistentMemory = EfiGcdMemoryTypePersistent,\r
   ///\r
   /// A memory region that provides higher reliability relative to other memory in the\r
   /// system. If all memory has the same reliability, then this bit is not used.\r