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