blob: a12040b6b2a5f5047b6dd72ddbc9b2a0e42ab917 [file] [log] [blame]
oliviermartin12fcdcb2011-09-27 16:40:46 +00001#
oliviermartin67fb8652013-01-25 12:00:33 +00002# Copyright (c) 2011-2013, ARM Limited. All rights reserved.
oliviermartin12fcdcb2011-09-27 16:40:46 +00003#
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)
Harry Liebel1bc83262013-07-18 19:06:52 +000024 SUPPORTED_ARCHITECTURES = ARM|AARCH64
oliviermartin12fcdcb2011-09-27 16:40:46 +000025 BUILD_TARGETS = DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf
28
29[LibraryClasses.common]
oliviermartin12fcdcb2011-09-27 16:40:46 +000030 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
oliviermartin793ae6e2012-03-15 16:03:41 +000077 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +000078 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
79 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
Olivier Martin017baa12013-10-29 06:36:34 +000080 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
oliviermartinbc87b502013-03-12 00:56:37 +000081 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +000082
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
Ronald Cron8bf4ad42014-07-15 09:25:57 +000088 # Networking Requirements for ArmPlatformPkg/Bds
89 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
90
91 # EBL Related Libraries
oliviermartin12fcdcb2011-09-27 16:40:46 +000092 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
Ronald Cron8bf4ad42014-07-15 09:25:57 +000096
oliviermartin12fcdcb2011-09-27 16:40:46 +000097 #
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
oliviermartinfa4a7062012-09-27 16:53:57 +0000114 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000115
Harry Liebel1bc83262013-07-18 19:06:52 +0000116[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
oliviermartin12fcdcb2011-09-27 16:40:46 +0000124[LibraryClasses.common.SEC]
oliviermartine314d562012-05-02 20:13:32 +0000125 ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000126 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf
oliviermartin8cc852f2012-02-28 17:27:15 +0000127 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000128
oliviermartinc7b7c442011-12-14 10:39:07 +0000129 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000130 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
131
oliviermartin9d6b0242012-09-28 09:52:11 +0000132 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
oliviermartinc3adcc92013-01-25 12:02:59 +0000133 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000134
Harry Liebel1bc83262013-07-18 19:06:52 +0000135[LibraryClasses.ARM.SEC]
136 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
137
138[LibraryClasses.AARCH64.SEC]
139 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
140
oliviermartin12fcdcb2011-09-27 16:40:46 +0000141[LibraryClasses.common.PEI_CORE]
142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
144 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
145 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
146 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
147 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
148 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
149 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
150 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
151 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
152
153 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
154 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
155
156[LibraryClasses.common.PEIM]
157 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
158 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
159 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
160 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
161 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
162 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
163 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
164 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
165 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
166 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
167 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
168
169 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
170 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
171
172[LibraryClasses.common.DXE_CORE]
173 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
174 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
175 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
176 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
177 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
178 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
179 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
180 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
181
182[LibraryClasses.common.DXE_DRIVER]
183 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
184 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
185 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
186 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
187 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
188 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
189
190[LibraryClasses.common.UEFI_APPLICATION]
191 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
192 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
195
196[LibraryClasses.common.UEFI_DRIVER]
197 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
198 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
199 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
200 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
201 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
202
203[LibraryClasses.common.DXE_RUNTIME_DRIVER]
204 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
205 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
206 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
207 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
208
209[LibraryClasses.ARM]
210 #
211 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
212 # This library provides the instrinsic functions generate by a given compiler.
213 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
214 #
215 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
216
Harry Liebel1bc83262013-07-18 19:06:52 +0000217[LibraryClasses.AARCH64]
218 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
219
oliviermartin12fcdcb2011-09-27 16:40:46 +0000220[BuildOptions]
221 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
222
223 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
224
225 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
226
227################################################################################
228#
229# Pcd Section - list of all EDK II PCD Entries defined by this Platform
230#
231################################################################################
232
233[PcdsFeatureFlag.common]
234 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
235 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
236 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
237 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
238
239 #
240 # Control what commands are supported from the UI
241 # Turn these on and off to add features or save size
242 #
243 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
244 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
245 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
246 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
247 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
oliviermartin12fcdcb2011-09-27 16:40:46 +0000248 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
250
251 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
252
253 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
254 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
255
256 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
257
258 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
259
260[PcdsFixedAtBuild.common]
261 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"
262
263 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"
oliviermartin12fcdcb2011-09-27 16:40:46 +0000264 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
265 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
266 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
267 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
268 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
269 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
270 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
271 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
272
273 # DEBUG_ASSERT_ENABLED 0x01
274 # DEBUG_PRINT_ENABLED 0x02
275 # DEBUG_CODE_ENABLED 0x04
276 # CLEAR_MEMORY_ENABLED 0x08
277 # ASSERT_BREAKPOINT_ENABLED 0x10
278 # ASSERT_DEADLOOP_ENABLED 0x20
279!if $(TARGET) == RELEASE
280 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
281!else
282 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
283!endif
284
285 # DEBUG_INIT 0x00000001 // Initialization
286 # DEBUG_WARN 0x00000002 // Warnings
287 # DEBUG_LOAD 0x00000004 // Load events
288 # DEBUG_FS 0x00000008 // EFI File system
289 # DEBUG_POOL 0x00000010 // Alloc & Free's
290 # DEBUG_PAGE 0x00000020 // Alloc & Free's
291 # DEBUG_INFO 0x00000040 // Verbose
292 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
293 # DEBUG_VARIABLE 0x00000100 // Variable
294 # DEBUG_BM 0x00000400 // Boot Manager
295 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
296 # DEBUG_NET 0x00004000 // SNI Driver
297 # DEBUG_UNDI 0x00010000 // UNDI Driver
298 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
299 # DEBUG_EVENT 0x00080000 // Event messages
300 # DEBUG_ERROR 0x80000000 // Error
301 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
302
303 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
304
305 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
306 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
307 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
308
309 #
310 # Optional feature to help prevent EFI memory map fragments
311 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
312 # Values are in EFI Pages (4K). DXE Core will make sure that
313 # at least this much of each type of memory can be allocated
314 # from a single memory range. This way you only end up with
315 # maximum of two fragements for each type in the memory map
316 # (the memory used, and the free memory that was prereserved
317 # but not used).
318 #
319 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
320 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
325 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
326 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
327 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
328
329 #
330 # ARM Pcds
331 #
332 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
333
334 # Stacks for MPCores in Secure World
335 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
336 # Stacks for MPCores in Monitor Mode
337 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
338 # Stacks for MPCores in Normal World
339 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
340
341 gArmTokenSpaceGuid.PcdSystemMemoryBase|0
342 gArmTokenSpaceGuid.PcdSystemMemorySize|0
343
344################################################################################
345#
346# Components Section - list of all EDK II Modules needed by this Platform
347#
348################################################################################
349[Components.common]
350
351 #
352 # SEC
353 #
oliviermartinf8181c92012-05-02 20:19:00 +0000354 ArmPlatformPkg/Sec/Sec.inf {
355 <LibraryClasses>
356 # Use the implementation which set the Secure bits
Olivier Martin017baa12013-10-29 06:36:34 +0000357 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
oliviermartinf8181c92012-05-02 20:19:00 +0000358 }
oliviermartin12fcdcb2011-09-27 16:40:46 +0000359
360 #
361 # PEI Phase modules
362 #
363 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
364 <LibraryClasses>
oliviermartin12fcdcb2011-09-27 16:40:46 +0000365 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
366 }
367 MdeModulePkg/Core/Pei/PeiMain.inf
368 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
369 <LibraryClasses>
370 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
371 }
372 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
373 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
374 ArmPkg/Drivers/CpuPei/CpuPei.inf
375 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
376 Nt32Pkg/BootModePei/BootModePei.inf
377 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
378 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
379 <LibraryClasses>
380 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
381 }
382
383 #
384 # DXE
385 #
386 MdeModulePkg/Core/Dxe/DxeMain.inf {
387 <LibraryClasses>
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
389 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
390 }
391
392 #
393 # Architectural Protocols
394 #
395 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
396 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
397 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
398 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
399 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
oliviermartin504d1462011-11-01 23:40:49 +0000400 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000401 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
402
403 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
404 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
405 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
406
oliviermartin504d1462011-11-01 23:40:49 +0000407 # Simple TextIn/TextOut for UEFI Terminal
408 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
409
oliviermartin12fcdcb2011-09-27 16:40:46 +0000410 #
411 # Semi-hosting filesystem
412 #
413 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
414
415 #
416 # FAT filesystem + GPT/MBR partitioning
417 #
418 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
419 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000420 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
421
422 #
423 # Application
424 #
425 EmbeddedPkg/Ebl/Ebl.inf
426
427 #
428 # Bds
429 #
430 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
431 ArmPlatformPkg/Bds/Bds.inf
oliviermartin9d6b0242012-09-28 09:52:11 +0000432