]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmPlatformPkg.dsc
ArmPkg: split off ArmGicArchLib from ArmGicLib
[mirror_edk2.git] / ArmPlatformPkg / ArmPlatformPkg.dsc
1 #
2 # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3 #
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 #
13 ################################################################################
14 #
15 # Defines Section - statements that will be processed to create a Makefile.
16 #
17 ################################################################################
18 [Defines]
19 PLATFORM_NAME = ArmPlatform
20 PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
24 SUPPORTED_ARCHITECTURES = ARM|AARCH64
25 BUILD_TARGETS = DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf
28
29 [LibraryClasses.common]
30 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
31
32 !if $(TARGET) == RELEASE
33 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
34 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
35 !else
36 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
37 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
38 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
39 !endif
40 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
41
42 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
43 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
44 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
45 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
46 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
47 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
49 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
50 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
51
52 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
53 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
54 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
55 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
56 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
57 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
58 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
59 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
61 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
62
63 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
64
65 #
66 # Assume everything is fixed at build
67 #
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
69
70 # 1/123 faster than Stm or Vstm version
71 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
72 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
73
74 # ARM Architectural Libraries
75 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
76 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
77 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
78 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
79 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
80 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
81 ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
82 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
83
84 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
85 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
86 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
87 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
88
89 # Networking Requirements for ArmPlatformPkg/Bds
90 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
91
92 # These libraries are used by the dynamic EFI Shell commands
93 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
94 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
95 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
96
97 # EBL Related Libraries
98 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
99 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
100 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
101 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
102
103 #
104 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
105 # in the debugger will show load and unload commands for symbols. You can cut and paste this
106 # into the command window to load symbols. We should be able to use a script to do this, but
107 # the version of RVD I have does not support scripts accessing system memory.
108 #
109 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
110 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
111 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
112
113 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
114 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
115
116 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
117
118 # BDS Libraries
119 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
120 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
121
122 [LibraryClasses.ARM]
123 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
124 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
125
126 [LibraryClasses.AARCH64]
127 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
128 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
129 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
130
131 [LibraryClasses.common.SEC]
132 ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf
133 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf
134 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
135
136 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
137 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
138
139 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
140 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
141
142 [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]
143 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
144
145 [LibraryClasses.ARM.SEC]
146 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
147
148 [LibraryClasses.AARCH64.SEC]
149 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
150
151 [LibraryClasses.common.PEI_CORE]
152 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
153 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
154 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
155 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
156 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
157 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
158 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
159 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
160 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
161 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
162
163 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
164 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
165
166 [LibraryClasses.common.PEIM]
167 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
168 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
169 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
170 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
171 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
173 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
174 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
175 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
176 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
177 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
178
179 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
180 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
181 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
182
183 [LibraryClasses.common.DXE_CORE]
184 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
185 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
186 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
187 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
188 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
189 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
190 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
192
193 [LibraryClasses.common.DXE_DRIVER]
194 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
195 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
196 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
197 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
198 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
199 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
200
201 [LibraryClasses.common.UEFI_APPLICATION]
202 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
203 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
204 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
205 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
206
207 [LibraryClasses.common.UEFI_DRIVER]
208 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
209 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
210 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
211 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213
214 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
215 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
216 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
217 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
218 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
219
220 [LibraryClasses.ARM, LibraryClasses.AARCH64]
221 #
222 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
223 # This library provides the instrinsic functions generate by a given compiler.
224 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
225 #
226 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
227
228 # Add support for GCC stack protector
229 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
230
231 [BuildOptions]
232 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
233
234 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
235
236 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
237
238 ################################################################################
239 #
240 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
241 #
242 ################################################################################
243
244 [PcdsFeatureFlag.common]
245 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
246 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
247 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
248 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
249
250 #
251 # Control what commands are supported from the UI
252 # Turn these on and off to add features or save size
253 #
254 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
255 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
256 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
257 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
258 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
259 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
260 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
261
262 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
263
264 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
265 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
266
267 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
268
269 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
270
271 [PcdsFixedAtBuild.common]
272 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"
273
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"
275 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
276 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
277 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
278 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
279 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
280 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
281 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
282 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
283
284 # DEBUG_ASSERT_ENABLED 0x01
285 # DEBUG_PRINT_ENABLED 0x02
286 # DEBUG_CODE_ENABLED 0x04
287 # CLEAR_MEMORY_ENABLED 0x08
288 # ASSERT_BREAKPOINT_ENABLED 0x10
289 # ASSERT_DEADLOOP_ENABLED 0x20
290 !if $(TARGET) == RELEASE
291 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
292 !else
293 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
294 !endif
295
296 # DEBUG_INIT 0x00000001 // Initialization
297 # DEBUG_WARN 0x00000002 // Warnings
298 # DEBUG_LOAD 0x00000004 // Load events
299 # DEBUG_FS 0x00000008 // EFI File system
300 # DEBUG_POOL 0x00000010 // Alloc & Free's
301 # DEBUG_PAGE 0x00000020 // Alloc & Free's
302 # DEBUG_INFO 0x00000040 // Verbose
303 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
304 # DEBUG_VARIABLE 0x00000100 // Variable
305 # DEBUG_BM 0x00000400 // Boot Manager
306 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
307 # DEBUG_NET 0x00004000 // SNI Driver
308 # DEBUG_UNDI 0x00010000 // UNDI Driver
309 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
310 # DEBUG_EVENT 0x00080000 // Event messages
311 # DEBUG_ERROR 0x80000000 // Error
312 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
313
314 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
315
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
318 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
319
320 #
321 # Optional feature to help prevent EFI memory map fragments
322 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
323 # Values are in EFI Pages (4K). DXE Core will make sure that
324 # at least this much of each type of memory can be allocated
325 # from a single memory range. This way you only end up with
326 # maximum of two fragements for each type in the memory map
327 # (the memory used, and the free memory that was prereserved
328 # but not used).
329 #
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
339
340 # We want to use the Shell Libraries but don't want it to initialise
341 # automatically. We initialise the libraries when the command is called by the
342 # Shell.
343 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
344
345 #
346 # ARM Pcds
347 #
348 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
349
350 # Stacks for MPCores in Secure World
351 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
352 # Stacks for MPCores in Monitor Mode
353 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
354 # Stacks for MPCores in Normal World
355 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
356
357 gArmTokenSpaceGuid.PcdSystemMemoryBase|0
358 gArmTokenSpaceGuid.PcdSystemMemorySize|0
359
360 ################################################################################
361 #
362 # Components Section - list of all EDK II Modules needed by this Platform
363 #
364 ################################################################################
365 [Components.common]
366
367 #
368 # SEC
369 #
370 ArmPlatformPkg/Sec/Sec.inf {
371 <LibraryClasses>
372 # Use the implementation which set the Secure bits
373 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
374 }
375
376 #
377 # PEI Phase modules
378 #
379 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
380 <LibraryClasses>
381 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
382 }
383 MdeModulePkg/Core/Pei/PeiMain.inf
384 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
385 <LibraryClasses>
386 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
387 }
388 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
389 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
390 ArmPkg/Drivers/CpuPei/CpuPei.inf
391 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
392 Nt32Pkg/BootModePei/BootModePei.inf
393 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
394 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
395 <LibraryClasses>
396 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
397 }
398
399 #
400 # DXE
401 #
402 MdeModulePkg/Core/Dxe/DxeMain.inf {
403 <LibraryClasses>
404 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
405 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
406 }
407
408 #
409 # Architectural Protocols
410 #
411 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
412 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
413 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
414 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
415 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
416 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
417 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
418
419 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
420 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
421 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
422
423 # Simple TextIn/TextOut for UEFI Terminal
424 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
425
426 #
427 # Semi-hosting filesystem
428 #
429 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
430
431 #
432 # FAT filesystem + GPT/MBR partitioning
433 #
434 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
435 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
436 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
437
438 #
439 # Application
440 #
441 EmbeddedPkg/Ebl/Ebl.inf
442
443 #
444 # Bds
445 #
446 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
447 ArmPlatformPkg/Bds/Bds.inf
448
449 # Legacy Linux Loader
450 ArmPkg/Application/LinuxLoader/LinuxLoader.inf