]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmPlatformPkg.dsc
ArmPlatformPkg: Use LzmaDecompress support from MdeModulePkg
[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 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
82
83 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
84 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
85 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
86 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
87
88 # Networking Requirements for ArmPlatformPkg/Bds
89 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
90
91 # EBL Related Libraries
92 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
93 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
94 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
95 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
96
97 #
98 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
99 # in the debugger will show load and unload commands for symbols. You can cut and paste this
100 # into the command window to load symbols. We should be able to use a script to do this, but
101 # the version of RVD I have does not support scripts accessing system memory.
102 #
103 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
104 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
105 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
106
107 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
108 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
109
110 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
111
112 # BDS Libraries
113 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
114 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
115
116 [LibraryClasses.ARM]
117 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
118 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
119
120 [LibraryClasses.AARCH64]
121 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
122 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
123 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
124
125 [LibraryClasses.common.SEC]
126 ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf
127 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf
128 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
129
130 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
131 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
132
133 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
134 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
135
136 [LibraryClasses.ARM.SEC]
137 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
138
139 [LibraryClasses.AARCH64.SEC]
140 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
141
142 [LibraryClasses.common.PEI_CORE]
143 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
144 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
145 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
146 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
147 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
148 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
149 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
150 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
151 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
152 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
153
154 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
155 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
156
157 [LibraryClasses.common.PEIM]
158 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
159 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
160 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
161 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
162 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
163 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
164 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
165 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
166 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
167 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
168 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
169
170 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
171 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
172 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
173
174 [LibraryClasses.common.DXE_CORE]
175 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
176 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
177 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
178 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
179 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
180 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
181 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
182 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
183
184 [LibraryClasses.common.DXE_DRIVER]
185 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
186 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
187 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
188 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
189 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
190 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
191
192 [LibraryClasses.common.UEFI_APPLICATION]
193 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
194 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
195 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
196 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
197
198 [LibraryClasses.common.UEFI_DRIVER]
199 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
200 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
201 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
202 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204
205 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
206 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
207 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
208 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
209 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
210
211 [LibraryClasses.ARM, LibraryClasses.AARCH64]
212 #
213 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
214 # This library provides the instrinsic functions generate by a given compiler.
215 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
216 #
217 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
218
219 # Add support for GCC stack protector
220 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
221
222 [BuildOptions]
223 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
224
225 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
226
227 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
228
229 ################################################################################
230 #
231 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
232 #
233 ################################################################################
234
235 [PcdsFeatureFlag.common]
236 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
237 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
238 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
239 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
240
241 #
242 # Control what commands are supported from the UI
243 # Turn these on and off to add features or save size
244 #
245 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
246 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
247 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
248 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
250 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
251 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
252
253 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
254
255 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
256 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
257
258 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
259
260 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
261
262 [PcdsFixedAtBuild.common]
263 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"
264
265 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"
266 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
267 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
268 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
269 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
270 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
271 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
272 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
273 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
274
275 # DEBUG_ASSERT_ENABLED 0x01
276 # DEBUG_PRINT_ENABLED 0x02
277 # DEBUG_CODE_ENABLED 0x04
278 # CLEAR_MEMORY_ENABLED 0x08
279 # ASSERT_BREAKPOINT_ENABLED 0x10
280 # ASSERT_DEADLOOP_ENABLED 0x20
281 !if $(TARGET) == RELEASE
282 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
283 !else
284 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
285 !endif
286
287 # DEBUG_INIT 0x00000001 // Initialization
288 # DEBUG_WARN 0x00000002 // Warnings
289 # DEBUG_LOAD 0x00000004 // Load events
290 # DEBUG_FS 0x00000008 // EFI File system
291 # DEBUG_POOL 0x00000010 // Alloc & Free's
292 # DEBUG_PAGE 0x00000020 // Alloc & Free's
293 # DEBUG_INFO 0x00000040 // Verbose
294 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
295 # DEBUG_VARIABLE 0x00000100 // Variable
296 # DEBUG_BM 0x00000400 // Boot Manager
297 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
298 # DEBUG_NET 0x00004000 // SNI Driver
299 # DEBUG_UNDI 0x00010000 // UNDI Driver
300 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
301 # DEBUG_EVENT 0x00080000 // Event messages
302 # DEBUG_ERROR 0x80000000 // Error
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
304
305 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
306
307 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
308 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
309 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
310
311 #
312 # Optional feature to help prevent EFI memory map fragments
313 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
314 # Values are in EFI Pages (4K). DXE Core will make sure that
315 # at least this much of each type of memory can be allocated
316 # from a single memory range. This way you only end up with
317 # maximum of two fragements for each type in the memory map
318 # (the memory used, and the free memory that was prereserved
319 # but not used).
320 #
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
325 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
326 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
327 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
328 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
330
331 #
332 # ARM Pcds
333 #
334 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
335
336 # Stacks for MPCores in Secure World
337 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
338 # Stacks for MPCores in Monitor Mode
339 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
340 # Stacks for MPCores in Normal World
341 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
342
343 gArmTokenSpaceGuid.PcdSystemMemoryBase|0
344 gArmTokenSpaceGuid.PcdSystemMemorySize|0
345
346 ################################################################################
347 #
348 # Components Section - list of all EDK II Modules needed by this Platform
349 #
350 ################################################################################
351 [Components.common]
352
353 #
354 # SEC
355 #
356 ArmPlatformPkg/Sec/Sec.inf {
357 <LibraryClasses>
358 # Use the implementation which set the Secure bits
359 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
360 }
361
362 #
363 # PEI Phase modules
364 #
365 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
366 <LibraryClasses>
367 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
368 }
369 MdeModulePkg/Core/Pei/PeiMain.inf
370 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
371 <LibraryClasses>
372 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
373 }
374 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
375 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
376 ArmPkg/Drivers/CpuPei/CpuPei.inf
377 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
378 Nt32Pkg/BootModePei/BootModePei.inf
379 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
380 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
381 <LibraryClasses>
382 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
383 }
384
385 #
386 # DXE
387 #
388 MdeModulePkg/Core/Dxe/DxeMain.inf {
389 <LibraryClasses>
390 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
391 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
392 }
393
394 #
395 # Architectural Protocols
396 #
397 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
398 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
399 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
400 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
401 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
402 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
403 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
404
405 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
406 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
407 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
408
409 # Simple TextIn/TextOut for UEFI Terminal
410 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
411
412 #
413 # Semi-hosting filesystem
414 #
415 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
416
417 #
418 # FAT filesystem + GPT/MBR partitioning
419 #
420 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
421 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
422 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
423
424 #
425 # Application
426 #
427 EmbeddedPkg/Ebl/Ebl.inf
428
429 #
430 # Bds
431 #
432 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
433 ArmPlatformPkg/Bds/Bds.inf