diff options
author | Star Zeng <star.zeng@intel.com> | 2016-04-07 18:19:22 +0800 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-04-07 17:30:06 +0200 |
commit | 11a291a4d2794e1c6e27613f8e3f0ef1af4c8506 (patch) | |
tree | 98becb887e6fc2857cd751adc5a0fc29f6bbc0d0 /MdeModulePkg/MdeModulePkg.dec | |
parent | 31583f9a8b3e9f47bf57793ccf9906decbf435a0 (diff) | |
download | edk2-platforms-11a291a4d2794e1c6e27613f8e3f0ef1af4c8506.tar.xz |
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>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index aa9e8066d8..f57e5c5917 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -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.
|