]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Microvm/MicrovmX64.dsc
cde90f5235204f66192112e3f40b8e778709dc62
[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 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
236
237 [LibraryClasses.common.SEC]
238 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
239 !ifdef $(DEBUG_ON_SERIAL_PORT)
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
241 !else
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
243 !endif
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
245 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
246 !if $(SOURCE_DEBUG_ENABLE) == TRUE
247 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
248 !endif
249 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
252 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
253 !if $(TOOL_CHAIN_TAG) == "XCODE5"
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
255 !else
256 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
257 !endif
258 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
259 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
260
261 [LibraryClasses.common.PEI_CORE]
262 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
263 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
264 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
265 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
266 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
267 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
268 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
269 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
270 !ifdef $(DEBUG_ON_SERIAL_PORT)
271 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
272 !else
273 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
274 !endif
275 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
276
277 [LibraryClasses.common.PEIM]
278 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
279 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
280 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
281 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
282 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
283 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
284 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
285 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
286 !ifdef $(DEBUG_ON_SERIAL_PORT)
287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
288 !else
289 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
290 !endif
291 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
292 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
293 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
294 !if $(SOURCE_DEBUG_ENABLE) == TRUE
295 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
296 !endif
297 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
298 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
299 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
300 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
301 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
302
303 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
304 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
305
306 [LibraryClasses.common.DXE_CORE]
307 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
309 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
311 !ifdef $(DEBUG_ON_SERIAL_PORT)
312 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
313 !else
314 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
315 !endif
316 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
317 !if $(SOURCE_DEBUG_ENABLE) == TRUE
318 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
319 !endif
320 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
322
323 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
324 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
325 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
328 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
329 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
330 !ifdef $(DEBUG_ON_SERIAL_PORT)
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
332 !else
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
334 !endif
335 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
336 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
337 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
338 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
339 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
340
341 [LibraryClasses.common.UEFI_DRIVER]
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
343 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
344 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
345 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
346 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
347 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
348 !ifdef $(DEBUG_ON_SERIAL_PORT)
349 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
350 !else
351 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
352 !endif
353 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
354 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
355
356 [LibraryClasses.common.DXE_DRIVER]
357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
358 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
359 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
360 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
361 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
362 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
363 !ifdef $(DEBUG_ON_SERIAL_PORT)
364 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
365 !else
366 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
367 !endif
368 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
369 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
370 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
371 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
372 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
373 !if $(SOURCE_DEBUG_ENABLE) == TRUE
374 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
375 !endif
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
377 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
378 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
379 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
380
381 [LibraryClasses.common.UEFI_APPLICATION]
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
383 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
384 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
385 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
386 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
387 !ifdef $(DEBUG_ON_SERIAL_PORT)
388 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
389 !else
390 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
391 !endif
392 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
393
394 [LibraryClasses.common.DXE_SMM_DRIVER]
395 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
396 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
397 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
398 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
399 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
400 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
401 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
402 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
403 !ifdef $(DEBUG_ON_SERIAL_PORT)
404 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
405 !else
406 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
407 !endif
408 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
409 !if $(SOURCE_DEBUG_ENABLE) == TRUE
410 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
411 !endif
412 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
413 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
414
415 [LibraryClasses.common.SMM_CORE]
416 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
417 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
418 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
419 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
420 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
421 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
422 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
423 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
424 !ifdef $(DEBUG_ON_SERIAL_PORT)
425 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
426 !else
427 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
428 !endif
429 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
430
431 ################################################################################
432 #
433 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
434 #
435 ################################################################################
436 [PcdsFeatureFlag]
437 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
438 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
439 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
440 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
442 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
443
444 [PcdsFixedAtBuild]
445 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
446 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
447 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
448 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
449 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
451 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
452 !if $(NETWORK_TLS_ENABLE) == FALSE
453 # match PcdFlashNvStorageVariableSize purely for convenience
454 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
455 !endif
456 !endif
457 !if $(FD_SIZE_IN_KB) == 4096
458 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
459 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
460 !if $(NETWORK_TLS_ENABLE) == FALSE
461 # match PcdFlashNvStorageVariableSize purely for convenience
462 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
463 !endif
464 !endif
465 !if $(NETWORK_TLS_ENABLE) == TRUE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
467 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
468 !endif
469
470 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
471 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
472 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
473
474 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
475
476 # DEBUG_INIT 0x00000001 // Initialization
477 # DEBUG_WARN 0x00000002 // Warnings
478 # DEBUG_LOAD 0x00000004 // Load events
479 # DEBUG_FS 0x00000008 // EFI File system
480 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
481 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
482 # DEBUG_INFO 0x00000040 // Informational debug messages
483 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
484 # DEBUG_VARIABLE 0x00000100 // Variable
485 # DEBUG_BM 0x00000400 // Boot Manager
486 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
487 # DEBUG_NET 0x00004000 // SNP Driver
488 # DEBUG_UNDI 0x00010000 // UNDI Driver
489 # DEBUG_LOADFILE 0x00020000 // LoadFile
490 # DEBUG_EVENT 0x00080000 // Event messages
491 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
492 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
493 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
494 # // significantly impact boot performance
495 # DEBUG_ERROR 0x80000000 // Error
496 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
497
498 !if $(SOURCE_DEBUG_ENABLE) == TRUE
499 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
500 !else
501 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
502 !endif
503
504 # This PCD is used to set the base address of the PCI express hierarchy. It
505 # is only consulted when OVMF runs on Q35. In that case it is programmed into
506 # the PCIEXBAR register.
507 #
508 # On Q35 machine types that QEMU intends to support in the long term, QEMU
509 # never lets the RAM below 4 GB exceed 2816 MB.
510 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
511
512 !if $(SOURCE_DEBUG_ENABLE) == TRUE
513 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
514 !endif
515
516 #
517 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
518 # best (please refer to git-blame for past updates). The values capture a set
519 # of BIN hints that made sense at a particular time, for some (now likely
520 # unknown) workloads / boot paths.
521 #
522 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
523 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
524 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
525 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
526 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
527
528 #
529 # Network Pcds
530 #
531 !include NetworkPkg/NetworkPcds.dsc.inc
532
533 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
534
535 # IRQs 5, 9, 10, 11 are level-triggered
536 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
537
538 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
539 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
540
541 # microvm serial port^M
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
544 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
545
546 ################################################################################
547 #
548 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
549 #
550 ################################################################################
551
552 [PcdsDynamicDefault]
553 # only set when
554 # ($(SMM_REQUIRE) == FALSE)
555 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
556
557 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
558 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
559 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
560 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
561 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
562 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
563 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
564 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
565 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
566 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
567 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
568 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
569 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
570 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
571 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
572 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
573
574 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
575 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
576
577 # Set video resolution for text setup.
578 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
579 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
580
581 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
582 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
583 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
584
585 # Noexec settings for DXE.
586 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
587
588 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
589 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
590 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
591
592 # Set memory encryption mask
593 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
594
595 # Set Tdx shared bit mask
596 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
597
598 # Set SEV-ES defaults
599 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
600 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
601 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
602
603 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
604
605 # IPv4 and IPv6 PXE Boot support.
606 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
607 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
608
609 # Set ConfidentialComputing defaults
610 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
611
612 ################################################################################
613 #
614 # Components Section - list of all EDK II Modules needed by this Platform.
615 #
616 ################################################################################
617 [Components]
618 OvmfPkg/ResetVector/ResetVector.inf
619
620 #
621 # SEC Phase modules
622 #
623 OvmfPkg/Sec/SecMain.inf {
624 <LibraryClasses>
625 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
626 }
627
628 #
629 # PEI Phase modules
630 #
631 MdeModulePkg/Core/Pei/PeiMain.inf
632 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
633 <LibraryClasses>
634 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
635 }
636 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
637 <LibraryClasses>
638 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
639 }
640 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
641 <LibraryClasses>
642 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
643 }
644 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
645
646 OvmfPkg/PlatformPei/PlatformPei.inf
647 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
648 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
649
650 #
651 # DXE Phase modules
652 #
653 MdeModulePkg/Core/Dxe/DxeMain.inf {
654 <LibraryClasses>
655 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
656 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
657 }
658
659 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
660 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
661 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
662 <LibraryClasses>
663 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
664 }
665
666 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
667
668 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
669 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
670 OvmfPkg/XenTimerDxe/XenTimerDxe.inf
671 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
672 UefiCpuPkg/CpuDxe/CpuDxe.inf
673 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
674 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
675 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
676 <LibraryClasses>
677 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
678 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
679 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
680 }
681 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
682 <LibraryClasses>
683 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
684 }
685 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
686 MdeModulePkg/Universal/Metronome/Metronome.inf
687 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
688 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
689 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
690 <LibraryClasses>
691 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
692 }
693 MdeModulePkg/Logo/LogoDxe.inf
694 MdeModulePkg/Application/UiApp/UiApp.inf {
695 <LibraryClasses>
696 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
697 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
698 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
699 }
700 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
701 <LibraryClasses>
702 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
703 }
704 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
705 OvmfPkg/Virtio10Dxe/Virtio10.inf
706 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
707 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
708 OvmfPkg/VirtioRngDxe/VirtioRng.inf
709 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
710 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
711 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
712 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
713 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
714 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
715 <LibraryClasses>
716 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
717 }
718 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
719 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
720 <LibraryClasses>
721 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
722 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
723 }
724 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
725 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
726 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
727 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
728 FatPkg/EnhancedFatDxe/Fat.inf
729 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
730 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
731 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
732 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
733 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
734 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
735 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
736 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
737 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
738 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
739 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
740 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
741
742 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
743 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
744 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
745
746 #
747 # ISA Support
748 #
749 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
750
751 #
752 # device tree
753 #
754 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
755 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
756
757 #
758 # SMBIOS Support
759 #
760 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
761 <LibraryClasses>
762 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
763 }
764 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
765
766 #
767 # ACPI Support
768 #
769 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
770 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
771 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
772 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
773 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
774
775 #
776 # Network Support
777 #
778 !include NetworkPkg/NetworkComponents.dsc.inc
779
780 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
781 <LibraryClasses>
782 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
783 }
784
785 !if $(NETWORK_TLS_ENABLE) == TRUE
786 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
787 <LibraryClasses>
788 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
789 }
790 !endif
791 OvmfPkg/VirtioNetDxe/VirtioNet.inf
792
793 #
794 # Usb Support
795 #
796 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
797 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
798 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
799 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
800 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
801 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
802
803 !if $(TOOL_CHAIN_TAG) != "XCODE5"
804 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
805 <PcdsFixedAtBuild>
806 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
807 }
808 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
809 <PcdsFixedAtBuild>
810 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
811 }
812 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
813 <PcdsFixedAtBuild>
814 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
815 }
816 !endif
817 ShellPkg/Application/Shell/Shell.inf {
818 <LibraryClasses>
819 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
820 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
821 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
822 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
823 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
824 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
825 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
826 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
827 !if $(NETWORK_IP6_ENABLE) == TRUE
828 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
829 !endif
830 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
831 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
832 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
833
834 <PcdsFixedAtBuild>
835 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
836 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
837 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
838 }
839
840 OvmfPkg/PlatformDxe/Platform.inf
841 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
842
843 #
844 # Variable driver stack (non-SMM)
845 #
846 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
847 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
848 <LibraryClasses>
849 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
850 }
851 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
852 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
853 <LibraryClasses>
854 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
855 }