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