From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E81011A1E3E for ; Mon, 10 Oct 2016 00:19:09 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 10 Oct 2016 00:19:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,471,1473145200"; d="scan'208";a="1068347014" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.193.160]) by fmsmga002.fm.intel.com with ESMTP; 10 Oct 2016 00:19:04 -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: Mon, 10 Oct 2016 15:18:56 +0800 Message-Id: <1476083939-15668-2-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 In-Reply-To: <1476083939-15668-1-git-send-email-jiewen.yao@intel.com> References: <1476083939-15668-1-git-send-email-jiewen.yao@intel.com> Subject: [PATCH V2 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: Mon, 10 Oct 2016 07:19:10 -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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 76b4e1b..e13e97c 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1703,6 +1703,10 @@ # @ValidList 0x80000001 | 0x0 gEfiMdeModulePkgTokenSpaceGuid.PcdIdentifyMappingPageTablePtr|0x0|UINT64|0x00030002 + ## This dynamic PCD holds the information if there is any test key used by the platform. + # @Prompt If there is any test key used by the platform. + gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE|BOOLEAN|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