From nobody Tue Feb 10 13:01:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42567+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42567+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1560913829; cv=none; d=zoho.com; s=zohoarc; b=fHiKcQrzJX2clRxIMFPEbwbUal048AaIwKpYclyn+gcb+ZF0x9rr13D3kSv3dTzu3qHc0JfpmobRejqk+BtQtOdkOWvjgsTjkbhAK+vNIvj542xRZms9OwyNj+ttWV/i6ewAxIzmq200fqqTY/X3XYC59WMw9Ldbx7cyEZBifx4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560913829; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=+cnjD0VL/W5bV58BVEugvnBXYz7buaKDajXpZZA8cMg=; b=hUbYJI8pv0opvrHXXMzFb5973t0gQlo70FzzsG3CdAspIzPZ+OPODw/67wybKz2/vF6OB9NRL/ZXpINwaQTZTWnZnbhUA1sb74nIUBTLcNTh0lt3NBUJycLlTCk4ZKIwbXRkbqNKeJ5pTyUOgTjwauzLNrRKQJv4s4o8dx1bA1o= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42567+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1560913829550544.7675986377827; Tue, 18 Jun 2019 20:10:29 -0700 (PDT) Return-Path: X-Received: from mga03.intel.com (mga03.intel.com []) by groups.io with SMTP; Tue, 18 Jun 2019 20:10:28 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2019 20:10:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,391,1557212400"; d="scan'208";a="181536375" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 18 Jun 2019 20:10:25 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Bret Barkelew , Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Sean Brogan , Michael Turner Subject: [edk2-devel] [PATCH V4 1/2] MdeModulePkg: Add a pcd to set the OS indications bit Date: Wed, 19 Jun 2019 11:10:22 +0800 Message-Id: <20190619031023.10820-2-zhichao.gao@intel.com> In-Reply-To: <20190619031023.10820-1-zhichao.gao@intel.com> References: <20190619031023.10820-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1560913829; bh=trLat4Od4bSVvTvziYrV9LgDYV8EH7XmtdZ9T1PbIDQ=; h=Cc:Date:From:Reply-To:Subject:To; b=A9jPqNUjMFNdMBDIr5YSn/5elp6zQXeO0jHceQ9P5xvCEDDnqr+caFUXzSWoD/HXT1B O7Y9FGqWz5qPLdZ8I9QjxxeWTYVqhRL0AgEAxWn7nGCbTMLo8Ep6nHxwQmsbRnq5NowyW W6zYnNye4va3tvr5y9UxQEC0Xepz6oCgoww= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1678 Add a pcd PcdPlatformRecoverySupport to conditionally set an OS indications bit and set the 'PlatformRecovery####' variable. This pcd would also control whether the BDS support platform recovery or not. Update the uni file for description of the pcd. 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 Signed-off-by: Zhichao Gao Reviewed-by: Ray Ni --- MdeModulePkg/MdeModulePkg.dec | 6 ++++++ MdeModulePkg/MdeModulePkg.uni | 2 ++ 2 files changed, 8 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 0a9fcddecc..da2b85770c 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1660,6 +1660,12 @@ # @Prompt Reset on memory type information change. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRU= E|BOOLEAN|0x00010056 =20 + ## Indicates if the BDS supports Platform Recovery.

+ # TRUE - BDS supports Platform Recovery.
+ # FALSE - BDS does not support Platform Recovery.
+ # @Prompt Support Platform Recovery. + gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|BOOLEAN|0= x00010078 + ## Specify the foreground color for Subtile text in HII Form Browser. Th= e default value is EFI_BLUE. # Only following values defined in UEFI specification are valid:

# 0x00 (EFI_BLACK)
diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index ed8ac9eadc..a265452eba 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -441,6 +441,8 @@ =20 #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformation= Change_PROMPT #language en-US "Reset on memory type information change" =20 +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformation= Change #language en-US "Indicate the system support platform recovery or n= ot" + #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformation= Change_HELP #language en-US "Indicates if to reset system when memory type= information changes.

\n" = "TRUE - Resets system when memory type inform= ation changes.
\n" = "FALSE - Does not reset system when memory typ= e information changes.
" --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42567): https://edk2.groups.io/g/devel/message/42567 Mute This Topic: https://groups.io/mt/32119455/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-