]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirt.dsc.inc
7ec0de43445911b4ffe6fbf71642953079c19e79
[mirror_edk2.git] / ArmVirtPkg / ArmVirt.dsc.inc
1 #
2 # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3 # Copyright (c) 2014, Linaro Limited. All rights reserved.
4 # Copyright (c) 2015, Intel Corporation. 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 [Defines]
17 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
18
19 [LibraryClasses.common]
20 !if $(TARGET) == RELEASE
21 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
22 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
23 !else
24 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
25 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
26 !endif
27 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
28
29 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
30 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
31 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
32 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
33 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
34 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
35 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
36 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
37 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
38
39 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
40 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
41 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
42 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
43 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
44 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
45 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
46 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
47 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
48 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
49
50 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
51 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
52
53 #
54 # Allow dynamic PCDs
55 #
56 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
57
58 # 1/123 faster than Stm or Vstm version
59 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
60 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
61
62 # Networking Requirements
63 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
64 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
65 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
66 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
67
68 # ARM Architectural Libraries
69 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
70 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
71 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
72 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
73 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
74 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
75 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
76 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
77 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
78 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
79
80 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
81 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
82 EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
83
84 # ARM PL031 RTC Driver
85 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
86 # ARM PL011 UART Driver
87 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
88 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
89 SerialPortExtLib|EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf
90
91 #
92 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
93 # in the debugger will show load and unload commands for symbols. You can cut and paste this
94 # into the command window to load symbols. We should be able to use a script to do this, but
95 # the version of RVD I have does not support scripts accessing system memory.
96 #
97 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
98 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
99 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
100
101 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
102 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
103
104 # BDS Libraries
105 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
106 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
107
108 # PCI Libraries
109 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
110 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
111
112 # USB Libraries
113 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
114
115 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
116
117 #
118 # Secure Boot dependencies
119 #
120 !if $(SECURE_BOOT_ENABLE) == TRUE
121 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
122 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
123 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
124 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
125 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
126
127 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
128 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
129 !else
130 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
131 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
132 !endif
133
134 [LibraryClasses.common.SEC]
135 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
136 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
137 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
138
139 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
140 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
141 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
144 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
145 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
146
147 [LibraryClasses.common.PEI_CORE]
148 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
149 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
150 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
152 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
153 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
154 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
155 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
156 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
157 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
158 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
159
160 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
161 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
162 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
163
164 [LibraryClasses.common.PEIM]
165 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
166 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
167 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
168 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
169 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
170 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
171 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
172 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
173 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
174 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
175 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
176 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
177
178 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
179 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
180 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
181
182 [LibraryClasses.common.DXE_CORE]
183 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
184 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
185 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
186 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
187 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
188 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
189 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
190 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
191
192 [LibraryClasses.common.DXE_DRIVER]
193 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
194 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
195 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
196 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
197 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
198 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
199
200 [LibraryClasses.common.UEFI_APPLICATION]
201 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
202 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.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 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
216 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
217 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
218
219 !if $(SECURE_BOOT_ENABLE) == TRUE
220 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
221 !endif
222
223 [LibraryClasses.ARM]
224 #
225 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
226 # This library provides the instrinsic functions generate by a given compiler.
227 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
228 #
229 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
230
231 # Add support for GCC stack protector
232 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
233
234 [LibraryClasses.AARCH64]
235 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
236
237
238 [BuildOptions]
239 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
240
241 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
242
243 ################################################################################
244 #
245 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
246 #
247 ################################################################################
248
249 [PcdsFeatureFlag.common]
250 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
251 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
252 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
253 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
254
255 #
256 # Control what commands are supported from the UI
257 # Turn these on and off to add features or save size
258 #
259 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
260 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
261 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
262 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
263 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
264 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
265 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
266
267 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
268
269 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
270 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
271
272 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
273
274 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
275
276 [PcdsFixedAtBuild.common]
277 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Virtualization Platform"
278
279 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
280 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
281 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
282 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
283 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
284 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
285 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
286 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
287
288 # DEBUG_ASSERT_ENABLED 0x01
289 # DEBUG_PRINT_ENABLED 0x02
290 # DEBUG_CODE_ENABLED 0x04
291 # CLEAR_MEMORY_ENABLED 0x08
292 # ASSERT_BREAKPOINT_ENABLED 0x10
293 # ASSERT_DEADLOOP_ENABLED 0x20
294 !if $(TARGET) == RELEASE
295 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
296 !else
297 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
298 !endif
299
300 # DEBUG_INIT 0x00000001 // Initialization
301 # DEBUG_WARN 0x00000002 // Warnings
302 # DEBUG_LOAD 0x00000004 // Load events
303 # DEBUG_FS 0x00000008 // EFI File system
304 # DEBUG_POOL 0x00000010 // Alloc & Free's
305 # DEBUG_PAGE 0x00000020 // Alloc & Free's
306 # DEBUG_INFO 0x00000040 // Informational debug messages
307 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
308 # DEBUG_VARIABLE 0x00000100 // Variable
309 # DEBUG_BM 0x00000400 // Boot Manager
310 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
311 # DEBUG_NET 0x00004000 // SNI Driver
312 # DEBUG_UNDI 0x00010000 // UNDI Driver
313 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
314 # DEBUG_EVENT 0x00080000 // Event messages
315 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
316 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
317 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
318 # // significantly impact boot performance
319 # DEBUG_ERROR 0x80000000 // Error
320 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
321
322 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
323
324 #
325 # Optional feature to help prevent EFI memory map fragments
326 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
327 # Values are in EFI Pages (4K). DXE Core will make sure that
328 # at least this much of each type of memory can be allocated
329 # from a single memory range. This way you only end up with
330 # maximum of two fragements for each type in the memory map
331 # (the memory used, and the free memory that was prereserved
332 # but not used).
333 #
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
337 !if $(SECURE_BOOT_ENABLE) == TRUE
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
339 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
340 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
341 !else
342 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
344 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
345 !endif
346 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
348 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
349
350 #
351 # ARM Pcds
352 #
353 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
354
355 !if $(SECURE_BOOT_ENABLE) == TRUE
356 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
357 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
358 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
359 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
360 !endif
361
362 [Components.common]
363 #
364 # Networking stack
365 #
366 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
367 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
368 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
369 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
370 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
371 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
372 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
373 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
374 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
375 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
376 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
377 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
378
379 #
380 # UEFI application (Shell Embedded Boot Loader)
381 #
382 ShellPkg/Application/Shell/Shell.inf {
383 <LibraryClasses>
384 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
385 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
386 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
387 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
388 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
389 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
390 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
391 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
392 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
393 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
394 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
395 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
396 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
397 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
398
399 <PcdsFixedAtBuild>
400 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
401 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
402 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
403 }