From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1073B1A1E2F for ; Sun, 9 Oct 2016 04:58:45 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP; 09 Oct 2016 04:58:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,466,1473145200"; d="scan'208";a="17748809" Received: from jyao1-mobl.ccr.corp.intel.com ([10.254.214.127]) by fmsmga005.fm.intel.com with ESMTP; 09 Oct 2016 04:58:41 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Eric Dong , Ruiyu Ni , Feng Tian , Star Zeng , Michael D Kinney , Liming Gao Date: Sun, 9 Oct 2016 19:58:30 +0800 Message-Id: <1476014313-11992-2-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 In-Reply-To: <1476014313-11992-1-git-send-email-jiewen.yao@intel.com> References: <1476014313-11992-1-git-send-email-jiewen.yao@intel.com> Subject: [PATCH 1/4] MdeModulePkg/dec: Add PcdTestKeyUsed PCD. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2016 11:58:45 -0000 This PCD can be set by platform to indicate if there is any test key used in current BIOS, such as recovery key, or capsule update key. Then the generic UI may consume this PCD to show warning information. Other platform driver may also consume this PCD to know such info, and report it via platform specific way. Cc: Eric Dong Cc: Ruiyu Ni Cc: Feng Tian Cc: Star Zeng Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- MdeModulePkg/MdeModulePkg.dec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 76b4e1b..ebb207a 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1703,6 +1703,17 @@ # @ValidList 0x80000001 | 0x0 gEfiMdeModulePkgTokenSpaceGuid.PcdIdentifyMappingPageTablePtr|0x0|UINT64|0x00030002 + ## This dynamic PCD holds the bit mask of any test key used by the platform. + # BIT 0 - 1: Test Key is used for recovery.
+ # 0: Test Key is not used for recovery.
+ # BIT 1 - 1: Test Key used for system firmware update.
+ # 0: Test Key is not used for system firmware update.
+ # BIT 2 ~ 31 Reserved for future use. + # BIT (32+X) - 1: The BIT-X data is valid.
+ # 0: The BIT-X data is invalid.
+ # @Prompt The bit mask of any test key used by the platform. + gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|0x0000000000000000|UINT64|0x00030003 + [PcdsDynamicEx] ## This dynamic PCD hold the FMP capsule monotonic count value for current # system firmware. It is used to ensure freshness/no replay on firmware update. -- 2.7.4.windows.1