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