From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: zhichao.gao@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Sun, 02 Jun 2019 23:44:04 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jun 2019 23:44:03 -0700 X-ExtLoop1: 1 Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga005.jf.intel.com with ESMTP; 02 Jun 2019 23:44:01 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Sean Brogan , Michael Turner , Bret Barkelew Subject: [PATCH 0/2] Use a pcd to control Platform Recovery behavior Date: Mon, 3 Jun 2019 14:43:56 +0800 Message-Id: <20190603064358.13296-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit V1: Add a pcd PcdPlatformRecoverySupport to control the variable PlatformRecovery#### and the EFI_OS_INDICATIONS_START_PLATFORM_RECOVERY bit of variable "OsIndicationsSupported". V2: While PcdPlatformRecoverySupport is FALSE, do not set a PlatformRecovery#### Variable. But remain boot from a default file path(such as \EFI\BOOT\BOOTX64.EFI). Add memory check before build platform default boot option. Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Bret Barkelew (1): MdeModulePkg: Add a pcd to set the OS indications bit Zhichao Gao (1): MdeModulePkg/BdsDxe: Use a pcd to control PlatformRecovery MdeModulePkg/MdeModulePkg.dec | 6 ++ MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 3 +- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 89 ++++++++++++++---------- 3 files changed, 61 insertions(+), 37 deletions(-) -- 2.21.0.windows.1