From efbf5ed08c48478b51bb6b6da5670b1312755854 Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Wed, 29 Jan 2025 11:01:04 -0800 Subject: 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 --- UefiCpuPkg/SecCore/SecCore.inf | 1 + UefiCpuPkg/SecCore/SecCoreNative.inf | 1 + 2 files changed, 2 insertions(+) (limited to 'UefiCpuPkg') 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 -- cgit