]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ArmVirtPkg/ArmVirtQemu.dsc
ArmPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
[mirror_edk2.git] / ArmVirtPkg / ArmVirtQemu.dsc
... / ...
CommitLineData
1#\r
2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
3# Copyright (c) 2014, Linaro Limited. All rights reserved.\r
4# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.\r
5#\r
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7#\r
8#\r
9\r
10################################################################################\r
11#\r
12# Defines Section - statements that will be processed to create a Makefile.\r
13#\r
14################################################################################\r
15[Defines]\r
16 PLATFORM_NAME = ArmVirtQemu\r
17 PLATFORM_GUID = 37d7e986-f7e9-45c2-8067-e371421a626c\r
18 PLATFORM_VERSION = 0.1\r
19 DSC_SPECIFICATION = 0x00010005\r
20 OUTPUT_DIRECTORY = Build/ArmVirtQemu-$(ARCH)\r
21 SUPPORTED_ARCHITECTURES = AARCH64|ARM\r
22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
23 SKUID_IDENTIFIER = DEFAULT\r
24 FLASH_DEFINITION = ArmVirtPkg/ArmVirtQemu.fdf\r
25\r
26 #\r
27 # Defines for default states. These can be changed on the command line.\r
28 # -D FLAG=VALUE\r
29 #\r
30 DEFINE TTY_TERMINAL = FALSE\r
31 DEFINE SECURE_BOOT_ENABLE = FALSE\r
32 DEFINE TPM2_ENABLE = FALSE\r
33 DEFINE TPM2_CONFIG_ENABLE = FALSE\r
34\r
35 #\r
36 # Network definition\r
37 #\r
38 DEFINE NETWORK_IP6_ENABLE = FALSE\r
39 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
40 DEFINE NETWORK_SNP_ENABLE = FALSE\r
41 DEFINE NETWORK_TLS_ENABLE = FALSE\r
42 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
43 DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
44\r
45!if $(NETWORK_SNP_ENABLE) == TRUE\r
46 !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"\r
47!endif\r
48\r
49!include NetworkPkg/NetworkDefines.dsc.inc\r
50\r
51!include ArmVirtPkg/ArmVirt.dsc.inc\r
52\r
53[LibraryClasses.common]\r
54 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
55 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
56\r
57 # Virtio Support\r
58 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
59 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
60 QemuFwCfgLib|ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
61 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf\r
62 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf\r
63 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf\r
64\r
65 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf\r
66\r
67 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
68 NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf\r
69\r
70 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
71 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
72 PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
73 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
74 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
75 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
76 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
77 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
78 PciPcdProducerLib|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
79 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
80 PciHostBridgeLib|ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf\r
81 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
82\r
83!if $(TPM2_ENABLE) == TRUE\r
84 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
85 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
86 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
87!else\r
88 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
89!endif\r
90\r
91[LibraryClasses.common.PEIM]\r
92 ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf\r
93\r
94!if $(TPM2_ENABLE) == TRUE\r
95 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
96 ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf\r
97 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
98!endif\r
99\r
100[LibraryClasses.common.DXE_DRIVER]\r
101 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
102\r
103!if $(TPM2_ENABLE) == TRUE\r
104 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
105!endif\r
106\r
107[LibraryClasses.common.UEFI_DRIVER]\r
108 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
109\r
110[BuildOptions]\r
111!include NetworkPkg/NetworkBuildOptions.dsc.inc\r
112\r
113################################################################################\r
114#\r
115# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
116#\r
117################################################################################\r
118\r
119[PcdsFeatureFlag.common]\r
120 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE\r
121 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE\r
122\r
123 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
124 # It could be set FALSE to save size.\r
125 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
126 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
127\r
128 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
129\r
130 gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|$(TPM2_ENABLE)\r
131\r
132[PcdsFixedAtBuild.common]\r
133!if $(ARCH) == AARCH64\r
134 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
135!endif\r
136\r
137 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4007c000\r
138 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
139 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
140 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
141!if $(NETWORK_TLS_ENABLE) == TRUE\r
142 #\r
143 # The cumulative and individual VOLATILE variable size limits should be set\r
144 # high enough for accommodating several and/or large CA certificates.\r
145 #\r
146 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
147 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
148!endif\r
149\r
150 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
151 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
152\r
153 #\r
154 # ARM PrimeCell\r
155 #\r
156\r
157 ## PL011 - Serial Terminal\r
158 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
159\r
160 ## Default Terminal Type\r
161 ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
162!if $(TTY_TERMINAL) == TRUE\r
163 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r
164 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID\r
165 gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}\r
166!else\r
167 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
168!endif\r
169\r
170 #\r
171 # ARM Virtual Architectural Timer -- fetch frequency from QEMU (TCG) or KVM\r
172 #\r
173 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r
174\r
175 #\r
176 # Network Pcds\r
177 #\r
178!include NetworkPkg/NetworkPcds.dsc.inc\r
179\r
180 # System Memory Base -- fixed at 0x4000_0000\r
181 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000\r
182\r
183 # initial location of the device tree blob passed by QEMU -- base of DRAM\r
184 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x40000000\r
185\r
186 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
187 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
188\r
189 #\r
190 # The maximum physical I/O addressability of the processor, set with\r
191 # BuildCpuHob().\r
192 #\r
193 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
194\r
195 #\r
196 # Enable the non-executable DXE stack. (This gets set up by DxeIpl)\r
197 #\r
198 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE\r
199\r
200!if $(SECURE_BOOT_ENABLE) == TRUE\r
201 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
202 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
203 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
204 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
205!endif\r
206\r
207 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|3\r
208 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r
209\r
210[PcdsFixedAtBuild.AARCH64]\r
211 # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point,\r
212 # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the\r
213 # presence of the 32-bit entry point anyway (because many AARCH64 systems\r
214 # don't have 32-bit addressable physical RAM), and the additional allocations\r
215 # below 4 GB needlessly fragment the memory map. So expose the 64-bit entry\r
216 # point only, for entry point versions >= 3.0.\r
217 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2\r
218\r
219[PcdsDynamicDefault.common]\r
220 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
221\r
222 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI\r
223 # enumeration to complete before installing ACPI tables.\r
224 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
225\r
226 # System Memory Size -- 1 MB initially, actual size will be fetched from DT\r
227 gArmTokenSpaceGuid.PcdSystemMemorySize|0x00100000\r
228\r
229 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r
230 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r
231 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r
232 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r
233\r
234 #\r
235 # ARM General Interrupt Controller\r
236 #\r
237 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
238 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
239 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
240\r
241 ## PL031 RealTimeClock\r
242 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r
243\r
244 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this\r
245 # PCD and PcdPciDisableBusEnumeration above have not been assigned yet\r
246 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF\r
247\r
248 gArmTokenSpaceGuid.PcdPciIoTranslation|0x0\r
249\r
250 #\r
251 # Set video resolution for boot options and for text setup.\r
252 # PlatformDxe can set the former at runtime.\r
253 #\r
254 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
255 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
256 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
257 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
258\r
259 #\r
260 # SMBIOS entry point version\r
261 #\r
262 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300\r
263 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
264 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
265\r
266 #\r
267 # IPv4 and IPv6 PXE Boot support.\r
268 #\r
269 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r
270 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r
271\r
272 #\r
273 # TPM2 support\r
274 #\r
275 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0\r
276!if $(TPM2_ENABLE) == TRUE\r
277 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
278 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0\r
279!endif\r
280\r
281[PcdsDynamicHii]\r
282 gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gArmVirtVariableGuid|0x0|FALSE|NV,BS\r
283\r
284!if $(TPM2_CONFIG_ENABLE) == TRUE\r
285 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
286 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
287!endif\r
288\r
289################################################################################\r
290#\r
291# Components Section - list of all EDK II Modules needed by this Platform\r
292#\r
293################################################################################\r
294[Components.common]\r
295 #\r
296 # PEI Phase modules\r
297 #\r
298 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf\r
299 MdeModulePkg/Core/Pei/PeiMain.inf\r
300 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
301 <LibraryClasses>\r
302 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
303 }\r
304 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
305 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
306 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
307\r
308 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
309\r
310!if $(TPM2_ENABLE) == TRUE\r
311 MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {\r
312 <LibraryClasses>\r
313 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf\r
314 }\r
315 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
316 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
317 <LibraryClasses>\r
318 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
319 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
320 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
321 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
322 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
323 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
324 }\r
325!endif\r
326\r
327 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
328 <LibraryClasses>\r
329 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
330 }\r
331\r
332 #\r
333 # DXE\r
334 #\r
335 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
336 <LibraryClasses>\r
337 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
338 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
339 }\r
340 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
341 <LibraryClasses>\r
342 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
343 }\r
344\r
345 #\r
346 # Architectural Protocols\r
347 #\r
348 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
349 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
350 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
351 <LibraryClasses>\r
352 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
353 NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf\r
354 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region\r
355 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
356 }\r
357!if $(SECURE_BOOT_ENABLE) == TRUE\r
358 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
359 <LibraryClasses>\r
360 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
361!if $(TPM2_ENABLE) == TRUE\r
362 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
363!endif\r
364 }\r
365 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
366 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
367!else\r
368 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
369!endif\r
370 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
371 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
372 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
373 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
374 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {\r
375 <LibraryClasses>\r
376 NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf\r
377 }\r
378 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
379\r
380 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
381 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
382 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
383 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
384 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
385\r
386 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
387\r
388 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
389 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r
390 <LibraryClasses>\r
391 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r
392 }\r
393 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
394 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
395\r
396 #\r
397 # Status Code Routing\r
398 #\r
399 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
400\r
401 #\r
402 # Platform Driver\r
403 #\r
404 ArmVirtPkg/VirtioFdtDxe/VirtioFdtDxe.inf\r
405 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r
406 ArmVirtPkg/HighMemDxe/HighMemDxe.inf\r
407 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
408 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
409 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
410 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
411\r
412 #\r
413 # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs\r
414 #\r
415 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
416 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
417 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
418 FatPkg/EnhancedFatDxe/Fat.inf\r
419 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
420 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r
421\r
422 #\r
423 # Bds\r
424 #\r
425 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
426 <LibraryClasses>\r
427 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
428 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
429 }\r
430 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
431 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
432 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
433 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
434 MdeModulePkg/Logo/LogoDxe.inf\r
435 MdeModulePkg/Application/UiApp/UiApp.inf {\r
436 <LibraryClasses>\r
437 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
438 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
439 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
440 }\r
441 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf\r
442\r
443 #\r
444 # Networking stack\r
445 #\r
446!include NetworkPkg/NetworkComponents.dsc.inc\r
447\r
448 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {\r
449 <LibraryClasses>\r
450 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf\r
451 }\r
452\r
453!if $(NETWORK_TLS_ENABLE) == TRUE\r
454 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
455 <LibraryClasses>\r
456 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
457 }\r
458!endif\r
459\r
460 #\r
461 # SCSI Bus and Disk Driver\r
462 #\r
463 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
464 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
465\r
466 #\r
467 # NVME Driver\r
468 #\r
469 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
470\r
471 #\r
472 # SMBIOS Support\r
473 #\r
474 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
475 <LibraryClasses>\r
476 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
477 }\r
478 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
479\r
480 #\r
481 # PCI support\r
482 #\r
483 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf {\r
484 <LibraryClasses>\r
485 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
486 }\r
487 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
488 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
489 <LibraryClasses>\r
490 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
491 }\r
492 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
493 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
494 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
495\r
496 #\r
497 # Video support\r
498 #\r
499 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
500 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
501 OvmfPkg/PlatformDxe/Platform.inf\r
502\r
503 #\r
504 # USB Support\r
505 #\r
506 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
507 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
508 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
509 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
510 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
511 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
512\r
513 #\r
514 # TPM2 support\r
515 #\r
516!if $(TPM2_ENABLE) == TRUE\r
517 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
518 <LibraryClasses>\r
519 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
520 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
521 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
522 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
523 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
524 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
525 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
526 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
527 }\r
528!if $(TPM2_CONFIG_ENABLE) == TRUE\r
529 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
530!endif\r
531!endif\r
532\r
533 #\r
534 # ACPI Support\r
535 #\r
536 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf\r
537[Components.AARCH64]\r
538 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
539 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf {\r
540 <LibraryClasses>\r
541 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
542 }\r