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