https://bugzilla.tianocore.org/show_bug.cgi?id=740
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
MdeModulePkg/MdeModulePkg.dec | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 20a07be96e..b69dd24ce5 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 <BR><BR>
+ # 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
--
2.11.0.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
The MdeModulePkg.uni also needs to be updated for this new PCD, right? Thanks, Star -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Liming Gao Sent: Thursday, November 2, 2017 10:59 AM To: edk2-devel@lists.01.org Subject: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD PcdInitValueInTempStack https://bugzilla.tianocore.org/show_bug.cgi?id=740 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 20a07be96e..b69dd24ce5 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 <BR><BR> + # 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 -- 2.11.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
Yes. Thanks for your reminder. I will add it into MdeModulePkg.uni. >-----Original Message----- >From: Zeng, Star >Sent: Friday, November 03, 2017 9:15 AM >To: Gao, Liming <liming.gao@intel.com>; edk2-devel@lists.01.org >Cc: Zeng, Star <star.zeng@intel.com> >Subject: RE: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD >PcdInitValueInTempStack > >The MdeModulePkg.uni also needs to be updated for this new PCD, right? > > >Thanks, >Star >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Liming Gao >Sent: Thursday, November 2, 2017 10:59 AM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD >PcdInitValueInTempStack > >https://bugzilla.tianocore.org/show_bug.cgi?id=740 > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Liming Gao <liming.gao@intel.com> >--- > MdeModulePkg/MdeModulePkg.dec | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/MdeModulePkg/MdeModulePkg.dec >b/MdeModulePkg/MdeModulePkg.dec >index 20a07be96e..b69dd24ce5 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 ><BR><BR> >+ # 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 >-- >2.11.0.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
With that added, Reviewed-by: Star Zeng <star.zeng@intel.com> to this patch series. Thanks, Star -----Original Message----- From: Gao, Liming Sent: Friday, November 3, 2017 3:24 PM To: Zeng, Star <star.zeng@intel.com>; edk2-devel@lists.01.org Subject: RE: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD PcdInitValueInTempStack Yes. Thanks for your reminder. I will add it into MdeModulePkg.uni. >-----Original Message----- >From: Zeng, Star >Sent: Friday, November 03, 2017 9:15 AM >To: Gao, Liming <liming.gao@intel.com>; edk2-devel@lists.01.org >Cc: Zeng, Star <star.zeng@intel.com> >Subject: RE: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD >PcdInitValueInTempStack > >The MdeModulePkg.uni also needs to be updated for this new PCD, right? > > >Thanks, >Star >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Liming Gao >Sent: Thursday, November 2, 2017 10:59 AM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch 1/3] MdeModulePkg: Add new PCD >PcdInitValueInTempStack > >https://bugzilla.tianocore.org/show_bug.cgi?id=740 > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Liming Gao <liming.gao@intel.com> >--- > MdeModulePkg/MdeModulePkg.dec | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/MdeModulePkg/MdeModulePkg.dec >b/MdeModulePkg/MdeModulePkg.dec index 20a07be96e..b69dd24ce5 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 ><BR><BR> >+ # 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 >-- >2.11.0.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
© 2016 - 2024 Red Hat, Inc.