]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
ArmPlatformPkg: Add Null Stack Check Lib
authorOliver Smith-Denny <osde@linux.microsoft.com>
Tue, 23 Jul 2024 22:19:46 +0000 (15:19 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 03:58:46 +0000 (03:58 +0000)
Remove the old stack check lib now that MdeLibs.inc includes
the new one.

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

index 396d7df1cc58aaf4516bf97dc68b92a6d49e0498..bfe1b99e8bfb1ec64908e3e12c4fea5ac4fe6c25 100644 (file)
@@ -73,8 +73,6 @@
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
 \r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [LibraryClasses.common.PEIM]\r
   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
@@ -88,6 +86,9 @@
   MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
   PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
 \r
+  # ARM platforms have SEC modules with standard entry points, so we can generically link StackCheckLib\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
+\r
 [LibraryClasses.AARCH64.MM_STANDALONE]\r
   HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf\r
   MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf\r