blob: 8626919f3a2c35426ee541eee28b18ef27004290 [file] [log] [blame]
Michael Casadevall6f5872b2014-09-18 18:11:24 +00001#
Ronald Cron04f1a702015-02-26 10:54:39 +00002# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
Michael Casadevall6f5872b2014-09-18 18:11:24 +00003# Copyright (c) 2014, Linaro Limited. All rights reserved.
Star Zeng31c03382015-07-01 03:07:02 +00004# Copyright (c) 2015, Intel Corporation. All rights reserved.
Michael Casadevall6f5872b2014-09-18 18:11:24 +00005#
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
Laszlo Ersekd3019912015-03-02 16:19:41 +000016[Defines]
17 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
Laszlo Erseka51c1692015-07-09 06:24:25 +000018 DEFINE TTY_TERMINAL = FALSE
Laszlo Ersekd3019912015-03-02 16:19:41 +000019
Ard Biesheuvel955b4942015-10-01 14:01:16 +000020[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
21 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
Ard Biesheuvel5670dd52015-08-03 08:23:26 +000022 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
Ard Biesheuvel093b7c82015-07-06 15:58:00 +000023
Michael Casadevall6f5872b2014-09-18 18:11:24 +000024[LibraryClasses.common]
25!if $(TARGET) == RELEASE
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
27 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
28!else
29 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
30 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
31!endif
32 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
33
34 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
35 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
36 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
38 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
39 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
40 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
41 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
42 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
43
44 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +000045 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000046 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
47 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
48 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
49 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
51 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
52 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
53 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
54
55 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
Laszlo Ersek1c5adbe2015-02-02 19:09:07 +000056 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000057
58 #
59 # Allow dynamic PCDs
60 #
61 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
62
63 # 1/123 faster than Stm or Vstm version
64 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
65 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
66
67 # Networking Requirements
68 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
69 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
70 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
71 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
72
Mark Rutlandf8136622015-10-16 15:23:46 +000073 #
74 # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
75 # This library provides the instrinsic functions such a compiler may generate calls to.
76 #
77 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
78
79 # Add support for GCC stack protector
80 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
81
Michael Casadevall6f5872b2014-09-18 18:11:24 +000082 # ARM Architectural Libraries
83 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
84 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
85 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
86 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
87 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
88 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
Ard Biesheuvel15c9b252015-07-28 20:45:36 +000089 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000090 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
91 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
92 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
93 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
94
Olivier Martin7fbd1eb2015-05-29 13:50:43 +000095 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
96 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
97 EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000098
99 # ARM PL031 RTC Driver
100 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
101 # ARM PL011 UART Driver
102 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000103 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000104 SerialPortExtLib|EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf
105
106 #
107 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
108 # in the debugger will show load and unload commands for symbols. You can cut and paste this
109 # into the command window to load symbols. We should be able to use a script to do this, but
110 # the version of RVD I have does not support scripts accessing system memory.
111 #
112 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
113 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
114 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
115
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
117 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
118
Ard Biesheuvel1c51e602015-08-04 18:41:19 +0000119 # Flattened Device Tree (FDT) access library
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000120 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
121
Laszlo Ersek10233c92015-02-23 16:04:11 +0000122 # PCI Libraries
123 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000124 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
Laszlo Ersek10233c92015-02-23 16:04:11 +0000125
Laszlo Erseke17b1db2015-02-23 16:04:30 +0000126 # USB Libraries
127 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
128
Ard Biesheuvel6abe83c2015-02-28 20:34:26 +0000129 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
130
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000131 #
132 # Secure Boot dependencies
133 #
134!if $(SECURE_BOOT_ENABLE) == TRUE
135 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
136 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
137 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Star Zeng31c03382015-07-01 03:07:02 +0000138 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000139 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
140
141 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
142 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
Star Zeng31c03382015-07-01 03:07:02 +0000143!else
144 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
145 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000146!endif
Star Zeng0bdbaad2015-08-25 03:00:20 +0000147 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000148
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000149[LibraryClasses.common.SEC]
150 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
151 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
152 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
153
154 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
155 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000156 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000157 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
158 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
159 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
160 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
161
162[LibraryClasses.common.PEI_CORE]
163 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
164 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
165 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
166 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
167 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
168 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
169 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
170 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
171 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
172 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
173 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
174
175 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
176 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000177 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000178
179[LibraryClasses.common.PEIM]
180 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
181 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
182 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
183 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
184 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
185 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
186 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
187 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
188 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
189 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
190 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
191 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
192
193 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
194 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000195 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000196
197[LibraryClasses.common.DXE_CORE]
198 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
199 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
200 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
201 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
202 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
203 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
204 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
205 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
206
207[LibraryClasses.common.DXE_DRIVER]
208 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
209 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
210 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
211 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
214
215[LibraryClasses.common.UEFI_APPLICATION]
216 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
217 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
218 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
219 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
Ard Biesheuvel90385382015-08-04 18:41:45 +0000220 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
221 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
222 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000223
224[LibraryClasses.common.UEFI_DRIVER]
225 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
226 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
227 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
228 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
229 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
230 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
231
232[LibraryClasses.common.DXE_RUNTIME_DRIVER]
233 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
234 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
235 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
236
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000237!if $(SECURE_BOOT_ENABLE) == TRUE
238 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
239!endif
240
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000241[BuildOptions]
242 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
243
244 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
245
246################################################################################
247#
248# Pcd Section - list of all EDK II PCD Entries defined by this Platform
249#
250################################################################################
251
252[PcdsFeatureFlag.common]
253 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
254 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
255 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
256 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
257
258 #
259 # Control what commands are supported from the UI
260 # Turn these on and off to add features or save size
261 #
262 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
263 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
264 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
265 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
266 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
267 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
268 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
269
270 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
271
272 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
273 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
274
275 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
276
277 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
278
279[PcdsFixedAtBuild.common]
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000280 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
281 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
282 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
283 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
284 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
285 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
286 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
287 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
288
289 # DEBUG_ASSERT_ENABLED 0x01
290 # DEBUG_PRINT_ENABLED 0x02
291 # DEBUG_CODE_ENABLED 0x04
292 # CLEAR_MEMORY_ENABLED 0x08
293 # ASSERT_BREAKPOINT_ENABLED 0x10
294 # ASSERT_DEADLOOP_ENABLED 0x20
295!if $(TARGET) == RELEASE
296 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
297!else
298 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
299!endif
300
301 # DEBUG_INIT 0x00000001 // Initialization
302 # DEBUG_WARN 0x00000002 // Warnings
303 # DEBUG_LOAD 0x00000004 // Load events
304 # DEBUG_FS 0x00000008 // EFI File system
305 # DEBUG_POOL 0x00000010 // Alloc & Free's
306 # DEBUG_PAGE 0x00000020 // Alloc & Free's
Laszlo Ersekd3019912015-03-02 16:19:41 +0000307 # DEBUG_INFO 0x00000040 // Informational debug messages
308 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000309 # DEBUG_VARIABLE 0x00000100 // Variable
310 # DEBUG_BM 0x00000400 // Boot Manager
311 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
312 # DEBUG_NET 0x00004000 // SNI Driver
313 # DEBUG_UNDI 0x00010000 // UNDI Driver
314 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
315 # DEBUG_EVENT 0x00080000 // Event messages
316 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
317 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
Laszlo Ersekd3019912015-03-02 16:19:41 +0000318 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
319 # // significantly impact boot performance
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000320 # DEBUG_ERROR 0x80000000 // Error
Laszlo Ersekd3019912015-03-02 16:19:41 +0000321 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000322
323 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
324
325 #
326 # Optional feature to help prevent EFI memory map fragments
327 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
328 # Values are in EFI Pages (4K). DXE Core will make sure that
329 # at least this much of each type of memory can be allocated
330 # from a single memory range. This way you only end up with
331 # maximum of two fragements for each type in the memory map
332 # (the memory used, and the free memory that was prereserved
333 # but not used).
334 #
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
Ard Biesheuvele0bb8ad2015-06-16 14:27:18 +0000338!if $(SECURE_BOOT_ENABLE) == TRUE
339 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
340 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
341 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
342!else
Ard Biesheuvelc1993152015-06-03 16:11:47 +0000343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
344 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
345 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
Ard Biesheuvele0bb8ad2015-06-16 14:27:18 +0000346!endif
Ard Biesheuvel2f71ad12015-09-22 15:50:30 +0000347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000348 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
350
351 #
352 # ARM Pcds
353 #
354 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
355
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000356!if $(SECURE_BOOT_ENABLE) == TRUE
357 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
358 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
359 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
360 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
361!endif
362
Laszlo Erseka51c1692015-07-09 06:24:25 +0000363!if $(TTY_TERMINAL) == TRUE
364 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
365 gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
366!endif
367
Ard Biesheuvel5f6ed462015-09-09 14:48:41 +0000368[PcdsFixedAtBuild.ARM]
369 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40
370
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000371[Components.common]
372 #
373 # Networking stack
374 #
375 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
376 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
377 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000378 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
379 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
380 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
381 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
382 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
383 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
384 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
385 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersekda1ce6f2015-03-16 19:56:54 +0000386
387 #
388 # UEFI application (Shell Embedded Boot Loader)
389 #
390 ShellPkg/Application/Shell/Shell.inf {
391 <LibraryClasses>
392 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
393 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
394 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
395 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
396 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
397 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
398 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
399 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
Laszlo Ersek5236e092015-09-25 17:23:03 +0000400 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
Laszlo Ersekda1ce6f2015-03-16 19:56:54 +0000401 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
Laszlo Ersekda1ce6f2015-03-16 19:56:54 +0000402 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
403 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
404
405 <PcdsFixedAtBuild>
406 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
407 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
408 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
409 }