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