MdeModulePkg: Introduce new PCD PcdAcpiS3Enable

Platform can configure the PCD statically or dynamically
to control if ACPI S3 will be enabled.
S3 related modules can consume the PCD to control the code.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Star Zeng
2016-04-07 18:19:22 +08:00
committed by Laszlo Ersek
parent 31583f9a8b
commit 11a291a4d2
2 changed files with 12 additions and 0 deletions

View File

@ -1504,6 +1504,12 @@
# @Prompt Mmio base address of pci-based SD/MMC host controller.
gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcPciHostControllerMmioBase|0xd0000000|UINT32|0x30001043
## Indicates if ACPI S3 will be enabled.<BR><BR>
# TRUE - ACPI S3 will be enabled.<BR>
# FALSE - ACPI S3 will be disabled.<BR>
# @Prompt ACPI S3 Enable.
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|TRUE|BOOLEAN|0x01100000
[PcdsPatchableInModule]
## Specify memory size with page number for PEI code when
# Loading Module at Fixed Address feature is enabled.