1#
2#  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
3#  Copyright (c) 2016, Hisilicon Limited. All rights reserved.
4#  Copyright (c) 2016, Linaro Limited. All rights reserved.
5#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution.  The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#
15
16[LibraryClasses.common]
17!if $(TARGET) == RELEASE
18  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
19  UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
20!else
21  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
22  UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
23!endif
24  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
25
26  BaseLib|MdePkg/Library/BaseLib/BaseLib.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  OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
49  #
50  # Allow dynamic PCDs
51  #
52  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
53
54  BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
55
56  # ARM Architectural Libraries
57  CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
58  DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
59  CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
60  ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
61  DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
62  ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
63  ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
64  ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
65  ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
66  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
67
68  # Versatile Express Specific Libraries
69  ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
70  NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
71  EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
72  # ARM PL111 Lcd Driver
73  LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
74
75  # ARM PL354 SMC Driver
76  PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
77  # ARM PL011 UART Driver
78  PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
79
80  SerialPortLib|OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf
81  TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
82
83  # EBL Related Libraries
84  EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
85  EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
86  EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
87  EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
88
89  UefiDevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
90  #
91  # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
92  # in the debugger will show load and unload commands for symbols. You can cut and paste this
93  # into the command window to load symbols. We should be able to use a script to do this, but
94  # the version of RVD I have does not support scripts accessing system memory.
95  #
96  #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
97  #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
98  PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
99
100  DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
101  DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
102
103  SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
104
105  TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
106  AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
107
108  # BDS Libraries
109  BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
110  FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
111  UefiDevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
112
113  VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
114
115  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
116  LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
117
118  # Use ArmCortexA5xLib to get A57 specific functions
119  ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.inf
120
121  #
122  # It is not possible to prevent the ARM compiler for generic intrinsic functions.
123  # This library provides the instrinsic functions generate by a given compiler.
124  # And NULL mean link this library into all ARM images.
125  #
126  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
127
128  # Add support for GCC stack protector
129  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
130
131[LibraryClasses.common.SEC]
132  ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
133
134  DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
135
136  # Trustzone Support
137  ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
138
139  ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
140  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
141  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
142
143[LibraryClasses.common.PEI_CORE]
144  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
145  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
146  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
147  PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
148  PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
149  ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
150  OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
151  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
152  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
153  ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
154
155  PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
156  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
157  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
158
159[LibraryClasses.common.PEIM]
160  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
161  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
162  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
163  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
164  PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
165  ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
166  OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
167  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
168  PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
169  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
170  ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
171
172  PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
173
174  ## Fixed compile error after upgrade to 14.10
175  PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
176  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
177  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
178  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
179
180[LibraryClasses.common.DXE_CORE]
181  HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
182  MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
183  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
184  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
185  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
186  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
187  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
188  PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
189
190[LibraryClasses.common.DXE_DRIVER]
191  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
192  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
193  SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
194  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
195  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
196
197[LibraryClasses.common.UEFI_APPLICATION]
198  UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
199  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
200  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
201  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
202  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
203  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
204  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
205
206[LibraryClasses.common.UEFI_DRIVER]
207  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
208  UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
209  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
210  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
211  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
212  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213
214[LibraryClasses.common.DXE_RUNTIME_DRIVER]
215  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
216  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
217  ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
218  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
219  SerialPortLib|OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortRuntimeLib/Dw8250SerialPortRuntimeLib.inf
220  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
221
222[LibraryClasses.AARCH64]
223  ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
224
225[BuildOptions]
226  RVCT:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
227  GCC:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
228
229[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
230  GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
231  GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
232
233################################################################################
234#
235# Pcd Section - list of all EDK II PCD Entries defined by this Platform
236#
237################################################################################
238
239[PcdsFeatureFlag.common]
240  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
241  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
242  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
243  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
244
245  #
246  # Control what commands are supported from the UI
247  # Turn these on and off to add features or save size
248  #
249  ## Set PcdEmbeddedMacBoot to FALSE, or console mode will be changed when
250  ## entering EBL and not restored when exiting.
251  gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE
252  gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
253  gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
254  gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
255  gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
256  gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
257  gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
258
259  gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
260
261  # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
262  gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
263
264  gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
265
266  gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
267
268  gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
269
270  gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|TRUE
271
272[PcdsFixedAtBuild.common]
273  gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
274
275  gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
276  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|44
277  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
278  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
279  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
280  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
281  gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
282  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
283  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
284  gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
285  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
286
287  # DEBUG_ASSERT_ENABLED       0x01
288  # DEBUG_PRINT_ENABLED        0x02
289  # DEBUG_CODE_ENABLED         0x04
290  # CLEAR_MEMORY_ENABLED       0x08
291  # ASSERT_BREAKPOINT_ENABLED  0x10
292  # ASSERT_DEADLOOP_ENABLED    0x20
293!if $(TARGET) == RELEASE
294  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0e
295!else
296  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
297!endif
298
299  #  DEBUG_INIT      0x00000001  // Initialization
300  #  DEBUG_WARN      0x00000002  // Warnings
301  #  DEBUG_LOAD      0x00000004  // Load events
302  #  DEBUG_FS        0x00000008  // EFI File system
303  #  DEBUG_POOL      0x00000010  // Alloc & Free's
304  #  DEBUG_PAGE      0x00000020  // Alloc & Free's
305  #  DEBUG_INFO      0x00000040  // Verbose
306  #  DEBUG_DISPATCH  0x00000080  // PEI/DXE Dispatchers
307  #  DEBUG_VARIABLE  0x00000100  // Variable
308  #  DEBUG_BM        0x00000400  // Boot Manager
309  #  DEBUG_BLKIO     0x00001000  // BlkIo Driver
310  #  DEBUG_NET       0x00004000  // SNI Driver
311  #  DEBUG_UNDI      0x00010000  // UNDI Driver
312  #  DEBUG_LOADFILE  0x00020000  // UNDI Driver
313  #  DEBUG_EVENT     0x00080000  // Event messages
314  #  DEBUG_ERROR     0x80000000  // Error
315
316  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004
317  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
318  gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
319  gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
320  gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
321
322  #
323  # Optional feature to help prevent EFI memory map fragments
324  # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
325  # Values are in EFI Pages (4K). DXE Core will make sure that
326  # at least this much of each type of memory can be allocated
327  # from a single memory range. This way you only end up with
328  # maximum of two fragements for each type in the memory map
329  # (the memory used, and the free memory that was prereserved
330  # but not used).
331  #
332  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
333  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
334  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
335  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
336  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
337  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
338  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
339  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
340  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
341
342  #
343  # ARM Pcds
344  #
345  gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
346
347  #
348  # ARM PrimeCell
349  #
350
351  #
352  # ARM OS Loader
353  #
354  # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
355  gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
356  gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
357  gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""
358
359  # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
360  gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
361  gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
362
363  # Set timer interrupt to be triggerred in 1ms to avoid missing
364  # serial terminal input characters.
365  gEmbeddedTokenSpaceGuid.PcdTimerPeriod|10000
366  gArmTokenSpaceGuid.PcdVFPEnabled|1
367  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|32
368
369[PcdsDynamicHii.common.DEFAULT]
370  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout"
371
372