VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc@ 109019

Last change on this file since 109019 was 108794, checked in by vboxsync, 4 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 19.1 KB
Line 
1## @file
2# RISC-V EFI on RiscVVirtQem platform
3#
4# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
5# Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>
6#
7# SPDX-License-Identifier: BSD-2-Clause-Patent
8#
9##
10
11################################################################################
12#
13# Defines Section - statements that will be processed to create a Makefile.
14#
15################################################################################
16[Defines]
17 PLATFORM_NAME = RiscVVirtQemu
18 PLATFORM_GUID = 39DADB39-1B21-4867-838E-830B6149B9E0
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x0001001c
21 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
22 SUPPORTED_ARCHITECTURES = RISCV64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25 FLASH_DEFINITION = OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf
26
27 #
28 # Enable below options may cause build error or may not work on
29 # the initial version of RISC-V package
30 # Defines for default states. These can be changed on the command line.
31 # -D FLAG=VALUE
32 #
33 DEFINE TTY_TERMINAL = FALSE
34 DEFINE SECURE_BOOT_ENABLE = FALSE
35 DEFINE TPM2_ENABLE = FALSE
36 DEFINE TPM2_CONFIG_ENABLE = FALSE
37 DEFINE DEBUG_ON_SERIAL_PORT = TRUE
38
39 #
40 # Shell can be useful for debugging but should not be enabled for production
41 #
42 DEFINE BUILD_SHELL = TRUE
43
44 #
45 # Network definition
46 #
47 DEFINE NETWORK_IP6_ENABLE = FALSE
48 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
49 DEFINE NETWORK_SNP_ENABLE = FALSE
50 DEFINE NETWORK_TLS_ENABLE = FALSE
51 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
52 DEFINE NETWORK_ISCSI_ENABLE = FALSE
53 DEFINE NETWORK_PXE_BOOT_ENABLE = TRUE
54
55!if $(NETWORK_SNP_ENABLE) == TRUE
56 !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
57!endif
58
59
60!include MdePkg/MdeLibs.dsc.inc
61!include NetworkPkg/Network.dsc.inc
62
63[BuildOptions]
64 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
65!ifdef $(SOURCE_DEBUG_ENABLE)
66 GCC:*_*_RISCV64_GENFW_FLAGS = --keepexceptiontable
67!endif
68
69[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
70 GCC: *_*_*_DLINK_FLAGS = -z common-page-size=0x1000
71 MSFT: *_*_*_DLINK_FLAGS = /ALIGN:4096
72
73################################################################################
74#
75# Library Class section - list of all Library Classes needed by this Platform.
76#
77################################################################################
78
79!include OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc
80
81!include MdePkg/MdeLibs.dsc.inc
82
83[LibraryClasses.common]
84 # Virtio Support
85 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
86 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
87 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioDxeLib.inf
88 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
89 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
90 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
91
92 TimerLib|UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
93 VirtNorFlashPlatformLib|OvmfPkg/RiscVVirt/Library/VirtNorFlashPlatformLib/VirtNorFlashDeviceTreeLib.inf
94
95 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
96 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
97 PlatformBootManagerLib|OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
98 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
99 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
100 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
101 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
102 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
103 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
104 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
105 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
106 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
107 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
108 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
109 ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
110
111!if $(TPM2_ENABLE) == TRUE
112 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
113 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
114 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
115 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
116!else
117 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
118 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
119!endif
120
121[LibraryClasses.common.DXE_DRIVER]
122 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
123 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
124 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
125
126!if $(TPM2_ENABLE) == TRUE
127 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
128!endif
129
130[LibraryClasses.common.UEFI_DRIVER]
131 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
132 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
133
134################################################################################
135#
136# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
137#
138################################################################################
139[PcdsFeatureFlag.common]
140 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE
141 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE
142
143 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
144 # It could be set FALSE to save size.
145 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
146 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
147
148 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
149
150[PcdsFixedAtBuild.common]
151 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
152 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
153!if $(NETWORK_TLS_ENABLE) == TRUE
154 #
155 # The cumulative and individual VOLATILE variable size limits should be set
156 # high enough for accommodating several and/or large CA certificates.
157 #
158 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
159 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
160!endif
161
162 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"2.7"
163
164 # Serial Port
165 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
166 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10000000
167 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|9600
168 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
169 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|3686400
170 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
171
172 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
173 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
174
175!if $(SECURE_BOOT_ENABLE) == TRUE
176 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
177 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
178 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
179 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
180!endif
181
182 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
183 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x02
184 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
185 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
186 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
187
188 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
189
190[PcdsDynamicDefault.common]
191 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
192
193 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
194 # enumeration to complete before installing ACPI tables.
195 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
196
197 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
198 # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
199 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
200
201 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
202
203 #
204 # SMBIOS entry point version
205 #
206 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
207 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
208 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
209
210 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
211 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
212 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
213 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
214
215!include OvmfPkg/Include/Dsc/OvmfDisplayPcds.dsc.inc
216
217!include NetworkPkg/NetworkDynamicPcds.dsc.inc
218
219 #
220 # TPM2 support
221 #
222!if $(TPM2_ENABLE) == TRUE
223 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
224 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
225 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0
226!else
227[PcdsPatchableInModule]
228 # make this PCD patchable instead of dynamic when TPM support is not enabled
229 # this permits setting the PCD in unreachable code without pulling in dynamic PCD support
230 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
231!endif
232
233[PcdsDynamicHii]
234 gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gOvmfVariableGuid|0x0|FALSE|NV,BS
235
236!if $(TPM2_CONFIG_ENABLE) == TRUE
237 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
238 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
239!endif
240
241 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
242
243[LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
244!if $(TPM2_ENABLE) == TRUE
245 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
246!else
247 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
248!endif
249
250################################################################################
251#
252# Components Section - list of all EDK II Modules needed by this Platform.
253#
254################################################################################
255[Components]
256
257 #
258 # SEC Phase modules
259 #
260 OvmfPkg/RiscVVirt/Sec/SecMain.inf {
261 <LibraryClasses>
262 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
263 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
264 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
265 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
266 PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
267 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
268 }
269
270 #
271 # DXE
272 #
273 MdeModulePkg/Core/Dxe/DxeMain.inf {
274 <LibraryClasses>
275 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
276 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
277 }
278
279 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
280 <LibraryClasses>
281 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
282 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
283 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
284 }
285
286 #
287 # Architectural Protocols
288 #
289 UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf
290 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
291 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
292 <LibraryClasses>
293 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
294 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
295 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
296 }
297
298!if $(SECURE_BOOT_ENABLE) == TRUE
299 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
300 <LibraryClasses>
301 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
302!if $(TPM2_ENABLE) == TRUE
303 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
304!endif
305 }
306 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
307 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
308!else
309 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
310!endif
311 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
312 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
313 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
314 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
315 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
316 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
317
318 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
319 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
320 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
321 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
322 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
323
324 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
325
326 UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
327 OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf
328 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
329
330 #
331 # Status Code Routing
332 #
333 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
334 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
335
336 #
337 # Platform Driver
338 #
339 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
340 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf {
341 <LibraryClasses>
342 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
343 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
344 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
345 }
346 OvmfPkg/Fdt/HighMemDxe/HighMemDxe.inf
347 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
348 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
349 OvmfPkg/VirtioNetDxe/VirtioNet.inf
350 OvmfPkg/VirtioRngDxe/VirtioRng.inf
351
352 #
353 # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs
354 #
355 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
356 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
357 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
358 FatPkg/EnhancedFatDxe/Fat.inf
359 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
360 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
361
362 #
363 # Bds
364 #
365 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
366 <LibraryClasses>
367 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
368 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
369 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
370 }
371 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
372 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
373 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
374 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
375 MdeModulePkg/Logo/LogoDxe.inf
376 MdeModulePkg/Application/UiApp/UiApp.inf {
377 <LibraryClasses>
378 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
379 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
380 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
381 }
382 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
383 <LibraryClasses>
384 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
385 }
386
387!if $(NETWORK_ENABLE) == TRUE
388!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
389 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
390 <LibraryClasses>
391 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
392 }
393!endif
394
395!if $(NETWORK_TLS_ENABLE) == TRUE
396 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
397 <LibraryClasses>
398 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
399 }
400!endif
401!endif
402
403 #
404 # SCSI Bus and Disk Driver
405 #
406 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
407 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
408
409 #
410 # SATA
411 #
412 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
413 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
414 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
415
416 #
417 # NVME Driver
418 #
419 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
420
421 #
422 # SMBIOS Support
423 #
424 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
425 <LibraryClasses>
426 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
427 }
428 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
429
430 #
431 # PCI support
432 #
433 UefiCpuPkg/CpuMmio2Dxe/CpuMmio2Dxe.inf {
434 <LibraryClasses>
435 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
436 }
437 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
438 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
439 <LibraryClasses>
440 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
441 }
442 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
443 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
444 OvmfPkg/Virtio10Dxe/Virtio10.inf
445
446 #
447 # Video support
448 #
449 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
450 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
451 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
452 OvmfPkg/PlatformDxe/Platform.inf
453
454 #
455 # USB Support
456 #
457 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
458 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
459 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
460 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
461 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
462 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
463
464 #
465 # TPM2 support
466 #
467!if $(TPM2_ENABLE) == TRUE
468 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
469 <LibraryClasses>
470 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
471 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
472 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
473 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
474 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
475 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
476 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
477 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
478 }
479!if $(TPM2_CONFIG_ENABLE) == TRUE
480 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
481!endif
482!endif
483
484 #
485 # ACPI Support
486 #
487 OvmfPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
488 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
489 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf {
490 <LibraryClasses>
491 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
492 }
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette