audk/MdeModulePkg
Chasel Chiu ed9db1b91c MdeModulePkg: Enable/Disable S3BootScript dynamically.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2212

In binary model the same binary may have to support both
S3 enabled and disabled scenarios, however not all DXE
drivers linking PiDxeS3BootScriptLib can return error to
invoke library DESTRUCTOR for releasing resource.

To support this usage model below PCD is used to skip
S3BootScript functions when PCD set to FALSE:
  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable

Test: Verified on internal platform and S3BootScript
      functions can be skipped by PCD during boot time.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2019-10-01 08:14:45 +08:00
..
Application MdeModulePkg/CapsuleApp: Improve comparisons in CapsuleOnDisk.c 2019-08-15 09:10:13 +08:00
Bus MdeModulePkg/ScsiDiskDxe: Support Storage Security Command Protocol 2019-09-29 16:43:46 +08:00
Core MdeModulePkg DxeCore: Fix for missing Memory Attributes Table (MAT) update 2019-08-20 19:53:31 +08:00
Include MdeModulePkg: Extend the support keyboard type of Terminal console 2019-09-24 21:56:46 +08:00
Library MdeModulePkg: Enable/Disable S3BootScript dynamically. 2019-10-01 08:14:45 +08:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg/TerminalDxe: Enhance the arrow keys support 2019-09-27 15:49:29 +08:00
MdeModulePkg.dec MdeModulePkg: Extend the support keyboard type of Terminal console 2019-09-24 21:56:46 +08:00
MdeModulePkg.dsc MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull 2019-08-05 10:09:01 +08:00
MdeModulePkg.uni MdeModulePkg: Remove PcdRealTimeClockUpdateTimeout 2019-09-04 02:06:25 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00