From: Bret Barkelew <Bret.Barkelew@microsoft.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1678
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 <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
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|TRUE|BOOLEAN|0x00010056
+ ## Indicates if the BDS supports Platform Recovery.<BR><BR>
+ # TRUE - BDS supports Platform Recovery.<BR>
+ # FALSE - BDS does not support Platform Recovery.<BR>
+ # @Prompt Support Platform Recovery.
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|BOOLEAN|0x00010078
+
## Specify the foreground color for Subtile text in HII Form Browser. The default value is EFI_BLUE.
# Only following values defined in UEFI specification are valid:<BR><BR>
# 0x00 (EFI_BLACK)<BR>
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 @@
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformationChange_PROMPT #language en-US "Reset on memory type information change"
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformationChange #language en-US "Indicate the system support platform recovery or not"
+
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformationChange_HELP #language en-US "Indicates if to reset system when memory type information changes.<BR><BR>\n"
"TRUE - Resets system when memory type information changes.<BR>\n"
"FALSE - Does not reset system when memory type information changes.<BR>"
--
2.21.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Ray Ni <ray.ni@intel.com> > -----Original Message----- > From: Gao, Zhichao > Sent: Wednesday, June 19, 2019 11:10 AM > To: devel@edk2.groups.io > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>; Wang, Jian J > <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Ni, Ray > <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>; Gao, Liming > <liming.gao@intel.com>; Sean Brogan <sean.brogan@microsoft.com>; > Michael Turner <Michael.Turner@microsoft.com> > Subject: [PATCH V4 1/2] MdeModulePkg: Add a pcd to set the OS indications > bit > > From: Bret Barkelew <Bret.Barkelew@microsoft.com> > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1678 > > 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 <jian.j.wang@intel.com> > Cc: Hao Wu <hao.a.wu@intel.com> > Cc: Ray Ni <ray.ni@intel.com> > Cc: Star Zeng <star.zeng@intel.com> > Cc: Liming Gao <liming.gao@intel.com> > Cc: Sean Brogan <sean.brogan@microsoft.com> > Cc: Michael Turner <Michael.Turner@microsoft.com> > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> > Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> > --- > 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.PcdResetOnMemoryTypeInformationCh > ange|TRUE|BOOLEAN|0x00010056 > > + ## Indicates if the BDS supports Platform Recovery.<BR><BR> > + # TRUE - BDS supports Platform Recovery.<BR> > + # FALSE - BDS does not support Platform Recovery.<BR> > + # @Prompt Support Platform Recovery. > + > + > gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|BO > OLEAN > + |0x00010078 > + > ## Specify the foreground color for Subtile text in HII Form Browser. The > default value is EFI_BLUE. > # Only following values defined in UEFI specification are valid:<BR><BR> > # 0x00 (EFI_BLACK)<BR> > 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 @@ > > #string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformati > onChange_PROMPT #language en-US "Reset on memory type information > change" > > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformati > onChange #language en-US "Indicate the system support platform recovery > or not" > + > #string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInformati > onChange_HELP #language en-US "Indicates if to reset system when > memory type information changes.<BR><BR>\n" > "TRUE - Resets > system when memory type information changes.<BR>\n" > "FALSE - Does not > reset system when memory type information changes.<BR>" > -- > 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42570): https://edk2.groups.io/g/devel/message/42570 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] -=-=-=-=-=-=-=-=-=-=-=-
I am so sorry for my mistake. There are still ECC errors in the change of uni file. The additional string should be STR_gEfiMdeModulePkgTokenSpaceGuid_PcdPlatformRecoverySupport_PROMPT STR_gEfiMdeModulePkgTokenSpaceGuid_PcdPlatformRecoverySupport_HELP I would update the patch. Thanks, Zhichao > -----Original Message----- > From: Ni, Ray > Sent: Wednesday, June 19, 2019 1:06 PM > To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>; Wang, Jian J > <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Zeng, Star > <star.zeng@intel.com>; Gao, Liming <liming.gao@intel.com>; Sean Brogan > <sean.brogan@microsoft.com>; Michael Turner > <Michael.Turner@microsoft.com> > Subject: RE: [PATCH V4 1/2] MdeModulePkg: Add a pcd to set the OS > indications bit > > Reviewed-by: Ray Ni <ray.ni@intel.com> > > > -----Original Message----- > > From: Gao, Zhichao > > Sent: Wednesday, June 19, 2019 11:10 AM > > To: devel@edk2.groups.io > > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>; Wang, Jian J > > <jian.j.wang@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Ni, Ray > > <ray.ni@intel.com>; Zeng, Star <star.zeng@intel.com>; Gao, Liming > > <liming.gao@intel.com>; Sean Brogan <sean.brogan@microsoft.com>; > > Michael Turner <Michael.Turner@microsoft.com> > > Subject: [PATCH V4 1/2] MdeModulePkg: Add a pcd to set the OS > > indications bit > > > > From: Bret Barkelew <Bret.Barkelew@microsoft.com> > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1678 > > > > 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 <jian.j.wang@intel.com> > > Cc: Hao Wu <hao.a.wu@intel.com> > > Cc: Ray Ni <ray.ni@intel.com> > > Cc: Star Zeng <star.zeng@intel.com> > > Cc: Liming Gao <liming.gao@intel.com> > > Cc: Sean Brogan <sean.brogan@microsoft.com> > > Cc: Michael Turner <Michael.Turner@microsoft.com> > > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> > > Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> > > --- > > 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.PcdResetOnMemoryTypeInformationC > h > > ange|TRUE|BOOLEAN|0x00010056 > > > > + ## Indicates if the BDS supports Platform Recovery.<BR><BR> > > + # TRUE - BDS supports Platform Recovery.<BR> > > + # FALSE - BDS does not support Platform Recovery.<BR> > > + # @Prompt Support Platform Recovery. > > + > > + > > > gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|B > O > > OLEAN > > + |0x00010078 > > + > > ## Specify the foreground color for Subtile text in HII Form > > Browser. The default value is EFI_BLUE. > > # Only following values defined in UEFI specification are valid:<BR><BR> > > # 0x00 (EFI_BLACK)<BR> > > 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 @@ > > > > #string > > > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInforma > ti > > onChange_PROMPT #language en-US "Reset on memory type information > > change" > > > > +#string > > > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInforma > ti > > onChange #language en-US "Indicate the system support platform > > recovery or not" > > + > > #string > > > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdResetOnMemoryTypeInforma > ti > > onChange_HELP #language en-US "Indicates if to reset system when > > memory type information changes.<BR><BR>\n" > > > > "TRUE - Resets system when memory type information changes.<BR>\n" > > > > "FALSE - Does not reset system when memory type information > changes.<BR>" > > -- > > 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42618): https://edk2.groups.io/g/devel/message/42618 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] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2026 Red Hat, Inc.