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