From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web12.1380.1571884459886094844 for ; Wed, 23 Oct 2019 19:34:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: qing.huang@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 19:34:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,222,1569308400"; d="scan'208";a="196968980" Received: from shwdecpdbios079.ccr.corp.intel.com ([10.239.17.115]) by fmsmga008.fm.intel.com with ESMTP; 23 Oct 2019 19:34:18 -0700 From: Qing Huang To: devel@edk2.groups.io Cc: Liming Gao Subject: [PATCH] MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes Date: Thu, 24 Oct 2019 10:34:15 +0800 Message-Id: <20191024023415.6344-1-qing.huang@intel.com> X-Mailer: git-send-email 2.17.0.windows.1 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 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