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