]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
IntelFsp2Pkg: Add StackCheckLibNull
authorOliver Smith-Denny <osde@linux.microsoft.com>
Mon, 29 Jul 2024 23:06:38 +0000 (16:06 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 03:58:46 +0000 (03:58 +0000)
Adds the null instance of StackCheckLib to SEC modules

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
IntelFsp2Pkg/IntelFsp2Pkg.dsc

index 991ab014904d2a3320865e753a03481d0fcd945d..ea61c5d9b4474429733e91dac0633504c41f93c9 100644 (file)
   FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf\r
   FspMultiPhaseLib|IntelFsp2Pkg/Library/BaseFspMultiPhaseLib/BaseFspMultiPhaseLib.inf\r
 \r
+# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules\r
+[LibraryClasses.common.SEC]\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
+\r
 [LibraryClasses.common.PEIM, LibraryClasses.common.SEC]\r
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r