summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-07-06 09:15:35 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-15 05:25:21 +0000
commit9a6c4ac68e3d9590cf17914e07e929a1f0e7c190 (patch)
tree5af87afeaf293a640431397c49d9efc739bb7f7d /MdePkg
parent133891b712a9ceda0fbdb9649b559773e4cdc6db (diff)
downloadedk2-9a6c4ac68e3d9590cf17914e07e929a1f0e7c190.tar.gz
edk2-9a6c4ac68e3d9590cf17914e07e929a1f0e7c190.tar.bz2
edk2-9a6c4ac68e3d9590cf17914e07e929a1f0e7c190.zip
MdePkg/Library/BaseStackCheckLib: Fix PCD type in INF
Update INF file to use a [Pcd] section instead of a [FixedPcd] section. [FixedPcd] should only be used in an INF file if the source code looks up the PCD value using the PcdLib FixedPcdGetxx() services. Using [FixedPcd] forces a platform to configure the PCD to type FixedAtBuild. In this case, PcdDebugPropertyMask supports PCD types FixedAtBuild and PatchableInModule. Without this change any platform that wants to use PcdDebugPropertyMask as type PatchableInModule breaks the build. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
index 4ae3bd1a82..0dc3c4a83a 100644
--- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
+++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
@@ -36,5 +36,5 @@
BaseLib
DebugLib
-[FixedPcd]
+[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES