]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
MdePkg/Library/BaseStackCheckLib: Fix PCD type in INF
authorMichael D Kinney <michael.d.kinney@intel.com>
Mon, 6 Jul 2020 16:15:35 +0000 (09:15 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Jul 2020 05:25:21 +0000 (05:25 +0000)
commit9a6c4ac68e3d9590cf17914e07e929a1f0e7c190
tree5af87afeaf293a640431397c49d9efc739bb7f7d
parent133891b712a9ceda0fbdb9649b559773e4cdc6db
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>
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf