mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 00:24:07 +02:00
MdePkg: Move CompilerIntrinsicsLib from ArmPkg
As per the emailed RFC in https://edk2.groups.io/g/devel/topic/rfc_move/107675828, this patch moves CompilerIntrinsicsLib from ArmPkg to MdePkg as this library provides compiler intrinsics, which are industry standard. This aligns with the goal of integrating ArmPkg into existing packages: https://bugzilla.tianocore.org/show_bug.cgi?id=4121. The newly placed CompilerIntrinsicsLib is added to MdeLibs.dsc.inc as every DSC that builds ARM/AARCH64 needs this library added. The old location is removed from every DSC in edk2 in this commit also to not break bisectability with minimal hoop jumping. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
This commit is contained in:
parent
734e71f428
commit
8f74b95a21
@ -101,8 +101,6 @@
|
|||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
@ -110,7 +108,6 @@
|
|||||||
ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
||||||
ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
||||||
ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
|
ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
|
||||||
ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
|
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
|
||||||
ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
||||||
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
||||||
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||||||
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
[Components.common]
|
[Components.common]
|
||||||
|
@ -73,7 +73,6 @@
|
|||||||
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
||||||
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||||||
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.PEIM]
|
[LibraryClasses.common.PEIM]
|
||||||
|
@ -88,12 +88,6 @@
|
|||||||
# Networking Requirements
|
# Networking Requirements
|
||||||
!include NetworkPkg/NetworkLibs.dsc.inc
|
!include NetworkPkg/NetworkLibs.dsc.inc
|
||||||
|
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions such a compiler may generate calls to.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -117,13 +117,6 @@
|
|||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generate by a given compiler.
|
|
||||||
# [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
|
|
||||||
# into all ARM and AARCH64 images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for stack protector
|
# Add support for stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
@ -52,14 +52,6 @@
|
|||||||
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generate by a given compiler.
|
|
||||||
# [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
|
|
||||||
# into all ARM and AARCH64 images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for stack protector
|
# Add support for stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
||||||
|
|
||||||
|
@ -127,7 +127,6 @@
|
|||||||
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
||||||
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
||||||
SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
@ -73,14 +73,6 @@
|
|||||||
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the intrinsic functions generate by a given compiler.
|
|
||||||
# [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
|
|
||||||
# into all ARM and AARCH64 images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for stack protector
|
# Add support for stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -184,13 +184,6 @@
|
|||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
|
LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
|
||||||
|
|
||||||
#
|
|
||||||
# It is not possible to prevent ARM compiler calls to generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generated by a given compiler.
|
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Since software stack checking may be heuristically enabled by the compiler
|
# Since software stack checking may be heuristically enabled by the compiler
|
||||||
# include BaseStackCheckLib unconditionally.
|
# include BaseStackCheckLib unconditionally.
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
#**/
|
#**/
|
||||||
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 1.29
|
||||||
BASE_NAME = CompilerIntrinsicsLib
|
BASE_NAME = CompilerIntrinsicsLib
|
||||||
FILE_GUID = 855274FA-3575-4C20-9709-C031DC5589FA
|
FILE_GUID = 2A6B451F-B99D-47B1-8F29-D805433C62E0
|
||||||
MODULE_TYPE = BASE
|
MODULE_TYPE = BASE
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = CompilerIntrinsicsLib
|
LIBRARY_CLASS = CompilerIntrinsicsLib
|
||||||
@ -70,7 +70,6 @@
|
|||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
ArmPkg/ArmPkg.dec
|
|
||||||
|
|
||||||
[BuildOptions]
|
[BuildOptions]
|
||||||
MSFT:*_*_*_CC_FLAGS = /GL-
|
MSFT:*_*_*_CC_FLAGS = /GL-
|
@ -20,3 +20,13 @@
|
|||||||
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
|
||||||
|
|
||||||
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
|
#
|
||||||
|
# It is not possible to prevent the ARM/AARCH64 compilers from inserting generic intrinsic functions.
|
||||||
|
# This library provides the intrinsic functions generated by these compilers.
|
||||||
|
#
|
||||||
|
# Linking this here as a null library will cause all ARM/AARCH64 files to link against it and have
|
||||||
|
# definitions for the intrinsic functions.
|
||||||
|
#
|
||||||
|
NULL|MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||||
|
@ -194,6 +194,7 @@
|
|||||||
[Components.ARM, Components.AARCH64]
|
[Components.ARM, Components.AARCH64]
|
||||||
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
|
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
|
||||||
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||||
|
|
||||||
[Components.RISCV64]
|
[Components.RISCV64]
|
||||||
MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
|
MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
|
||||||
|
@ -72,12 +72,6 @@
|
|||||||
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent ARM compiler calls to generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generated by a given compiler.
|
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
|
@ -83,21 +83,17 @@
|
|||||||
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
||||||
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
||||||
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
||||||
|
|
||||||
[LibraryClasses.common.UEFI_APPLICATION]
|
[LibraryClasses.common.UEFI_APPLICATION]
|
||||||
DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
|
DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
|
||||||
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent ARM compiler calls to generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generated by a given compiler.
|
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
!if $(TOOL_CHAIN_TAG) != VS2017 and $(TOOL_CHAIN_TAG) != VS2015 and $(TOOL_CHAIN_TAG) != VS2019
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
!endif
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM]
|
[LibraryClasses.ARM]
|
||||||
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
||||||
|
|
||||||
[LibraryClasses.RISCV64]
|
[LibraryClasses.RISCV64]
|
||||||
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
## options defined .pytool/Plugin/DependencyCheck
|
## options defined .pytool/Plugin/DependencyCheck
|
||||||
"DependencyCheck": {
|
"DependencyCheck": {
|
||||||
"AcceptableDependencies": [
|
"AcceptableDependencies": [
|
||||||
"ArmPkg/ArmPkg.dec",
|
|
||||||
"MdeModulePkg/MdeModulePkg.dec",
|
"MdeModulePkg/MdeModulePkg.dec",
|
||||||
"MdePkg/MdePkg.dec",
|
"MdePkg/MdePkg.dec",
|
||||||
"PrmPkg/PrmPkg.dec",
|
"PrmPkg/PrmPkg.dec",
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg
|
DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg
|
||||||
|
|
||||||
|
!include MdePkg/MdeLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
#
|
#
|
||||||
# EDK II Packages
|
# EDK II Packages
|
||||||
@ -42,7 +44,6 @@
|
|||||||
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
||||||
|
|
||||||
[LibraryClasses.AARCH64]
|
[LibraryClasses.AARCH64]
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
||||||
@ -149,8 +150,6 @@
|
|||||||
$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
|
$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
|
||||||
|
|
||||||
[Components.AARCH64]
|
[Components.AARCH64]
|
||||||
ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -56,7 +56,6 @@
|
|||||||
#
|
#
|
||||||
# This library provides the instrinsic functions generated by a given compiler.
|
# This library provides the instrinsic functions generated by a given compiler.
|
||||||
#
|
#
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
|
@ -90,13 +90,6 @@
|
|||||||
MemLibWrapper|SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf
|
MemLibWrapper|SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibWrapper.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the intrinsic functions generate by a given compiler.
|
|
||||||
# And NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -66,13 +66,6 @@
|
|||||||
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM,LibraryClasses.AARCH64]
|
[LibraryClasses.ARM,LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generate by a given compiler.
|
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -99,13 +99,6 @@
|
|||||||
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
||||||
|
|
||||||
[LibraryClasses.AARCH64, LibraryClasses.ARM]
|
[LibraryClasses.AARCH64, LibraryClasses.ARM]
|
||||||
#
|
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generate by a given compiler.
|
|
||||||
# And NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
# Add support for GCC stack protector
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@
|
|||||||
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
||||||
PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
|
PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
|
||||||
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.MM_CORE_STANDALONE]
|
[LibraryClasses.common.MM_CORE_STANDALONE]
|
||||||
|
@ -46,13 +46,6 @@
|
|||||||
NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
|
||||||
# It is not possible to prevent ARM compiler calls to generic intrinsic functions.
|
|
||||||
# This library provides the instrinsic functions generated by a given compiler.
|
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
||||||
#
|
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Since software stack checking may be heuristically enabled by the compiler
|
# Since software stack checking may be heuristically enabled by the compiler
|
||||||
# include BaseStackCheckLib unconditionally.
|
# include BaseStackCheckLib unconditionally.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user