summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2025-01-29 11:01:04 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-02-07 02:23:11 +0000
commitefbf5ed08c48478b51bb6b6da5670b1312755854 (patch)
treec8ce7edc440fd741346704dd9b6873722451c78c /ArmPlatformPkg
parentdb03bf1d9dd7741571fbd9ad597add36ef4250d5 (diff)
downloadedk2-efbf5ed08c48478b51bb6b6da5670b1312755854.tar.gz
MdePkg: Move StackCheckLibStaticInit to StackCheckLib
This commit oves StackCheckLib from a NULL lib to an instance of StackCheckLib. This requires every entry point to add a library dependency on StackCheckLib. It also requires every SEC module to have a dependency on StackCheckLib because there is no standard SEC entry point. It allows for greater flexibility for a platform to apply stack cookies and simplifies DSC logic. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/PeilessSec/PeilessSec.inf1
-rw-r--r--ArmPlatformPkg/Sec/Sec.inf1
2 files changed, 2 insertions, 0 deletions
diff --git a/ArmPlatformPkg/PeilessSec/PeilessSec.inf b/ArmPlatformPkg/PeilessSec/PeilessSec.inf
index 7ceeb74f69..7f67adfa71 100644
--- a/ArmPlatformPkg/PeilessSec/PeilessSec.inf
+++ b/ArmPlatformPkg/PeilessSec/PeilessSec.inf
@@ -51,6 +51,7 @@
PrintLib
SerialPortLib
TimerLib
+ StackCheckLib
[Ppis]
gArmMpCoreInfoPpiGuid
diff --git a/ArmPlatformPkg/Sec/Sec.inf b/ArmPlatformPkg/Sec/Sec.inf
index 58a566f5f0..b5af19e7a4 100644
--- a/ArmPlatformPkg/Sec/Sec.inf
+++ b/ArmPlatformPkg/Sec/Sec.inf
@@ -47,6 +47,7 @@
DebugLib
PrintLib
SerialPortLib
+ StackCheckLib
[Ppis]
gEfiTemporaryRamSupportPpiGuid