mirror of https://github.com/acidanthera/audk.git
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:
parent
31583f9a8b
commit
11a291a4d2
|
@ -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.
|
||||
|
|
|
@ -325,6 +325,12 @@
|
|||
"TRUE - to set NX for stack.<BR>"
|
||||
"FALSE - Not to set NX for stack.<BR>"
|
||||
|
||||
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdAcpiS3Enable_PROMPT #language en-US "ACPI S3 Enable"
|
||||
|
||||
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdAcpiS3Enable_HELP #language en-US "Indicates if ACPI S3 will be enabled.<BR><BR>"
|
||||
"TRUE - ACPI S3 will be enabled.<BR>"
|
||||
"FALSE - ACPI S3 will be disabled.<BR>"
|
||||
|
||||
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVarCheckVfrDriverGuidArray_PROMPT #language en-US "Driver guid array of VFR drivers for VarCheckHiiBin generation"
|
||||
|
||||
#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVarCheckVfrDriverGuidArray_HELP #language en-US "This PCD to include the driver guid of VFR drivers for VarCheckHiiBin generation.<BR><BR>"
|
||||
|
|
Loading…
Reference in New Issue