]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/ArmPkg.dsc
UefiCpuPkg/MpInitLib: Sort processor by ascending order of APIC ID
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
1 #/** @file
2 # ARM processor package.
3 #
4 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
5 # Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #**/
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 PLATFORM_NAME = ArmPkg
24 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
27 OUTPUT_DIRECTORY = Build/Arm
28 SUPPORTED_ARCHITECTURES = ARM|AARCH64
29 BUILD_TARGETS = DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31
32 [BuildOptions]
33 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
34 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon
35 # We use A15 to get the Secure and Virtualization extensions
36 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15
37
38 RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
39
40 [LibraryClasses.common]
41 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
42 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
43 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
44 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
45 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
46 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
47 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
48 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
49 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
50 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
51 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
52 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
53 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
54 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
55 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57
58 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
59 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
61
62 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
63 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
64 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
65 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
66 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
67
68 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
69 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
70 ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
71 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
72 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
73 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
74 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
75
76 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
77 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
78 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
79
80 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
81 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
82
83 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
84 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
85 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
86
87 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
88
89 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
90
91 [LibraryClasses.ARM]
92 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
93
94 [LibraryClasses.AARCH64]
95 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
96
97 [LibraryClasses.common.PEIM]
98 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
99 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
100 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
101 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
102 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
103
104 [LibraryClasses.ARM, LibraryClasses.AARCH64]
105 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
106
107 # Add support for GCC stack protector
108 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
109
110 [Components.common]
111 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
112 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
113 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
114 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
115 ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
116 ArmPkg/Library/BdsLib/BdsLib.inf
117 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
118 ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
119 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
120 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
121 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
122 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
123 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
124 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
125 ArmPkg/Library/SemihostLib/SemihostLib.inf
126 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
127 ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
128 ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
129 ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf
130
131 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
132 ArmPkg/Drivers/CpuPei/CpuPei.inf
133 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
134 ArmPkg/Drivers/ArmGic/ArmGicLib.inf
135 ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
136 ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
137 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
138
139 ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
140 ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
141
142 ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
143 ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf
144 ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
145
146 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
147
148 ArmPkg/Application/LinuxLoader/LinuxLoader.inf
149
150 ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
151
152 [Components.ARM]
153 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
154
155 ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
156 ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
157 ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf
158
159 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
160 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
161
162 [Components.AARCH64]
163 ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
164 ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.inf
165
166 ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
167 ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf