diff options
author | Liming Gao <liming.gao@intel.com> | 2017-09-20 12:02:36 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-10-10 14:19:12 +0800 |
commit | 4f5687c246ee7eee64adbd637e0657a0d0e7df60 (patch) | |
tree | bc8db88ea5f397838a585ed6af0d181f8a9e8f54 /MdePkg | |
parent | 0a274516ff7efdd5a1ea8193423850ff02025e90 (diff) | |
download | edk2-4f5687c246ee7eee64adbd637e0657a0d0e7df60.tar.gz edk2-4f5687c246ee7eee64adbd637e0657a0d0e7df60.tar.bz2 edk2-4f5687c246ee7eee64adbd637e0657a0d0e7df60.zip |
MdePkg: Correct EfiGcdMemoryTypePersistent name to follow PI spec
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>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Pi/PiDxeCis.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h index 3292809851..079dd3eab1 100644 --- a/MdePkg/Include/Pi/PiDxeCis.h +++ b/MdePkg/Include/Pi/PiDxeCis.h @@ -52,7 +52,11 @@ typedef enum { /// A memory region that is visible to the boot processor.
/// This memory supports byte-addressable non-volatility.
///
- EfiGcdMemoryTypePersistentMemory,
+ EfiGcdMemoryTypePersistent,
+ //
+ // Keep original one for the compatibility.
+ //
+ EfiGcdMemoryTypePersistentMemory = EfiGcdMemoryTypePersistent,
///
/// A memory region that provides higher reliability relative to other memory in the
/// system. If all memory has the same reliability, then this bit is not used.
|