]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Add a pcd to set the OS indications bit
authorBret Barkelew <Bret.Barkelew@microsoft.com>
Fri, 29 Mar 2019 05:47:25 +0000 (13:47 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Mon, 1 Jul 2019 06:59:20 +0000 (14:59 +0800)
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 to add the prompt and help string base on
the description in dec file.

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>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.uni

index dfccd600383a1c20b4e2b72ffe349d90109fdbba..12e0bbf57997020ce9bc367715e1ec6f22fdf274 100644 (file)
   # @Prompt Reset on memory type information change.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE|BOOLEAN|0x00010056\r
 \r
+  ## Indicates if the BDS supports Platform Recovery.<BR><BR>\r
+  #   TRUE  - BDS supports Platform Recovery.<BR>\r
+  #   FALSE - BDS does not support Platform Recovery.<BR>\r
+  # @Prompt Support Platform Recovery.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|BOOLEAN|0x00010078\r
+\r
   ## Specify the foreground color for Subtile text in HII Form Browser. The default value is EFI_BLUE.\r
   #  Only following values defined in UEFI specification are valid:<BR><BR>\r
   #  0x00 (EFI_BLACK)<BR>\r
index 06356407fb2ca5bf18c189b51fc4a110834a580f..2bd1ad29f26d0df4d38588950665b79a9e4bf721 100644 (file)
                                                                                                        "TRUE  - Resets system when memory type information changes.<BR>\n"\r
                                                                                                        "FALSE - Does not reset system when memory type information changes.<BR>"\r
 \r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdPlatformRecoverySupport_PROMPT  #language en-US "Support Platform Recovery"\r
+\r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdPlatformRecoverySupport_HELP  #language en-US "Indicates if the BDS supports Platform Recovery.<BR><BR>\n"\r
+                                                                                            "TRUE  - BDS supports Platform Recovery.<BR>\n"\r
+                                                                                            "FALSE - BDS does not support Platform Recovery.<BR>"\r
+\r
 #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdBrowserSubtitleTextColor_PROMPT  #language en-US "Foreground color for browser subtitle"\r
 \r
 #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdBrowserSubtitleTextColor_HELP  #language en-US "Specify the foreground color for Subtitle text in HII Form Browser. The default value is EFI_BLUE. Only following values defined in UEFI specification are valid:<BR><BR>\n"\r