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