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