VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/ArmVirtQemu.dsc@ 99476

最後變更 在這個檔案從99476是 99472,由 vboxsync 提交於 2 年 前

Devices/EFI/Firmware: Set the correct output directory for the ArmVirtQemu platform based on the architecture, bugref:10400

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

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