[edk2-devel] [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes

Huang, Qing qing.huang at intel.com
Wed Oct 30 03:35:17 UTC 2019


Add V2 patch to add some description for these new memory type from UEFI 2.8 spec.

Thanks  & Best regards,
Huang, Qing


> -----Original Message-----
> From: Gao, Liming
> Sent: Wednesday, October 30, 2019 9:17 AM
> To: Huang, Qing <qing.huang at intel.com>; devel at edk2.groups.io
> Subject: RE: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory
> attributes
> 
> Reviewed-by: Liming Gao <liming.gao at intel.com>
> 
> >-----Original Message-----
> >From: Huang, Qing
> >Sent: Thursday, October 24, 2019 10:34 AM
> >To: devel at edk2.groups.io
> >Cc: Gao, Liming <liming.gao at intel.com>
> >Subject: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes
> >
> >BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2309
> >Add EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO definition into UEFI
> >specification header file.
> >
> >Signed-off-by: Qing Huang <qing.huang at intel.com>
> >Cc: Liming Gao <liming.gao at intel.com>
> >---
> > MdePkg/Include/Uefi/UefiSpec.h | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> >diff --git a/MdePkg/Include/Uefi/UefiSpec.h
> >b/MdePkg/Include/Uefi/UefiSpec.h index 44a0a6a7fa..50fae6f013 100644
> >--- a/MdePkg/Include/Uefi/UefiSpec.h
> >+++ b/MdePkg/Include/Uefi/UefiSpec.h
> >@@ -82,6 +82,13 @@ typedef enum {
> > // If all memory has the same reliability, then this bit is not used.
> > //
> > #define EFI_MEMORY_MORE_RELIABLE    0x0000000000010000ULL
> >+
> >+//
> >+// Note: UEFI spec 2.8 and following:
> >+//
> >+#define EFI_MEMORY_SP               0x0000000000040000ULL
> >+#define EFI_MEMORY_CPU_CRYPTO       0x0000000000080000ULL
> >+
> > //
> > // Runtime memory attribute
> > //
> >--
> >2.17.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49628): https://edk2.groups.io/g/devel/message/49628
Mute This Topic: https://groups.io/mt/36927089/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MdePkg-UefiSpec.h-Add-UEFI-2.8-new-memory-attributes-V2.patch
Type: application/octet-stream
Size: 1788 bytes
Desc: 0001-MdePkg-UefiSpec.h-Add-UEFI-2.8-new-memory-attributes-V2.patch
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20191030/fa3463fe/attachment.obj>


More information about the edk2-devel-archive mailing list