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