diff options
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 6 | ||||
-rw-r--r-- | MdeModulePkg/MdeModulePkg.uni | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 20a07be96e..6f46d595de 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -883,6 +883,12 @@ # @Prompt Enable NULL address detection.
gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask|0x0|UINT8|0x30001050
+ ## Init Value in Temp Stack to be shared between SEC and PEI_CORE
+ # SEC fills the full temp stack with this values. When switch stack, PeiCore can check
+ # this value in the temp stack to know how many stack has been used.
+ # @Prompt Init Value in Temp Stack
+ gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack|0x5AA55AA5|UINT32|0x30001051
+
[PcdsFixedAtBuild, PcdsPatchableInModule]
## Dynamic type PCD can be registered callback function for Pcd setting action.
# PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function
diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index f8b31694ba..ce9de4897a 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -1140,3 +1140,9 @@ " exception caused by legacy memory (0-4095) access after EndOfDxe,"
" such as Windows 7 boot on Qemu.\n"
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdInitValueInTempStack_PROMPT #language en-US "Init Value in Temp Stack"
+
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdInitValueInTempStack_HELP #language en-US "Init Value in Temp Stack to be shared between SEC and PEI_CORE\n"
+ "SEC fills the full temp stack with this values. When switch stack, PeiCore can check\n"
+ "this value in the temp stack to know how many stack has been used.\n"
+
|