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