diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2020-07-06 09:15:35 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-07-15 05:25:21 +0000 |
commit | 9a6c4ac68e3d9590cf17914e07e929a1f0e7c190 (patch) | |
tree | 5af87afeaf293a640431397c49d9efc739bb7f7d /MdePkg | |
parent | 133891b712a9ceda0fbdb9649b559773e4cdc6db (diff) | |
download | edk2-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.inf | 2 |
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
|