]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmPlatformPkg.dsc
ArmPlatformPkg: Move the Secure Monitor initialization into a separate 'ArmTrustedMon...
[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
8cc852f7 118 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r
12fcdcb8 119\r
c7b7c445 120 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
12fcdcb8 121 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r
122 \r
123 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.inf\r
124\r
125[LibraryClasses.common.PEI_CORE]\r
126 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
127 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
128 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
129 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
130 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
131 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
132 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
133 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
135 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
136 \r
137 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
138 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
139 \r
140[LibraryClasses.common.PEIM]\r
141 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
142 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
143 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
144 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
145 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
146 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
147 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
148 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
149 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
150 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
151 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
152\r
153 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
154 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
155\r
156[LibraryClasses.common.DXE_CORE]\r
157 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
158 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
159 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
160 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
161 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
162 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
163 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
164 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
165\r
166[LibraryClasses.common.DXE_DRIVER]\r
167 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
168 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
169 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
170 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
171 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
172 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
173\r
174[LibraryClasses.common.UEFI_APPLICATION]\r
175 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
176 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
177 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
178 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
179\r
180[LibraryClasses.common.UEFI_DRIVER]\r
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
182 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
183 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
184 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
185 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
186\r
187[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
188 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
189 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
190 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
191 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
192\r
193[LibraryClasses.ARM]\r
194 #\r
195 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
196 # This library provides the instrinsic functions generate by a given compiler.\r
197 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
198 #\r
199 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
200\r
201[BuildOptions]\r
202 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r
203\r
204 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a\r
205\r
206 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8\r
207\r
208################################################################################\r
209#\r
210# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
211#\r
212################################################################################\r
213\r
214[PcdsFeatureFlag.common]\r
215 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
216 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
217 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
218 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
219 \r
220 #\r
221 # Control what commands are supported from the UI\r
222 # Turn these on and off to add features or save size\r
223 # \r
224 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
225 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
226 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
227 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
228 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
229 gEmbeddedTokenSpaceGuid.PcdEmbeddedUsbDebugCmd|TRUE\r
230 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
231 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
232\r
233 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
234 \r
235 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
236 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
237 \r
238 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
239 \r
240 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
241\r
242[PcdsFixedAtBuild.common]\r
243 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"\r
244 \r
245 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"\r
246 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
247 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
248 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
249 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
250 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
251 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
252 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
253 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
254 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
255 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
256\r
257 # DEBUG_ASSERT_ENABLED 0x01\r
258 # DEBUG_PRINT_ENABLED 0x02\r
259 # DEBUG_CODE_ENABLED 0x04\r
260 # CLEAR_MEMORY_ENABLED 0x08\r
261 # ASSERT_BREAKPOINT_ENABLED 0x10\r
262 # ASSERT_DEADLOOP_ENABLED 0x20\r
263!if $(TARGET) == RELEASE\r
264 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
265!else\r
266 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
267!endif\r
268\r
269 # DEBUG_INIT 0x00000001 // Initialization\r
270 # DEBUG_WARN 0x00000002 // Warnings\r
271 # DEBUG_LOAD 0x00000004 // Load events\r
272 # DEBUG_FS 0x00000008 // EFI File system\r
273 # DEBUG_POOL 0x00000010 // Alloc & Free's\r
274 # DEBUG_PAGE 0x00000020 // Alloc & Free's\r
275 # DEBUG_INFO 0x00000040 // Verbose\r
276 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
277 # DEBUG_VARIABLE 0x00000100 // Variable\r
278 # DEBUG_BM 0x00000400 // Boot Manager\r
279 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
280 # DEBUG_NET 0x00004000 // SNI Driver\r
281 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
282 # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
283 # DEBUG_EVENT 0x00080000 // Event messages\r
284 # DEBUG_ERROR 0x80000000 // Error\r
285 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
286\r
287 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
288\r
289 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
290 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
291 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
292 \r
293 #\r
294 # Optional feature to help prevent EFI memory map fragments\r
295 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
296 # Values are in EFI Pages (4K). DXE Core will make sure that \r
297 # at least this much of each type of memory can be allocated \r
298 # from a single memory range. This way you only end up with\r
299 # maximum of two fragements for each type in the memory map\r
300 # (the memory used, and the free memory that was prereserved\r
301 # but not used).\r
302 #\r
303 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
304 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
305 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
306 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50\r
307 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20\r
308 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
309 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r
310 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
311 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
312 \r
313 #\r
314 # ARM Pcds\r
315 #\r
316 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r
317 \r
318 # Stacks for MPCores in Secure World\r
319 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0\r
320 # Stacks for MPCores in Monitor Mode\r
321 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0\r
322 # Stacks for MPCores in Normal World\r
323 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0\r
324\r
325 gArmTokenSpaceGuid.PcdSystemMemoryBase|0\r
326 gArmTokenSpaceGuid.PcdSystemMemorySize|0\r
327\r
328################################################################################\r
329#\r
330# Components Section - list of all EDK II Modules needed by this Platform\r
331#\r
332################################################################################\r
333[Components.common]\r
334 \r
335 #\r
336 # SEC\r
337 #\r
338 ArmPlatformPkg/Sec/Sec.inf\r
339 \r
340 #\r
341 # PEI Phase modules\r
342 #\r
343 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {\r
344 <LibraryClasses>\r
345 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r
346\r
347 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
348 }\r
349 MdeModulePkg/Core/Pei/PeiMain.inf\r
350 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
351 <LibraryClasses>\r
352 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
353 }\r
354 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
355 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
356 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
357 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
358 Nt32Pkg/BootModePei/BootModePei.inf\r
359 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
360 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
361 <LibraryClasses>\r
362 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
363 }\r
364\r
365 #\r
366 # DXE\r
367 #\r
368 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
369 <LibraryClasses>\r
370 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
371 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
372 }\r
373\r
374 #\r
375 # Architectural Protocols\r
376 #\r
377 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
378 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
379 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
380 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
381 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
504d1460 382 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
12fcdcb8 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
504d1460 389 # Simple TextIn/TextOut for UEFI Terminal\r
390 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
391 \r
12fcdcb8 392 #\r
393 # Semi-hosting filesystem\r
394 #\r
395 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
396 \r
397 #\r
398 # FAT filesystem + GPT/MBR partitioning\r
399 #\r
400 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
401 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
402 FatPkg/EnhancedFatDxe/Fat.inf\r
403 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
404 \r
405 #\r
406 # Application\r
407 # \r
408 EmbeddedPkg/Ebl/Ebl.inf\r
409\r
410 #\r
411 # Bds\r
412 #\r
413 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
414 ArmPlatformPkg/Bds/Bds.inf\r
415