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