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