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