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