mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
MdePkg: MdeLibs.dsc.inc: Apply StackCheckLibNull to All Module Types
Now that the ResetVectors are USER_DEFINED modules, they will not be linked against StackCheckLibNull, which were the only modules causing issues. So, we can now remove the kludge we had before and the requirement for every DSC to include StackCheckLibNull for SEC modules and just apply StackCheckLibNull globally. This also changes every DSC to drop the SEC definition of StackCheckLibNull. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
This commit is contained in:
parent
fd9e9848ac
commit
ef4f3aa3f7
@ -91,10 +91,6 @@
|
|||||||
|
|
||||||
OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
|
OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
# ARM platforms have SEC modules with standard entry points, so we can generically link StackCheckLib
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM]
|
[LibraryClasses.common.PEIM]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
|
@ -86,9 +86,6 @@
|
|||||||
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
||||||
PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
||||||
|
|
||||||
# ARM platforms have SEC modules with standard entry points, so we can generically link StackCheckLib
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.AARCH64.MM_STANDALONE]
|
[LibraryClasses.AARCH64.MM_STANDALONE]
|
||||||
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
|
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
|
||||||
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
|
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
|
||||||
|
@ -182,9 +182,6 @@
|
|||||||
DebugLib|ArmVirtPkg/Library/DebugLibFdtPL011Uart/DebugLibFdtPL011UartFlash.inf
|
DebugLib|ArmVirtPkg/Library/DebugLibFdtPL011Uart/DebugLibFdtPL011UartFlash.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# ARM platforms have SEC modules with standard entry points, so we can generically link StackCheckLib
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||||
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
||||||
|
@ -131,8 +131,6 @@
|
|||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
||||||
TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
|
TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM]
|
[LibraryClasses.common.PEIM]
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
|
@ -34,10 +34,6 @@
|
|||||||
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
||||||
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
||||||
|
|
||||||
|
@ -122,8 +122,6 @@
|
|||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
||||||
|
@ -151,8 +151,6 @@
|
|||||||
PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
|
TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
|
[LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
|
@ -49,10 +49,6 @@
|
|||||||
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
||||||
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM]
|
[LibraryClasses.common.PEIM]
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
||||||
|
@ -46,10 +46,6 @@
|
|||||||
FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
|
FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
|
||||||
FspMultiPhaseLib|IntelFsp2Pkg/Library/BaseFspMultiPhaseLib/BaseFspMultiPhaseLib.inf
|
FspMultiPhaseLib|IntelFsp2Pkg/Library/BaseFspMultiPhaseLib/BaseFspMultiPhaseLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM, LibraryClasses.common.SEC]
|
[LibraryClasses.common.PEIM, LibraryClasses.common.SEC]
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -57,10 +57,6 @@
|
|||||||
|
|
||||||
Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
||||||
|
@ -109,10 +109,6 @@
|
|||||||
IpmiCommandLib|MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibNull.inf
|
IpmiCommandLib|MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibNull.inf
|
||||||
SpiHcPlatformLib|MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.inf
|
SpiHcPlatformLib|MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.EBC.PEIM]
|
[LibraryClasses.EBC.PEIM]
|
||||||
IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
|
IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
|
||||||
|
|
||||||
|
@ -20,6 +20,14 @@
|
|||||||
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||||
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
||||||
MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
|
MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
|
||||||
|
StackCheckFailureHookLib|MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHookLibNull.inf
|
||||||
|
|
||||||
|
!ifndef CUSTOM_STACK_CHECK_LIB
|
||||||
|
# If CUSTOM_STACK_CHECK_LIB is set, MdeLibs.dsc.inc will not link StackCheckLibNull and it is expected that the
|
||||||
|
# DSC being built is providing it's own implementation of StackCheckLib.
|
||||||
|
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||||
|
|
||||||
|
!endif
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
#
|
||||||
@ -30,16 +38,3 @@
|
|||||||
# definitions for the intrinsic functions.
|
# definitions for the intrinsic functions.
|
||||||
#
|
#
|
||||||
NULL|MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
NULL|MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||||
|
|
||||||
#
|
|
||||||
# Stack Cookies cannot be generically applied to SEC modules because they may not define _ModuleEntryPoint and when we
|
|
||||||
# link a library in, we have to be able to define the entry point. SEC modules that do define _ModuleEntryPoint can
|
|
||||||
# apply a library class override to get StackCheckLibNull.inf.
|
|
||||||
#
|
|
||||||
# If CUSTOM_STACK_CHECK_LIB is set, MdeLibs.dsc.inc will not link StackCheckLibNull and it is expected that the
|
|
||||||
# DSC being built is providing it's own implementation of StackCheckLib.
|
|
||||||
#
|
|
||||||
[LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM, LibraryClasses.common.DXE_CORE, LibraryClasses.common.SMM_CORE, LibraryClasses.common.MM_CORE_STANDALONE, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SMM_DRIVER, LibraryClasses.common.MM_STANDALONE, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
|
||||||
!ifndef CUSTOM_STACK_CHECK_LIB
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
!endif
|
|
||||||
|
@ -62,10 +62,6 @@
|
|||||||
FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
|
FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
|
||||||
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.UEFI_DRIVER]
|
[LibraryClasses.common.UEFI_DRIVER]
|
||||||
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
||||||
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
||||||
|
@ -232,9 +232,6 @@
|
|||||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -256,9 +256,6 @@
|
|||||||
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -269,9 +269,6 @@
|
|||||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -240,9 +240,6 @@
|
|||||||
PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
|
PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
|
||||||
CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.DXE_CORE]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||||
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
||||||
|
@ -194,9 +194,6 @@
|
|||||||
PlatformHookLib | OvmfPkg/LoongArchVirt/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortHookLib.inf
|
PlatformHookLib | OvmfPkg/LoongArchVirt/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortHookLib.inf
|
||||||
CpuExceptionHandlerLib | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
CpuExceptionHandlerLib | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL | MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||||
HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
|
@ -277,9 +277,6 @@
|
|||||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEI_CORE]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -683,7 +683,6 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -695,7 +695,6 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -716,7 +716,6 @@
|
|||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -525,7 +525,6 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -152,9 +152,6 @@
|
|||||||
PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
||||||
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.DXE_CORE]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
||||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||||
|
@ -45,10 +45,6 @@
|
|||||||
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
||||||
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[Components]
|
[Components]
|
||||||
PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
|
PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
|
||||||
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
||||||
|
@ -40,10 +40,6 @@
|
|||||||
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
||||||
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.IA32, LibraryClasses.X64]
|
[LibraryClasses.IA32, LibraryClasses.X64]
|
||||||
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
||||||
|
|
||||||
|
@ -52,10 +52,6 @@
|
|||||||
IpmiLib|MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.inf
|
IpmiLib|MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.inf
|
||||||
IpmiCommandLib|MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibNull.inf
|
IpmiCommandLib|MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibNull.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
|
@ -89,10 +89,6 @@
|
|||||||
PlatformLibWrapper|SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/PlatformLibWrapper.inf
|
PlatformLibWrapper|SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/PlatformLibWrapper.inf
|
||||||
MemLibWrapper|SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf
|
MemLibWrapper|SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
|
@ -67,10 +67,6 @@
|
|||||||
|
|
||||||
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[PcdsFixedAtBuild]
|
[PcdsFixedAtBuild]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
|
||||||
|
@ -95,10 +95,6 @@
|
|||||||
PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
|
PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
|
||||||
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.ARM]
|
[LibraryClasses.ARM]
|
||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
|
@ -52,10 +52,6 @@
|
|||||||
!endif
|
!endif
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
[LibraryClasses.common.SEC]
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM]
|
[LibraryClasses.common.PEIM]
|
||||||
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
||||||
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
||||||
|
@ -173,14 +173,8 @@
|
|||||||
UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
|
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
|
||||||
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
|
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
|
||||||
UefiCpuPkg/SecCore/SecCore.inf {
|
UefiCpuPkg/SecCore/SecCore.inf
|
||||||
<LibraryClasses>
|
UefiCpuPkg/SecCore/SecCoreNative.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
|
||||||
UefiCpuPkg/SecCore/SecCoreNative.inf {
|
|
||||||
<LibraryClasses>
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
}
|
|
||||||
UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
|
UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
|
||||||
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
||||||
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
|
||||||
|
@ -372,9 +372,6 @@
|
|||||||
SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf
|
SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.DXE_CORE]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
|
DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf
|
||||||
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
|
UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
|
||||||
UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
|
UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
|
||||||
UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.inf
|
UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.inf
|
||||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.SEC, LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
|
[LibraryClasses.common.SEC, LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
|
||||||
NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user