]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/PlatformPei: set PCI IO port aperture dynamically
[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.PcdPciIoBase|0x0
464 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
465 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
466 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
467
468 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
469
470 # Set video resolution for text setup.
471 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
472 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
473
474 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
475 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
476 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
477
478 # Noexec settings for DXE.
479 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
480 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
481
482 ################################################################################
483 #
484 # Components Section - list of all EDK II Modules needed by this Platform.
485 #
486 ################################################################################
487 [Components]
488 OvmfPkg/ResetVector/ResetVector.inf
489
490 #
491 # SEC Phase modules
492 #
493 OvmfPkg/Sec/SecMain.inf {
494 <LibraryClasses>
495 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
496 }
497
498 #
499 # PEI Phase modules
500 #
501 MdeModulePkg/Core/Pei/PeiMain.inf
502 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
503 <LibraryClasses>
504 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
505 }
506 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
507 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
508 <LibraryClasses>
509 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
510 }
511
512 OvmfPkg/PlatformPei/PlatformPei.inf {
513 <LibraryClasses>
514 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
515 }
516 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
517 <LibraryClasses>
518 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
519 !if $(SMM_REQUIRE) == TRUE
520 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
521 !endif
522 }
523 !if $(SMM_REQUIRE) == TRUE
524 OvmfPkg/SmmAccess/SmmAccessPei.inf {
525 <LibraryClasses>
526 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
527 }
528 !endif
529
530 #
531 # DXE Phase modules
532 #
533 MdeModulePkg/Core/Dxe/DxeMain.inf {
534 <LibraryClasses>
535 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
536 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
537 }
538
539 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
540 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
541 <LibraryClasses>
542 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
543 }
544
545 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
546
547 !if $(SECURE_BOOT_ENABLE) == TRUE
548 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
549 <LibraryClasses>
550 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
551 }
552 !else
553 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
554 !endif
555
556 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
557 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
558 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
559 UefiCpuPkg/CpuDxe/CpuDxe.inf
560 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
561 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
562 <LibraryClasses>
563 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
564 }
565 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
566 <LibraryClasses>
567 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
568 }
569 PcAtChipsetPkg/KbcResetDxe/Reset.inf
570 MdeModulePkg/Universal/Metronome/Metronome.inf
571 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
572 !if $(USE_OLD_BDS) == TRUE
573 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
574 <LibraryClasses>
575 !ifdef $(CSM_ENABLE)
576 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
577 !endif
578 }
579 !else
580 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
581 <LibraryClasses>
582 !ifdef $(CSM_ENABLE)
583 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
584 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
585 !endif
586 }
587 MdeModulePkg/Application/UiApp/UiApp.inf {
588 <LibraryClasses>
589 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
590 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
591 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
592 !ifdef $(CSM_ENABLE)
593 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
594 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
595 !endif
596 }
597 !endif
598 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
599 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
600 OvmfPkg/Virtio10Dxe/Virtio10.inf
601 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
602 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
603 OvmfPkg/VirtioRngDxe/VirtioRng.inf
604 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
605 OvmfPkg/XenBusDxe/XenBusDxe.inf
606 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
607 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
608 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
609 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
610 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
611 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
612 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
613 <LibraryClasses>
614 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
615 }
616 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
617 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
618 <LibraryClasses>
619 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
620 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
621 }
622 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
623 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
624 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
625 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
626 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
627 FatPkg/EnhancedFatDxe/Fat.inf
628 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
629 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
630 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
631 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
632 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
633 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
634 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
635 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
636 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
637 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
638
639 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
640 <LibraryClasses>
641 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
642 }
643
644 #
645 # ISA Support
646 #
647 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
648 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
649 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
650 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
651 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
652
653 #
654 # SMBIOS Support
655 #
656 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
657 <LibraryClasses>
658 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
659 }
660 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
661
662 #
663 # ACPI Support
664 #
665 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
666 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
667 OvmfPkg/AcpiTables/AcpiTables.inf
668 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
669 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
670
671 #
672 # Network Support
673 #
674 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
675 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
676 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
677 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
678 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
679 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
680 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
681 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
682 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
683 !if $(NETWORK_IP6_ENABLE) == TRUE
684 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
685 NetworkPkg/TcpDxe/TcpDxe.inf
686 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
687 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
688 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
689 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
690 !if $(SECURE_BOOT_ENABLE) == TRUE
691 NetworkPkg/IScsiDxe/IScsiDxe.inf
692 !else
693 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
694 !endif
695 !else
696 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
697 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
698 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
699 !endif
700 !if $(HTTP_BOOT_ENABLE) == TRUE
701 NetworkPkg/DnsDxe/DnsDxe.inf
702 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
703 NetworkPkg/HttpDxe/HttpDxe.inf
704 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
705 !endif
706 OvmfPkg/VirtioNetDxe/VirtioNet.inf
707
708 #
709 # Usb Support
710 #
711 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
712 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
713 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
714 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
715 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
716 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
717
718 !ifdef $(CSM_ENABLE)
719 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
720 <LibraryClasses>
721 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
722 }
723 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
724 OvmfPkg/Csm/Csm16/Csm16.inf
725 !endif
726
727 !ifndef $(USE_OLD_SHELL)
728 ShellPkg/Application/Shell/Shell.inf {
729 <LibraryClasses>
730 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
731 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
732 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
733 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
736 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
737 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
738 !if $(NETWORK_IP6_ENABLE) == TRUE
739 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
740 !endif
741 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
742 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
743 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
744 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
745 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
746 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
747 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
748 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
749
750 <PcdsFixedAtBuild>
751 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
752 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
753 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
754 }
755 !endif
756
757 !if $(SECURE_BOOT_ENABLE) == TRUE
758 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
759 !endif
760
761 OvmfPkg/PlatformDxe/Platform.inf
762
763 !if $(SMM_REQUIRE) == TRUE
764 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
765 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
766 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
767
768 #
769 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
770 #
771 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
772
773 #
774 # SMM_CORE
775 #
776 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
777
778 #
779 # Privileged drivers (DXE_SMM_DRIVER modules)
780 #
781 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
782 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
783 <LibraryClasses>
784 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
785 }
786 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
787 <LibraryClasses>
788 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
789 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
790 }
791
792 #
793 # Variable driver stack (SMM)
794 #
795 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
796 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
797 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
798 <LibraryClasses>
799 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
800 }
801 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
802
803 !else
804
805 #
806 # Variable driver stack (non-SMM)
807 #
808 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
809 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
810 <LibraryClasses>
811 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
812 }
813 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
814 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
815 <LibraryClasses>
816 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
817 }
818 !endif