]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/ArmPkg.dsc
ArmPkg: Fix Ecc error 9005 in CpuDxe
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# ARM processor package.\r
3#\r
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
4f2494cf 5# Copyright (c) 2011 - 2018, ARM Ltd. All rights reserved.<BR>\r
5e667630 6# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
045e4b84 7# Copyright (c) Microsoft Corporation.<BR>\r
1e57a462 8#\r
4059386c 9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
1e57a462 10#\r
11#**/\r
12\r
13################################################################################\r
14#\r
15# Defines Section - statements that will be processed to create a Makefile.\r
16#\r
17################################################################################\r
18[Defines]\r
19 PLATFORM_NAME = ArmPkg\r
20 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F\r
21 PLATFORM_VERSION = 0.1\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/Arm\r
25402f5d 24 SUPPORTED_ARCHITECTURES = ARM|AARCH64\r
e4bc73d7 25 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
1e57a462 26 SKUID_IDENTIFIER = DEFAULT\r
27\r
28[BuildOptions]\r
4a8fa966 29 RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
5e667630 30 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
1e57a462 31\r
68d720fd
AB
32[PcdsFixedAtBuild]\r
33 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r
34\r
83d4afa4
DB
35!include MdePkg/MdeLibs.dsc.inc\r
36\r
1e57a462 37[LibraryClasses.common]\r
38 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
39 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
40 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
4bbcc285 41 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
1e57a462 42 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
43 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
44 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
45 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
46 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
47 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
48 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
49 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
50 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
51 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
52 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
ef0fa8e1 53 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
1e57a462 54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55\r
061568e2
RC
56 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
57 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
58\r
1e57a462 59 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 60 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
61 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
2939c778 62 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
1e57a462 63\r
1e57a462 64 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
017baa1c 65 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
8d13298b 66 ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
4f6d34b4 67 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
166c01fb 68 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
1e57a462 69 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
d65b78f1 70 OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf\r
1e57a462 71\r
72 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
73 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
1e57a462 74 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
75\r
1e57a462 76 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
3402aac7 77\r
23b01c83
RC
78 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
79 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
80 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
81\r
1e57a462 82 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
83\r
c52c592a 84 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
820d07ab
AB
85 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
86\r
4f2494cf
GP
87 ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r
88\r
0e51d7e4
RC
89 OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf\r
90\r
1e57a462 91[LibraryClasses.common.PEIM]\r
92 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
93 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
94 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
95 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
96 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
97\r
bd1d0628 98[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
1e57a462 99 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
100\r
bd1d0628
OM
101 # Add support for GCC stack protector\r
102 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
25402f5d 103\r
1e57a462 104[Components.common]\r
105 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
106 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
1e57a462 107 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
3eef284c 108 ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
1e57a462 109 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
1e57a462 110 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
111 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
112 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r
113 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r
114 ArmPkg/Library/SemihostLib/SemihostLib.inf\r
ca3026d3 115 ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
2939c778
EC
116 ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
117 ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r
1e57a462 118\r
1e57a462 119 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
120 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
017baa1c
OM
121 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
122 ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
0b4d97a0 123 ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r
1e57a462 124 ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r
125\r
cece12d3 126 ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
bcf37cf6 127 ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
cece12d3 128\r
166c01fb 129 ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
130 ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r
58e92b39 131 ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
f8f0e454 132 ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r
d65b78f1 133 ArmPkg/Library/OpteeLib/OpteeLib.inf\r
166c01fb 134\r
1e57a462 135 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
136\r
820d07ab
AB
137 ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
138\r
0d7631f0
AB
139 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf\r
140 ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
141 ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
142 ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r
143 ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
045e4b84 144 ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r
0d7631f0 145 ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
045e4b84 146 ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf\r
0d7631f0
AB
147 ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
148 ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
149\r
045e4b84 150 ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf\r
4f2494cf
GP
151 ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r
152\r
2ba6ecef 153 ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf\r
ecc267fe 154 ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf\r
2ba6ecef 155\r
25402f5d 156[Components.AARCH64]\r
6ff7c838 157 ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf\r
0d7631f0 158 ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r
5ee1bcae 159 ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r