audk/MdeModulePkg
Sunny Wang b15646484e MdeModulePkg/BdsDxe: Fix PlatformRecovery issue
For now, PlatformRecovery doesn't work if OsIndications variable
doesn't exist, which is wrong.
According to the UEFI specification section 3.4.1 and 3.4.2, if
processing of BootOrder does not result in success, the OsRecovery
and PlatformRecovery options should still be processed regardless of
the existence of the OsIndications variable.
Therefore, update the code to check PcdPlatformRecoverySupport instead
of the value of OsIndications variable (PlatformRecovery) to fix
this issue.

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: Zhichao Gao <zhichao.gao@intel.com>
Cc: Walon Li <walon.li@hpe.com>
Signed-off-by: Sunny Wang <sunnywang@hpe.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Acked-by: Jian J Wang <jian.j.wang@intel.com>
2019-10-30 13:34:07 +08:00
..
Application MdeModulePkg: strip trailing whitespace 2019-10-04 11:18:32 +01:00
Bus MdeModulePkg/NvmExpressPei: Fix Opal S3 unlock issue 2019-10-30 08:17:49 +08:00
Core MdeModulePkg/PiSmmCore: Fix typo in function name 2019-10-17 09:09:02 +08:00
Include NetworkPkg: Move network related header files from MdeModulePkg to NetworkPkg 2019-10-08 09:20:32 +08:00
Library MdeModulePkg LzmaCustomDecompressLib: Update macro to be same in CLANG tool 2019-10-24 09:41:32 +08:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg/BdsDxe: Fix PlatformRecovery issue 2019-10-30 13:34:07 +08:00
MdeModulePkg.dec MdeModulePkg: Update to support SmBios 3.3.0 2019-10-17 11:43:47 +08:00
MdeModulePkg.dsc MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull 2019-08-05 10:09:01 +08:00
MdeModulePkg.uni MdeModulePkg: Remove PCD gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize 2019-10-08 09:20:34 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00