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