]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/EnrollDefaultKeys: enroll PK/KEK1 from the Type 11 SMBIOS table
[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 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
343 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
344 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
345 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
346 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
347 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
348 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
349 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
350 !if $(SMM_REQUIRE) == TRUE
351 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
352 !else
353 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
354 !endif
355 !ifdef $(SOURCE_DEBUG_ENABLE)
356 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
357 !endif
358 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
359 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
360 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
361 !if $(TPM2_ENABLE) == TRUE
362 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
363 !endif
364
365 [LibraryClasses.common.UEFI_APPLICATION]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 !ifdef $(DEBUG_ON_SERIAL_PORT)
372 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
373 !else
374 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
375 !endif
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
377
378 [LibraryClasses.common.DXE_SMM_DRIVER]
379 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
380 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
381 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
382 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
383 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
384 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
385 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
386 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
387 !ifdef $(DEBUG_ON_SERIAL_PORT)
388 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
389 !else
390 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
391 !endif
392 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
393 !ifdef $(SOURCE_DEBUG_ENABLE)
394 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
395 !endif
396 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
397 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
398
399 [LibraryClasses.common.SMM_CORE]
400 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
401 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
402 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
403 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
404 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
405 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
406 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
407 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
408 !ifdef $(DEBUG_ON_SERIAL_PORT)
409 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
410 !else
411 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
412 !endif
413 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
414
415 ################################################################################
416 #
417 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
418 #
419 ################################################################################
420 [PcdsFeatureFlag]
421 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
424 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
425 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
429 !if $(SMM_REQUIRE) == TRUE
430 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
431 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
432 !endif
433
434 [PcdsFixedAtBuild]
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
438 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
439 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
441 !if $(TLS_ENABLE) == FALSE
442 # match PcdFlashNvStorageVariableSize purely for convenience
443 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
444 !endif
445 !endif
446 !if $(FD_SIZE_IN_KB) == 4096
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
448 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
449 !if $(TLS_ENABLE) == FALSE
450 # match PcdFlashNvStorageVariableSize purely for convenience
451 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
452 !endif
453 !endif
454 !if $(TLS_ENABLE) == TRUE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
456 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
457 !endif
458
459 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
460
461 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
462
463 # DEBUG_INIT 0x00000001 // Initialization
464 # DEBUG_WARN 0x00000002 // Warnings
465 # DEBUG_LOAD 0x00000004 // Load events
466 # DEBUG_FS 0x00000008 // EFI File system
467 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
468 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
469 # DEBUG_INFO 0x00000040 // Informational debug messages
470 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
471 # DEBUG_VARIABLE 0x00000100 // Variable
472 # DEBUG_BM 0x00000400 // Boot Manager
473 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
474 # DEBUG_NET 0x00004000 // SNP Driver
475 # DEBUG_UNDI 0x00010000 // UNDI Driver
476 # DEBUG_LOADFILE 0x00020000 // LoadFile
477 # DEBUG_EVENT 0x00080000 // Event messages
478 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
479 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
480 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
481 # // significantly impact boot performance
482 # DEBUG_ERROR 0x80000000 // Error
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
484
485 !ifdef $(SOURCE_DEBUG_ENABLE)
486 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
487 !else
488 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
489 !endif
490
491 # This PCD is used to set the base address of the PCI express hierarchy. It
492 # is only consulted when OVMF runs on Q35. In that case it is programmed into
493 # the PCIEXBAR register.
494 #
495 # On Q35 machine types that QEMU intends to support in the long term, QEMU
496 # never lets the RAM below 4 GB exceed 2 GB.
497 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
498
499 !ifdef $(SOURCE_DEBUG_ENABLE)
500 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
501 !endif
502
503 !if $(HTTP_BOOT_ENABLE) == TRUE
504 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
505 !endif
506
507 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
508
509 !if $(SMM_REQUIRE) == TRUE
510 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
511 !endif
512
513 # IRQs 5, 9, 10, 11 are level-triggered
514 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
515
516 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
517 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
518
519 ################################################################################
520 #
521 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
522 #
523 ################################################################################
524
525 [PcdsDynamicDefault]
526 # only set when
527 # ($(SMM_REQUIRE) == FALSE)
528 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
529
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
532 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
533 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
535 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
536 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
537 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
542
543 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
544
545 # Set video resolution for text setup.
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
548
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
551 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
552
553 # Noexec settings for DXE.
554 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
555 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
556
557 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
559 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560
561 # Set memory encryption mask
562 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563
564 !if $(SMM_REQUIRE) == TRUE
565 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
566 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
567 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
568 !endif
569
570 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
571
572 !if $(TPM2_ENABLE) == TRUE
573 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
574 !endif
575
576 ################################################################################
577 #
578 # Components Section - list of all EDK II Modules needed by this Platform.
579 #
580 ################################################################################
581 [Components]
582 OvmfPkg/ResetVector/ResetVector.inf
583
584 #
585 # SEC Phase modules
586 #
587 OvmfPkg/Sec/SecMain.inf {
588 <LibraryClasses>
589 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
590 }
591
592 #
593 # PEI Phase modules
594 #
595 MdeModulePkg/Core/Pei/PeiMain.inf
596 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
597 <LibraryClasses>
598 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
599 }
600 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
601 <LibraryClasses>
602 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
603 }
604 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
605 <LibraryClasses>
606 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
607 }
608 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
609
610 OvmfPkg/PlatformPei/PlatformPei.inf
611 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
612 <LibraryClasses>
613 !if $(SMM_REQUIRE) == TRUE
614 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
615 !endif
616 }
617 !if $(SMM_REQUIRE) == TRUE
618 OvmfPkg/SmmAccess/SmmAccessPei.inf
619 !endif
620 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
621
622 !if $(TPM2_ENABLE) == TRUE
623 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
624 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
625 <LibraryClasses>
626 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
630 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
631 }
632 !if $(TPM2_CONFIG_ENABLE) == TRUE
633 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
634 !endif
635 !endif
636
637 #
638 # DXE Phase modules
639 #
640 MdeModulePkg/Core/Dxe/DxeMain.inf {
641 <LibraryClasses>
642 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
643 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
644 }
645
646 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
647 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
648 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
649 <LibraryClasses>
650 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
651 }
652
653 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
654
655 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
656 <LibraryClasses>
657 !if $(SECURE_BOOT_ENABLE) == TRUE
658 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
659 !endif
660 !if $(TPM2_ENABLE) == TRUE
661 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
662 !endif
663 }
664
665 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
666 OvmfPkg/8259InterruptControllerDxe/8259.inf
667 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
668 UefiCpuPkg/CpuDxe/CpuDxe.inf
669 OvmfPkg/8254TimerDxe/8254Timer.inf
670 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
671 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
672 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
673 <LibraryClasses>
674 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
675 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
676 }
677 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
678 <LibraryClasses>
679 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
680 }
681 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
682 MdeModulePkg/Universal/Metronome/Metronome.inf
683 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
684 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
685 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
686 <LibraryClasses>
687 !ifdef $(CSM_ENABLE)
688 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
689 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
690 !endif
691 }
692 MdeModulePkg/Logo/LogoDxe.inf
693 MdeModulePkg/Application/UiApp/UiApp.inf {
694 <LibraryClasses>
695 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
696 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
697 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
698 !ifdef $(CSM_ENABLE)
699 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
700 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
701 !endif
702 }
703 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
704 OvmfPkg/Virtio10Dxe/Virtio10.inf
705 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
706 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
707 OvmfPkg/VirtioRngDxe/VirtioRng.inf
708 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
709 OvmfPkg/XenBusDxe/XenBusDxe.inf
710 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
711 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
712 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
713 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
714 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
715 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
716 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
717 <LibraryClasses>
718 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
719 }
720 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
721 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
722 <LibraryClasses>
723 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
724 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
725 }
726 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
727 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
728 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
729 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
730 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
731 FatPkg/EnhancedFatDxe/Fat.inf
732 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
733 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
734 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
735 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
736 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
737 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
738 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
739 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
740 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
741 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
742 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
743
744 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
745 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
746 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
747
748 #
749 # ISA Support
750 #
751 !if $(USE_LEGACY_ISA_STACK) == FALSE
752 OvmfPkg/SioBusDxe/SioBusDxe.inf
753 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
754 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
755 !else
756 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
757 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
758 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
759 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
760 !endif
761
762 #
763 # SMBIOS Support
764 #
765 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
766 <LibraryClasses>
767 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
768 }
769 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
770
771 #
772 # ACPI Support
773 #
774 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
775 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
776 OvmfPkg/AcpiTables/AcpiTables.inf
777 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
778 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
779 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
780
781 #
782 # Network Support
783 #
784 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
785 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
786 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
787 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
788 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
789 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
790 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
791 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
792 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
793 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
794 NetworkPkg/TcpDxe/TcpDxe.inf
795 NetworkPkg/IScsiDxe/IScsiDxe.inf
796 !if $(NETWORK_IP6_ENABLE) == TRUE
797 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
798 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
799 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
800 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
801 !endif
802 !if $(HTTP_BOOT_ENABLE) == TRUE
803 NetworkPkg/DnsDxe/DnsDxe.inf
804 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
805 NetworkPkg/HttpDxe/HttpDxe.inf
806 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
807 !endif
808 !if $(TLS_ENABLE) == TRUE
809 NetworkPkg/TlsDxe/TlsDxe.inf
810 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
811 <LibraryClasses>
812 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
813 }
814 !endif
815 OvmfPkg/VirtioNetDxe/VirtioNet.inf
816
817 #
818 # Usb Support
819 #
820 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
821 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
822 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
823 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
824 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
825 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
826
827 !ifdef $(CSM_ENABLE)
828 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
829 <LibraryClasses>
830 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
831 }
832 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
833 OvmfPkg/Csm/Csm16/Csm16.inf
834 !endif
835
836 !if $(TOOL_CHAIN_TAG) != "XCODE5"
837 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
838 <PcdsFixedAtBuild>
839 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
840 }
841 !endif
842 ShellPkg/Application/Shell/Shell.inf {
843 <LibraryClasses>
844 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
845 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
846 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
847 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
848 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
849 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
850 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
851 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
852 !if $(NETWORK_IP6_ENABLE) == TRUE
853 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
854 !endif
855 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
856 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
857 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
858
859 <PcdsFixedAtBuild>
860 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
861 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
862 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
863 }
864
865 !if $(SECURE_BOOT_ENABLE) == TRUE
866 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
867 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
868 !endif
869
870 OvmfPkg/PlatformDxe/Platform.inf
871 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
872
873 !if $(SMM_REQUIRE) == TRUE
874 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
875 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
876 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
877
878 #
879 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
880 #
881 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
882
883 #
884 # SMM_CORE
885 #
886 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
887
888 #
889 # Privileged drivers (DXE_SMM_DRIVER modules)
890 #
891 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
892 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
893 <LibraryClasses>
894 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
895 }
896 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
897 <LibraryClasses>
898 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
899 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
900 }
901
902 #
903 # Variable driver stack (SMM)
904 #
905 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
906 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
907 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
908 <LibraryClasses>
909 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
910 }
911 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
912
913 !else
914
915 #
916 # Variable driver stack (non-SMM)
917 #
918 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
919 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
920 <LibraryClasses>
921 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
922 }
923 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
924 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
925 <LibraryClasses>
926 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
927 }
928 !endif
929
930 !if $(TPM2_ENABLE) == TRUE
931 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
932 <LibraryClasses>
933 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
934 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
935 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
936 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
937 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
938 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
939 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
940 }
941 !endif