From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.4783.1572398235413807485 for ; Tue, 29 Oct 2019 18:17:15 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 18:17:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,245,1569308400"; d="scan'208";a="205646223" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 29 Oct 2019 18:17:14 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 29 Oct 2019 18:17:14 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 29 Oct 2019 18:17:14 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.248]) with mapi id 14.03.0439.000; Wed, 30 Oct 2019 09:17:13 +0800 From: "Liming Gao" To: "Huang, Qing" , "devel@edk2.groups.io" Subject: Re: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes Thread-Topic: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes Thread-Index: AQHVihOQLh4EGZRWx029R7/8rFQmladya1VA Date: Wed, 30 Oct 2019 01:17:12 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E5344FD@SHSMSX104.ccr.corp.intel.com> References: <20191024023415.6344-1-qing.huang@intel.com> In-Reply-To: <20191024023415.6344-1-qing.huang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Huang, Qing >Sent: Thursday, October 24, 2019 10:34 AM >To: devel@edk2.groups.io >Cc: Gao, Liming >Subject: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes > >BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2309 >Add EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO definition into UEFI >specification header file. > >Signed-off-by: Qing Huang >Cc: Liming Gao >--- > 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