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