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