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 B2E141A1E3E 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="1068346982" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.193.160]) by fmsmga002.fm.intel.com with ESMTP; 10 Oct 2016 00:19:03 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Date: Mon, 10 Oct 2016 15:18:55 +0800 Message-Id: <1476083939-15668-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH V2 0/4] Show test key info on front page 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:09 -0000 V2 version fixed the memory leak issue. It also removed the UINT64 definition and just use BOOLEAN to indicate if there is any test key used. We still let platform do the detection, because platform has full knowledge on if the test key is used and modified. We will work our BaseTool enhancement to let build tool detect if the test key is used and modifed to reduce platform enabling work. The platform BDS will be updated after BaseTool enhancement is done. Then we the detection work is moved to build phase. =================== This series patch supports to show the test key information on the front page. PcdTestKeyUsed is added to MdeModulePkg. 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. Jiewen Yao (4): MdeModulePkg/dec: Add PcdTestKeyUsed PCD. MdeModulePkg/UiApp: Show test key warning info in FrontPage. QuarkPlatformPkg/Bds: Produce PcdTestKeyUsed. Vlv2TbleDevicePkg/Bds: Produce PcdTestKeyUsed. MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c | 13 +++++++++++++ MdeModulePkg/Application/UiApp/FrontPageStrings.uni | 4 +++- MdeModulePkg/Application/UiApp/UiApp.inf | 3 ++- MdeModulePkg/MdeModulePkg.dec | 4 ++++ QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c | 2 ++ QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 2 ++ Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 2 ++ 8 files changed, 29 insertions(+), 2 deletions(-) -- 2.7.4.windows.1