]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmPlatformPkg/BootMonFs: Fix error codes returned by Open() and Read()
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress.dsc.inc
1 #
2 # Copyright (c) 2011-2014, ARM Limited. All rights reserved.
3 #
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 #
13
14 [LibraryClasses.common]
15 !if $(TARGET) == RELEASE
16 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
17 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
18 !else
19 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
20 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
21 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
22 !endif
23 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
24
25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
26 BasePathLib|MdeModulePkg/Library/BasePathLib/BasePathLib.inf
27 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
28 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
29 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
30 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
31 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
32 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
33 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
34 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
35
36 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
37 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
38 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
40 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
42 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
43 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
46
47 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
48
49 #
50 # Assume everything is fixed at build
51 #
52 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53
54 # 1/123 faster than Stm or Vstm version
55 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
56 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
57
58 # Networking Requirements
59 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
60 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
61 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
62 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
63
64 # ARM Architectural Libraries
65 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
66 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
67 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
68 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
69 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
70 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
71 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
72 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
73 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
74
75 # Versatile Express Specific Libraries
76 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
77 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
78 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
79 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf
80 # ARM PL111 Lcd Driver
81 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
82 # ARM PL031 RTC Driver
83 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
84 # ARM PL354 SMC Driver
85 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
86 # ARM PL011 UART Driver
87 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
88 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
89 SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf
90 # ARM SP804 Dual Timer Driver
91 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
92
93 # EBL Related Libraries
94 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
95 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
96 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
97 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
98
99 #
100 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
101 # in the debugger will show load and unload commands for symbols. You can cut and paste this
102 # into the command window to load symbols. We should be able to use a script to do this, but
103 # the version of RVD I have does not support scripts accessing system memory.
104 #
105 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
106 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
107 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
108
109 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
110 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
111
112 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
113
114 # BDS Libraries
115 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
116 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
117
118 # RunAxf support via Dynamic Shell Command protocol
119 # It uses the Shell libraries.
120 ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf
121 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
122 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
123 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
124
125 [LibraryClasses.common.SEC]
126 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
127 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
128
129 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
130 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
131
132 !ifdef $(EDK2_SKIP_PEICORE)
133 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
134 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
135 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
136 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
137 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
138 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
139 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
140 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
141 !endif
142
143 # Trustzone Support
144 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
145
146 [LibraryClasses.common.PEI_CORE]
147 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
148 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
149 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
150 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
151 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
152 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
153 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
154 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
155 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
156 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
157
158 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
159 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
160
161 [LibraryClasses.common.PEIM]
162 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
163 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
164 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
165 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
166 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
167 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
168 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
169 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
170 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
171 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
172 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
173
174 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
175 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
176
177 [LibraryClasses.common.DXE_CORE]
178 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
179 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
180 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
182 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
183 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
184 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
185 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
186
187 [LibraryClasses.common.DXE_DRIVER]
188 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
189 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
190 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
193 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
194
195 [LibraryClasses.common.UEFI_APPLICATION]
196 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
197 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
198 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
199 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
200
201 [LibraryClasses.common.UEFI_DRIVER]
202 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
203 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
204 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
205 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
206 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
207 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
208
209 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
210 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
211 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
212 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
213 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
214
215 [LibraryClasses.ARM, LibraryClasses.AARCH64]
216 #
217 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
218 # This library provides the instrinsic functions generate by a given compiler.
219 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
220 #
221 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
222
223 # Add support for GCC stack protector
224 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
225
226
227 [BuildOptions]
228 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
229
230 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
231
232 ################################################################################
233 #
234 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
235 #
236 ################################################################################
237
238 [PcdsFeatureFlag.common]
239 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
240 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
241 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
242 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
243
244 #
245 # Control what commands are supported from the UI
246 # Turn these on and off to add features or save size
247 #
248 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
250 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
251 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
252 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
253 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
254 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
255
256 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
257
258 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
259 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
260
261 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
262
263 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
264
265 [PcdsFixedAtBuild.common]
266 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
267 !ifdef $(FIRMWARE_VER)
268 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
269 !endif
270
271 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
274 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
275 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
276 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
277 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
278 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
279 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
280
281 # DEBUG_ASSERT_ENABLED 0x01
282 # DEBUG_PRINT_ENABLED 0x02
283 # DEBUG_CODE_ENABLED 0x04
284 # CLEAR_MEMORY_ENABLED 0x08
285 # ASSERT_BREAKPOINT_ENABLED 0x10
286 # ASSERT_DEADLOOP_ENABLED 0x20
287 !if $(TARGET) == RELEASE
288 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
289 !else
290 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
291 !endif
292
293 # DEBUG_INIT 0x00000001 // Initialization
294 # DEBUG_WARN 0x00000002 // Warnings
295 # DEBUG_LOAD 0x00000004 // Load events
296 # DEBUG_FS 0x00000008 // EFI File system
297 # DEBUG_POOL 0x00000010 // Alloc & Free's
298 # DEBUG_PAGE 0x00000020 // Alloc & Free's
299 # DEBUG_INFO 0x00000040 // Verbose
300 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
301 # DEBUG_VARIABLE 0x00000100 // Variable
302 # DEBUG_BM 0x00000400 // Boot Manager
303 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
304 # DEBUG_NET 0x00004000 // SNI Driver
305 # DEBUG_UNDI 0x00010000 // UNDI Driver
306 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
307 # DEBUG_EVENT 0x00080000 // Event messages
308 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
309 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
310 # DEBUG_ERROR 0x80000000 // Error
311 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
312
313 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
314
315 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
318
319 #
320 # Optional feature to help prevent EFI memory map fragments
321 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
322 # Values are in EFI Pages (4K). DXE Core will make sure that
323 # at least this much of each type of memory can be allocated
324 # from a single memory range. This way you only end up with
325 # maximum of two fragements for each type in the memory map
326 # (the memory used, and the free memory that was prereserved
327 # but not used).
328 #
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
338
339 # Device path of block device on which Android Fastboot should flash
340 # partitions. We just use the SD card on VExpress.
341 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"
342
343 #
344 # ARM Pcds
345 #
346 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
347
348 #
349 # ARM PrimeCell
350 #
351
352 #
353 # FileSystem
354 #
355
356 # List of Device Paths that support BootMonFs
357 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"
358
359 #
360 # ARM OS Loader
361 #
362 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
363 gArmTokenSpaceGuid.PcdArmMachineType|2272
364 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
365 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
366 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
367
368 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
369 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
370 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
371 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
372
373 # RunAxf support via Dynamic Shell Command protocol
374 # We want to use the Shell Libraries but don't want it to initialise
375 # automatically. We initialise the libraries when the command is called by the
376 # Shell.
377 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
378
379 [Components.common]
380 # Versatile Express FileSystem
381 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf
382
383 #
384 # Networking stack
385 #
386 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
387 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
388 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
389 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
390 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
391 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
392 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
393 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
394 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
395 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
396 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
397 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
398
399 # ISP1761 USB OTG Controller
400 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
401
402 #
403 # Android Fastboot
404 #
405 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
406 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
407 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf