diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-29 22:16:50 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-29 22:16:50 +0000 |
commit | 88d20adc90e556245b375507ef920997dce5e186 (patch) | |
tree | b3d9a5107c990b9373208bdb10fee4084a83cde1 | |
parent | fe69ac847a984abf0307ae8706dcabbb928a5a48 (diff) | |
download | edk2-platforms-88d20adc90e556245b375507ef920997dce5e186.tar.xz |
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec | 11 | ||||
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec index ca76951822..316b1f9039 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec @@ -145,3 +145,14 @@ ## The value should be a multiple of 4KB.
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x8000|UINT32|0x30000005
+ ## The PCD is used to specify memory size with page number for a pre-allocated ACPI NVS memory to be used
+ # by PEI in S3 phase. The default size 32K. When changing the value of this PCD, the platform
+ # developer should make sure the memory size is large enough to meet PEI requiremnt in S3 phase.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x8000|UINT32|0x30000006
+
+ ## The PCD is used to specify memory size for boot script executor stack usage in S3 phase.
+ # The default size 32K. When changing the value of this PCD, the platform developer should
+ # make sure the memory size is large enough to meet boot script executor requiremnt in S3 phase.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize|0x8000|UINT32|0x30000007
+
+
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index cb7155eaf9..5207fb4903 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -716,6 +716,12 @@ ## Time in second to delay for SATA devices to spin-up for recovery.
gEfiMdeModulePkgTokenSpaceGuid.PcdSataSpinUpDelayInSecForRecoveryPath|15|UINT16|0x0001005B
+ ## The PCD is used to specify memory size with page number for a pre-allocated ACPI NVS memory to hold
+ # runtime created S3 boot script entries. The default page number is 2. When changing the value of this
+ # PCD, the platform developer should make sure the memory size is large enough to hold the S3 boot
+ # script node created in runtime phase.
+ gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber|0x2|UINT16|0x0001005C
+
[PcdsPatchableInModule]
## Specify memory size with page number for PEI code when
# the feature of Loading Module at Fixed Address is enabled
@@ -733,3 +739,10 @@ # the feature of Loading Module at Fixed Address is enabled
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c
+[PcdsDynamic, PcdsDynamicEx]
+ ## This dynamic PCD hold an address to point to private data structure used in DxeS3BootScriptLib library
+ # instance which records the S3 boot script table start address, length, etc. To introduce this PCD is
+ # only for DxeS3BootScriptLib instance implementation purpose. The platform developer should make sure the
+ # default value is set to Zero. And the PCD is assumed ONLY to be accessed in DxeS3BootScriptLib Library.
+ gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0|UINT64|0x00030000
+
|