diff options
author | Oliver Smith-Denny <osde@microsoft.com> | 2025-01-29 11:01:04 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-02-07 02:23:11 +0000 |
commit | efbf5ed08c48478b51bb6b6da5670b1312755854 (patch) | |
tree | c8ce7edc440fd741346704dd9b6873722451c78c /UefiCpuPkg | |
parent | db03bf1d9dd7741571fbd9ad597add36ef4250d5 (diff) | |
download | edk2-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 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/SecCore/SecCore.inf | 1 | ||||
-rw-r--r-- | UefiCpuPkg/SecCore/SecCoreNative.inf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf index 20a2ccef0b..94966f4edf 100644 --- a/UefiCpuPkg/SecCore/SecCore.inf +++ b/UefiCpuPkg/SecCore/SecCore.inf @@ -56,6 +56,7 @@ PeiServicesTablePointerLib
HobLib
CpuPageTableLib
+ StackCheckLib
[Ppis]
## SOMETIMES_CONSUMES
diff --git a/UefiCpuPkg/SecCore/SecCoreNative.inf b/UefiCpuPkg/SecCore/SecCoreNative.inf index 6d6d306294..facb79c2c4 100644 --- a/UefiCpuPkg/SecCore/SecCoreNative.inf +++ b/UefiCpuPkg/SecCore/SecCoreNative.inf @@ -53,6 +53,7 @@ PeiServicesTablePointerLib
HobLib
CpuPageTableLib
+ StackCheckLib
[Ppis]
## SOMETIMES_CONSUMES
|