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