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