Reviewed-by: Jiewen Yao <jiewen....@intel.com> > -----Original Message----- > From: Xu, Min M <min.m...@intel.com> > Sent: Monday, June 6, 2022 11:00 AM > To: devel@edk2.groups.io > Cc: Xu, Min M <min.m...@intel.com>; Kinney, Michael D > <michael.d.kin...@intel.com>; Gao, Liming <gaolim...@byosoft.com.cn>; Liu, > Zhiguang <zhiguang....@intel.com>; Aktas, Erdem <erdemak...@google.com>; > Gerd Hoffmann <kra...@redhat.com>; James Bottomley <j...@linux.ibm.com>; > Yao, Jiewen <jiewen....@intel.com>; Tom Lendacky > <thomas.lenda...@amd.com> > Subject: [PATCH 04/14] MdePkg: Add UEFI Unaccepted memory definition > > From: Min M Xu <min.m...@intel.com> > > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3937 > > Plase refer to: > UEFI Spec v2.9 Table 7-5 Memory Type Usage before ExitBootServices() > > Cc: Michael D Kinney <michael.d.kin...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > Cc: Zhiguang Liu <zhiguang....@intel.com> > Cc: Erdem Aktas <erdemak...@google.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: James Bottomley <j...@linux.ibm.com> > Cc: Jiewen Yao <jiewen....@intel.com> > Cc: Tom Lendacky <thomas.lenda...@amd.com> > Signed-off-by: Min Xu <min.m...@intel.com> > --- > MdePkg/Include/Pi/PiDxeCis.h | 5 +++++ > MdePkg/Include/Uefi/UefiMultiPhase.h | 5 +++++ > 2 files changed, 10 insertions(+) > > diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h > index d0f2ed0e58df..67c99801b00d 100644 > --- a/MdePkg/Include/Pi/PiDxeCis.h > +++ b/MdePkg/Include/Pi/PiDxeCis.h > @@ -56,6 +56,11 @@ typedef enum { > /// system. If all memory has the same reliability, then this bit is not > used. > /// > EfiGcdMemoryTypeMoreReliable, > + /// > + /// A memory region that describes system memory that has not been > accepted > + /// by a corresponding call to the underlying isolation architecture. > + /// > + EfiGcdMemoryTypeUnaccepted, > EfiGcdMemoryTypeMaximum > } EFI_GCD_MEMORY_TYPE; > > diff --git a/MdePkg/Include/Uefi/UefiMultiPhase.h > b/MdePkg/Include/Uefi/UefiMultiPhase.h > index 22bae43e36e8..29aabab5948e 100644 > --- a/MdePkg/Include/Uefi/UefiMultiPhase.h > +++ b/MdePkg/Include/Uefi/UefiMultiPhase.h > @@ -103,6 +103,11 @@ typedef enum { > /// however it happens to also support byte-addressable non-volatility. > /// > EfiPersistentMemory, > + /// > + /// A memory region that describes system memory that has not been > accepted > + /// by a corresponding call to the underlying isolation architecture. > + /// > + EfiUnacceptedMemory, > EfiMaxMemoryType > } EFI_MEMORY_TYPE; > > -- > 2.29.2.windows.2
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90235): https://edk2.groups.io/g/devel/message/90235 Mute This Topic: https://groups.io/mt/91570197/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-