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