]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Microvm/MicrovmX64.dsc
27005eec89f29dd214c5eb25208a3352aad80782
[mirror_edk2.git] / OvmfPkg / Microvm / MicrovmX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) Microsoft Corporation.
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 ################################################################################
13 #
14 # Defines Section - statements that will be processed to create a Makefile.
15 #
16 ################################################################################
17 [Defines]
18 PLATFORM_NAME = Microvm
19 PLATFORM_GUID = 55a5d2cc-6ca6-47d1-8f4f-5588d7705194
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/MicrovmX64
23 SUPPORTED_ARCHITECTURES = X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/Microvm/MicrovmX64.fdf
27
28 #
29 # Defines for default states. These can be changed on the command line.
30 # -D FLAG=VALUE
31 #
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SMM_REQUIRE = FALSE
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35
36 #
37 # Network definition
38 #
39 DEFINE NETWORK_TLS_ENABLE = FALSE
40 DEFINE NETWORK_IP6_ENABLE = FALSE
41 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
42 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
43 DEFINE NETWORK_ISCSI_ENABLE = TRUE
44
45 !include NetworkPkg/NetworkDefines.dsc.inc
46
47 #
48 # Device drivers
49 #
50 DEFINE PVSCSI_ENABLE = TRUE
51 DEFINE MPT_SCSI_ENABLE = TRUE
52 DEFINE LSI_SCSI_ENABLE = FALSE
53
54 #
55 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
56 # one of the supported values, in place of any of the convenience macros, is
57 # permitted.
58 #
59 !ifdef $(FD_SIZE_1MB)
60 DEFINE FD_SIZE_IN_KB = 1024
61 !else
62 !ifdef $(FD_SIZE_2MB)
63 DEFINE FD_SIZE_IN_KB = 2048
64 !else
65 !ifdef $(FD_SIZE_4MB)
66 DEFINE FD_SIZE_IN_KB = 4096
67 !else
68 DEFINE FD_SIZE_IN_KB = 4096
69 !endif
70 !endif
71 !endif
72
73 [BuildOptions]
74 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
75 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
76 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
77 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
78 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
79 !endif
80 !if $(SOURCE_DEBUG_ENABLE) == TRUE
81 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
82 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
83 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
84 !endif
85 RELEASE_*_*_GENFW_FLAGS = --zero
86
87 #
88 # Disable deprecated APIs.
89 #
90 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
91 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
92 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
93
94 !include NetworkPkg/NetworkBuildOptions.dsc.inc
95
96 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
101
102 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
103 # protection of DXE_SMM_DRIVER/SMM_CORE modules
104 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
105 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
106 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
107 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
108 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
109
110 ################################################################################
111 #
112 # SKU Identification section - list of all SKU IDs supported by this Platform.
113 #
114 ################################################################################
115 [SkuIds]
116 0|DEFAULT
117
118 ################################################################################
119 #
120 # Library Class section - list of all Library Classes needed by this Platform.
121 #
122 ################################################################################
123
124 !include MdePkg/MdeLibs.dsc.inc
125
126 [LibraryClasses]
127 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
128 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
129 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf
130 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
131 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
132 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
133 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
134 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
135 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
136 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
137 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
138 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
139 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
140 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
141 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
142 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
143 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
144 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
145 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
146 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
147 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
148 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
149 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
150 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
151 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
152 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
153 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
154 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
155 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
156 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
157 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
158 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
159 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
160 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
161 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
162 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
163 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
164 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
165 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
166 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
167 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
168 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
169 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
170 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
171 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
172 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
173 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
174 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
175 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
176 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
177 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
178 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
179 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
180 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
181 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
182 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
183 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
184
185 !if $(SOURCE_DEBUG_ENABLE) == TRUE
186 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
187 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
188 !else
189 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
190 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
191 !endif
192
193 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
194 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
195
196 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
197 !if $(NETWORK_TLS_ENABLE) == TRUE
198 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
199 !else
200 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
201 !endif
202 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
203
204 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
205 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
206 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
207 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
208
209
210 #
211 # Network libraries
212 #
213 !include NetworkPkg/NetworkLibs.dsc.inc
214
215 !if $(NETWORK_TLS_ENABLE) == TRUE
216 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
217 !endif
218
219 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
220 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
221 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
222 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
223 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
224
225 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
226 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
227
228 [LibraryClasses.common]
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
230 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
231 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
232 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
233 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
234 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
235
236 [LibraryClasses.common.SEC]
237 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
238 !ifdef $(DEBUG_ON_SERIAL_PORT)
239 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
240 !else
241 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
242 !endif
243 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
244 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
245 !if $(SOURCE_DEBUG_ENABLE) == TRUE
246 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
247 !endif
248 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
249 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
250 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
252 !if $(TOOL_CHAIN_TAG) == "XCODE5"
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
254 !else
255 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
256 !endif
257 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
258 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
259
260 [LibraryClasses.common.PEI_CORE]
261 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
262 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
263 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
264 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
265 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
266 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
267 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
268 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
269 !ifdef $(DEBUG_ON_SERIAL_PORT)
270 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
271 !else
272 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
273 !endif
274 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
275
276 [LibraryClasses.common.PEIM]
277 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
278 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
279 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
280 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
281 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
282 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
283 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
284 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
285 !ifdef $(DEBUG_ON_SERIAL_PORT)
286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
287 !else
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
289 !endif
290 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
291 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
292 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
293 !if $(SOURCE_DEBUG_ENABLE) == TRUE
294 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
295 !endif
296 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
297 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
298 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
299 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
300 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
301
302 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
303 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
304
305 [LibraryClasses.common.DXE_CORE]
306 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
307 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
308 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
309 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
310 !ifdef $(DEBUG_ON_SERIAL_PORT)
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
312 !else
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
314 !endif
315 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
316 !if $(SOURCE_DEBUG_ENABLE) == TRUE
317 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
318 !endif
319 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
320 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
321
322 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
323 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
324 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
325 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
326 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
327 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
328 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
329 !ifdef $(DEBUG_ON_SERIAL_PORT)
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
331 !else
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
333 !endif
334 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
335 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
336 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
337 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
338 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
339
340 [LibraryClasses.common.UEFI_DRIVER]
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
342 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
344 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
347 !ifdef $(DEBUG_ON_SERIAL_PORT)
348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
349 !else
350 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
351 !endif
352 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
353 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
354
355 [LibraryClasses.common.DXE_DRIVER]
356 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
357 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
358 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
359 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
360 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
361 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
362 !ifdef $(DEBUG_ON_SERIAL_PORT)
363 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
364 !else
365 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
366 !endif
367 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
368 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
369 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
370 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
371 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
372 !if $(SOURCE_DEBUG_ENABLE) == TRUE
373 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
374 !endif
375 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
376 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
377 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
378 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
379
380 [LibraryClasses.common.UEFI_APPLICATION]
381 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
382 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
383 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
384 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
385 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
386 !ifdef $(DEBUG_ON_SERIAL_PORT)
387 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
388 !else
389 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
390 !endif
391 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
392
393 [LibraryClasses.common.DXE_SMM_DRIVER]
394 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
395 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
396 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
397 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
398 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
399 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
400 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
401 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
402 !ifdef $(DEBUG_ON_SERIAL_PORT)
403 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
404 !else
405 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
406 !endif
407 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
408 !if $(SOURCE_DEBUG_ENABLE) == TRUE
409 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
410 !endif
411 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
412 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
413
414 [LibraryClasses.common.SMM_CORE]
415 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
416 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
417 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
418 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
419 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
420 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
421 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
422 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
423 !ifdef $(DEBUG_ON_SERIAL_PORT)
424 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
425 !else
426 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
427 !endif
428 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
429
430 ################################################################################
431 #
432 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
433 #
434 ################################################################################
435 [PcdsFeatureFlag]
436 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
437 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
438 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
439 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
440 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
442
443 [PcdsFixedAtBuild]
444 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
445 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
446 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
447 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
448 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
451 !if $(NETWORK_TLS_ENABLE) == FALSE
452 # match PcdFlashNvStorageVariableSize purely for convenience
453 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
454 !endif
455 !endif
456 !if $(FD_SIZE_IN_KB) == 4096
457 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
458 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
459 !if $(NETWORK_TLS_ENABLE) == FALSE
460 # match PcdFlashNvStorageVariableSize purely for convenience
461 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
462 !endif
463 !endif
464 !if $(NETWORK_TLS_ENABLE) == TRUE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
466 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
467 !endif
468
469 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
470 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
472
473 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
474
475 # DEBUG_INIT 0x00000001 // Initialization
476 # DEBUG_WARN 0x00000002 // Warnings
477 # DEBUG_LOAD 0x00000004 // Load events
478 # DEBUG_FS 0x00000008 // EFI File system
479 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
480 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
481 # DEBUG_INFO 0x00000040 // Informational debug messages
482 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
483 # DEBUG_VARIABLE 0x00000100 // Variable
484 # DEBUG_BM 0x00000400 // Boot Manager
485 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
486 # DEBUG_NET 0x00004000 // SNP Driver
487 # DEBUG_UNDI 0x00010000 // UNDI Driver
488 # DEBUG_LOADFILE 0x00020000 // LoadFile
489 # DEBUG_EVENT 0x00080000 // Event messages
490 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
491 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
492 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
493 # // significantly impact boot performance
494 # DEBUG_ERROR 0x80000000 // Error
495 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
496
497 !if $(SOURCE_DEBUG_ENABLE) == TRUE
498 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
499 !else
500 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
501 !endif
502
503 # This PCD is used to set the base address of the PCI express hierarchy. It
504 # is only consulted when OVMF runs on Q35. In that case it is programmed into
505 # the PCIEXBAR register.
506 #
507 # On Q35 machine types that QEMU intends to support in the long term, QEMU
508 # never lets the RAM below 4 GB exceed 2816 MB.
509 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
510
511 !if $(SOURCE_DEBUG_ENABLE) == TRUE
512 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
513 !endif
514
515 #
516 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
517 # best (please refer to git-blame for past updates). The values capture a set
518 # of BIN hints that made sense at a particular time, for some (now likely
519 # unknown) workloads / boot paths.
520 #
521 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
522 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
523 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
524 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
525 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
526
527 #
528 # Network Pcds
529 #
530 !include NetworkPkg/NetworkPcds.dsc.inc
531
532 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
533
534 # IRQs 5, 9, 10, 11 are level-triggered
535 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
536
537 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
538 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
539
540 # microvm serial port^M
541 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
544
545 ################################################################################
546 #
547 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
548 #
549 ################################################################################
550
551 [PcdsDynamicDefault]
552 # only set when
553 # ($(SMM_REQUIRE) == FALSE)
554 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
555
556 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
557 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
558 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
559 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
560 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
561 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
562 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
563 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
564 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
565 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
566 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
567 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
568 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
569 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
570 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
571 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
572
573 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
574 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
575
576 # Set video resolution for text setup.
577 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
578 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
579
580 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
581 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
582 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
583
584 # Noexec settings for DXE.
585 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
586
587 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
588 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
589 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
590
591 # Set memory encryption mask
592 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
593
594 # Set SEV-ES defaults
595 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
596 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
597 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
598
599 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
600
601 # IPv4 and IPv6 PXE Boot support.
602 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
603 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
604
605 # Set ConfidentialComputing defaults
606 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
607
608 ################################################################################
609 #
610 # Components Section - list of all EDK II Modules needed by this Platform.
611 #
612 ################################################################################
613 [Components]
614 OvmfPkg/ResetVector/ResetVector.inf
615
616 #
617 # SEC Phase modules
618 #
619 OvmfPkg/Sec/SecMain.inf {
620 <LibraryClasses>
621 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
622 }
623
624 #
625 # PEI Phase modules
626 #
627 MdeModulePkg/Core/Pei/PeiMain.inf
628 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
629 <LibraryClasses>
630 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
631 }
632 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
633 <LibraryClasses>
634 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
635 }
636 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
637 <LibraryClasses>
638 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
639 }
640 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
641
642 OvmfPkg/PlatformPei/PlatformPei.inf
643 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
644 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
645
646 #
647 # DXE Phase modules
648 #
649 MdeModulePkg/Core/Dxe/DxeMain.inf {
650 <LibraryClasses>
651 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
652 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
653 }
654
655 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
656 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
657 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
658 <LibraryClasses>
659 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
660 }
661
662 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
663
664 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
665 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
666 OvmfPkg/XenTimerDxe/XenTimerDxe.inf
667 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
668 UefiCpuPkg/CpuDxe/CpuDxe.inf
669 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
670 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
671 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
672 <LibraryClasses>
673 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
674 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
675 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
676 }
677 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
678 <LibraryClasses>
679 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
680 }
681 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
682 MdeModulePkg/Universal/Metronome/Metronome.inf
683 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
684 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
685 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
686 <LibraryClasses>
687 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
688 }
689 MdeModulePkg/Logo/LogoDxe.inf
690 MdeModulePkg/Application/UiApp/UiApp.inf {
691 <LibraryClasses>
692 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
693 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
694 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
695 }
696 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
697 <LibraryClasses>
698 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
699 }
700 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
701 OvmfPkg/Virtio10Dxe/Virtio10.inf
702 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
703 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
704 OvmfPkg/VirtioRngDxe/VirtioRng.inf
705 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
706 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
707 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
708 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
709 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
710 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
711 <LibraryClasses>
712 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
713 }
714 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
715 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
716 <LibraryClasses>
717 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
718 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
719 }
720 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
721 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
722 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
723 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
724 FatPkg/EnhancedFatDxe/Fat.inf
725 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
726 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
727 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
728 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
729 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
730 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
731 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
732 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
733 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
734 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
735 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
736 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
737
738 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
739 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
740 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
741
742 #
743 # ISA Support
744 #
745 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
746
747 #
748 # device tree
749 #
750 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
751 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
752
753 #
754 # SMBIOS Support
755 #
756 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
757 <LibraryClasses>
758 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
759 }
760 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
761
762 #
763 # ACPI Support
764 #
765 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
766 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
767 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
768 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
769 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
770
771 #
772 # Network Support
773 #
774 !include NetworkPkg/NetworkComponents.dsc.inc
775
776 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
777 <LibraryClasses>
778 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
779 }
780
781 !if $(NETWORK_TLS_ENABLE) == TRUE
782 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
783 <LibraryClasses>
784 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
785 }
786 !endif
787 OvmfPkg/VirtioNetDxe/VirtioNet.inf
788
789 #
790 # Usb Support
791 #
792 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
793 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
794 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
795 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
796 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
797 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
798
799 !if $(TOOL_CHAIN_TAG) != "XCODE5"
800 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
801 <PcdsFixedAtBuild>
802 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
803 }
804 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
805 <PcdsFixedAtBuild>
806 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
807 }
808 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
809 <PcdsFixedAtBuild>
810 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
811 }
812 !endif
813 ShellPkg/Application/Shell/Shell.inf {
814 <LibraryClasses>
815 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
816 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
817 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
818 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
819 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
820 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
821 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
822 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
823 !if $(NETWORK_IP6_ENABLE) == TRUE
824 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
825 !endif
826 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
827 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
828 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
829
830 <PcdsFixedAtBuild>
831 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
832 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
833 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
834 }
835
836 OvmfPkg/PlatformDxe/Platform.inf
837 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
838
839 #
840 # Variable driver stack (non-SMM)
841 #
842 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
843 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
844 <LibraryClasses>
845 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
846 }
847 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
848 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
849 <LibraryClasses>
850 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
851 }