]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 29 Aug 2011 22:16:50 +0000 (22:16 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 29 Aug 2011 22:16:50 +0000 (22:16 +0000)
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

IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
MdeModulePkg/MdeModulePkg.dec

index ca76951822e02fab9349bee406f5a64b465d411a..316b1f9039a93595b2fdaa8b3add33997603c862 100644 (file)
   ## The value should be a multiple of 4KB.\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x8000|UINT32|0x30000005\r
 \r
+  ## The PCD is used to specify memory size with page number for a pre-allocated ACPI NVS memory to be used\r
+  #  by PEI in S3 phase. The default size 32K. When changing the value of this PCD, the platform\r
+  #  developer should make sure the memory size is large enough to meet PEI requiremnt in S3 phase.\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x8000|UINT32|0x30000006\r
+\r
+  ## The PCD is used to specify memory size for boot script executor stack usage in S3 phase.\r
+  #  The default size 32K. When changing the value of this PCD, the platform developer should\r
+  #  make sure the memory size is large enough to meet boot script executor requiremnt in S3 phase.\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize|0x8000|UINT32|0x30000007\r
+\r
+\r
index cb7155eaf9a044e47314eebd558f91e24b3268fd..5207fb4903115a6ad4537be0300b85eab80fb272 100644 (file)
   ## Time in second to delay for SATA devices to spin-up for recovery.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSataSpinUpDelayInSecForRecoveryPath|15|UINT16|0x0001005B\r
 \r
+  ## The PCD is used to specify memory size with page number for a pre-allocated ACPI NVS memory to hold\r
+  #  runtime created S3 boot script entries. The default page number is 2. When changing the value of this\r
+  #  PCD, the platform developer should make sure the memory size is large enough to hold the S3 boot\r
+  #  script node created in runtime phase.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber|0x2|UINT16|0x0001005C\r
+\r
 [PcdsPatchableInModule]\r
   ## Specify  memory size with page number for PEI code when \r
   #  the feature of Loading Module at Fixed Address is enabled\r
   #  the feature of Loading Module at Fixed Address is enabled\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c\r
 \r
+[PcdsDynamic, PcdsDynamicEx]\r
+  ## This dynamic PCD hold an address to point to private data structure used in DxeS3BootScriptLib library\r
+  #  instance which records the S3 boot script table start address, length, etc. To introduce this PCD is\r
+  #  only for DxeS3BootScriptLib instance implementation purpose. The platform developer should make sure the\r
+  #  default value is set to Zero. And the PCD is assumed ONLY to be accessed in DxeS3BootScriptLib Library.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0|UINT64|0x00030000\r
+\r