]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Add new PCD PcdInitValueInTempStack
authorLiming Gao <liming.gao@intel.com>
Thu, 2 Nov 2017 02:59:13 +0000 (10:59 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 3 Nov 2017 09:44:48 +0000 (17:44 +0800)
https://bugzilla.tianocore.org/show_bug.cgi?id=740

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.uni

index 20a07be96e5a983e10120d6099211a79f0e1bbca..6f46d595de913ca40eb5a71e5913582ce31892bb 100644 (file)
   # @Prompt Enable NULL address detection.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask|0x0|UINT8|0x30001050\r
 \r
+  ## Init Value in Temp Stack to be shared between SEC and PEI_CORE\r
+  # SEC fills the full temp stack with this values. When switch stack, PeiCore can check\r
+  # this value in the temp stack to know how many stack has been used.\r
+  # @Prompt Init Value in Temp Stack\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack|0x5AA55AA5|UINT32|0x30001051\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule]\r
   ## Dynamic type PCD can be registered callback function for Pcd setting action.\r
   #  PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function\r
index f8b31694ba81e7048a79cb08f08c6bb087f3738c..ce9de4897afba174685a678ca71d66f7d6ea3a4d 100644 (file)
                                                                                                        " exception caused by legacy memory (0-4095) access after EndOfDxe,"\r
                                                                                                        " such as Windows 7 boot on Qemu.\n"\r
 \r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdInitValueInTempStack_PROMPT  #language en-US "Init Value in Temp Stack"\r
+\r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdInitValueInTempStack_HELP    #language en-US "Init Value in Temp Stack to be shared between SEC and PEI_CORE\n"\r
+                                                                                           "SEC fills the full temp stack with this values. When switch stack, PeiCore can check\n"\r
+                                                                                           "this value in the temp stack to know how many stack has been used.\n"\r
+\r