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