]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg/PlatformPei: set PCI IO port aperture dynamically
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.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/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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 !ifdef $(SOURCE_DEBUG_ENABLE)
49 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
51 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
52 !endif
53
54 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
55 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
56
57 ################################################################################
58 #
59 # SKU Identification section - list of all SKU IDs supported by this Platform.
60 #
61 ################################################################################
62 [SkuIds]
63 0|DEFAULT
64
65 ################################################################################
66 #
67 # Library Class section - list of all Library Classes needed by this Platform.
68 #
69 ################################################################################
70 [LibraryClasses]
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
72 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
73 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
76 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
78 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
80 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
81 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
82 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
83 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
84 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
85 !if $(USE_OLD_BDS) == TRUE
86 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
87 !else
88 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
89 !endif
90 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
91 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
92 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
93 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
94 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
95 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
96 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
97 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
98 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
99 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
100 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
101 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
102 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
103 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
104 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
105 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
106 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
107 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
108 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
109 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
110 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
111 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
112 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
113 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
114 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
115 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
116 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
117 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
118 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
119 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
120 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
121 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
122 !if $(SMM_REQUIRE) == FALSE
123 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
124 !endif
125 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
126
127 !ifdef $(SOURCE_DEBUG_ENABLE)
128 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
129 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
130 !else
131 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
132 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
133 !endif
134
135 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
136 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
137 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
138
139 !if $(SECURE_BOOT_ENABLE) == TRUE
140 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
141 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
142 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
143 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
144 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
145 !if $(NETWORK_IP6_ENABLE) == TRUE
146 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
147 !endif
148 !else
149 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
150 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
151 !endif
152 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
153
154 !if $(HTTP_BOOT_ENABLE) == TRUE
155 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
156 !endif
157
158 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
159 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
160 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
161 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
162
163 [LibraryClasses.common]
164 !if $(SECURE_BOOT_ENABLE) == TRUE
165 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
166 !endif
167
168 [LibraryClasses.common.SEC]
169 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
170 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
171 !ifdef $(DEBUG_ON_SERIAL_PORT)
172 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
173 !else
174 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
175 !endif
176 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
177 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
178 !ifdef $(SOURCE_DEBUG_ENABLE)
179 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
180 !endif
181 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
182 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
183 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
184 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
185 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
186
187 [LibraryClasses.common.PEI_CORE]
188 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
189 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
190 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
191 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
192 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
193 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
194 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
195 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
196 !ifdef $(DEBUG_ON_SERIAL_PORT)
197 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
198 !else
199 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
200 !endif
201 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
202
203 [LibraryClasses.common.PEIM]
204 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
205 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
206 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
207 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
208 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
209 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
210 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
211 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
212 !ifdef $(DEBUG_ON_SERIAL_PORT)
213 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
214 !else
215 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
216 !endif
217 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
218 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
219 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
220 !ifdef $(SOURCE_DEBUG_ENABLE)
221 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
222 !endif
223
224 [LibraryClasses.common.DXE_CORE]
225 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
226 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
227 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
228 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
229 !ifdef $(DEBUG_ON_SERIAL_PORT)
230 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
231 !else
232 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
233 !endif
234 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
235 !ifdef $(SOURCE_DEBUG_ENABLE)
236 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
237 !endif
238 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
239 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
240
241 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
242 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
243 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
244 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
245 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
246 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
247 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
248 !ifdef $(DEBUG_ON_SERIAL_PORT)
249 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250 !else
251 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252 !endif
253 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
254 !if $(SECURE_BOOT_ENABLE) == TRUE
255 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
256 !endif
257 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
258
259 [LibraryClasses.common.UEFI_DRIVER]
260 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
261 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
262 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
263 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
264 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
265 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
266 !ifdef $(DEBUG_ON_SERIAL_PORT)
267 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
268 !else
269 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
270 !endif
271 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
272 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
273
274 [LibraryClasses.common.DXE_DRIVER]
275 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
276 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
277 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
278 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
279 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
280 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
281 !ifdef $(DEBUG_ON_SERIAL_PORT)
282 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283 !else
284 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285 !endif
286 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
287 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
288 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
289 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
290 !if $(USE_OLD_BDS) == TRUE
291 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
292 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
293 !else
294 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
295 QemuBootOrderLib|OvmfPkg/Library/QemuNewBootOrderLib/QemuBootOrderLib.inf
296 !endif
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
308 [LibraryClasses.common.UEFI_APPLICATION]
309 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
310 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
311 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
312 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
313 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
314 !ifdef $(DEBUG_ON_SERIAL_PORT)
315 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316 !else
317 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
318 !endif
319 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
320
321 [LibraryClasses.common.DXE_SMM_DRIVER]
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
324 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
328 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
329 !ifdef $(DEBUG_ON_SERIAL_PORT)
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
331 !else
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
333 !endif
334 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
335 !ifdef $(SOURCE_DEBUG_ENABLE)
336 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
337 !endif
338 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
339 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
340
341 [LibraryClasses.common.SMM_CORE]
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
343 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
344 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
345 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
347 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
348 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
349 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
350 !ifdef $(DEBUG_ON_SERIAL_PORT)
351 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
352 !else
353 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
354 !endif
355 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
356
357 ################################################################################
358 #
359 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
360 #
361 ################################################################################
362 [PcdsFeatureFlag]
363 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
364 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
365 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
366 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
367 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
368 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
369 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
370 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
371 !if $(SECURE_BOOT_ENABLE) == TRUE
372 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
373 !endif
374 !if $(SMM_REQUIRE) == TRUE
375 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
376 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
377 !endif
378
379 [PcdsFixedAtBuild]
380 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
381 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
382 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
383 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
384 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
385 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
386 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
387 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
388
389 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
390
391 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
392
393 # DEBUG_INIT 0x00000001 // Initialization
394 # DEBUG_WARN 0x00000002 // Warnings
395 # DEBUG_LOAD 0x00000004 // Load events
396 # DEBUG_FS 0x00000008 // EFI File system
397 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
398 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
399 # DEBUG_INFO 0x00000040 // Informational debug messages
400 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
401 # DEBUG_VARIABLE 0x00000100 // Variable
402 # DEBUG_BM 0x00000400 // Boot Manager
403 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
404 # DEBUG_NET 0x00004000 // SNP Driver
405 # DEBUG_UNDI 0x00010000 // UNDI Driver
406 # DEBUG_LOADFILE 0x00020000 // LoadFile
407 # DEBUG_EVENT 0x00080000 // Event messages
408 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
409 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
410 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
411 # // significantly impact boot performance
412 # DEBUG_ERROR 0x80000000 // Error
413 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
414
415 !ifdef $(SOURCE_DEBUG_ENABLE)
416 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
417 !else
418 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
419 !endif
420
421 # This PCD is used to set the base address of the PCI express hierarchy. It
422 # is only consulted when OVMF runs on Q35. In that case it is programmed into
423 # the PCIEXBAR register.
424 #
425 # On Q35 machine types that QEMU intends to support in the long term, QEMU
426 # never lets the RAM below 4 GB exceed 2 GB.
427 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
428
429 !ifdef $(SOURCE_DEBUG_ENABLE)
430 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
431 !endif
432
433 !ifndef $(USE_OLD_SHELL)
434 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
435 !endif
436
437 !if $(SMM_REQUIRE) == TRUE
438 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
439 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
440 !endif
441
442 !if $(SECURE_BOOT_ENABLE) == TRUE
443 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
444 !endif
445
446 # IRQs 5, 9, 10, 11 are level-triggered
447 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
448
449 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
450 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
451
452 ################################################################################
453 #
454 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
455 #
456 ################################################################################
457
458 [PcdsDynamicDefault]
459 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
460 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
461 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
462 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
463 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
464 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
465 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
466 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
467 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
468 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
469 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
470 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
471 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
472 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
473 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
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 ################################################################################
490 #
491 # Components Section - list of all EDK II Modules needed by this Platform.
492 #
493 ################################################################################
494 [Components]
495 OvmfPkg/ResetVector/ResetVector.inf
496
497 #
498 # SEC Phase modules
499 #
500 OvmfPkg/Sec/SecMain.inf {
501 <LibraryClasses>
502 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
503 }
504
505 #
506 # PEI Phase modules
507 #
508 MdeModulePkg/Core/Pei/PeiMain.inf
509 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
510 <LibraryClasses>
511 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
512 }
513 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
514 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
515 <LibraryClasses>
516 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
517 }
518
519 OvmfPkg/PlatformPei/PlatformPei.inf {
520 <LibraryClasses>
521 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
522 }
523 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
524 <LibraryClasses>
525 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
526 !if $(SMM_REQUIRE) == TRUE
527 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
528 !endif
529 }
530 !if $(SMM_REQUIRE) == TRUE
531 OvmfPkg/SmmAccess/SmmAccessPei.inf {
532 <LibraryClasses>
533 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
534 }
535 !endif
536
537 #
538 # DXE Phase modules
539 #
540 MdeModulePkg/Core/Dxe/DxeMain.inf {
541 <LibraryClasses>
542 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
543 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
544 }
545
546 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
547 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
548 <LibraryClasses>
549 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
550 }
551
552 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
553
554 !if $(SECURE_BOOT_ENABLE) == TRUE
555 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
556 <LibraryClasses>
557 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
558 }
559 !else
560 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
561 !endif
562
563 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
564 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
565 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
566 UefiCpuPkg/CpuDxe/CpuDxe.inf
567 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
568 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
569 <LibraryClasses>
570 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
571 }
572 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
573 <LibraryClasses>
574 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
575 }
576 PcAtChipsetPkg/KbcResetDxe/Reset.inf
577 MdeModulePkg/Universal/Metronome/Metronome.inf
578 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
579 !if $(USE_OLD_BDS) == TRUE
580 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
581 <LibraryClasses>
582 !ifdef $(CSM_ENABLE)
583 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
584 !endif
585 }
586 !else
587 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
588 <LibraryClasses>
589 !ifdef $(CSM_ENABLE)
590 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
591 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
592 !endif
593 }
594 MdeModulePkg/Application/UiApp/UiApp.inf {
595 <LibraryClasses>
596 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
597 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
598 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
599 !ifdef $(CSM_ENABLE)
600 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
601 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
602 !endif
603 }
604 !endif
605 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
606 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
607 OvmfPkg/Virtio10Dxe/Virtio10.inf
608 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
609 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
610 OvmfPkg/VirtioRngDxe/VirtioRng.inf
611 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
612 OvmfPkg/XenBusDxe/XenBusDxe.inf
613 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
614 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
615 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
616 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
617 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
618 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
619 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
620 <LibraryClasses>
621 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
622 }
623 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
624 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
625 <LibraryClasses>
626 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
627 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
628 }
629 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
630 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
631 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
632 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
633 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
634 FatPkg/EnhancedFatDxe/Fat.inf
635 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
636 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
637 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
638 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
639 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
640 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
641 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
642 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
643 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
644 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
645
646 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
647 <LibraryClasses>
648 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
649 }
650
651 #
652 # ISA Support
653 #
654 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
655 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
656 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
657 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
658 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
659
660 #
661 # SMBIOS Support
662 #
663 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
664 <LibraryClasses>
665 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
666 }
667 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
668
669 #
670 # ACPI Support
671 #
672 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
673 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
674 OvmfPkg/AcpiTables/AcpiTables.inf
675 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
676 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
677
678 #
679 # Network Support
680 #
681 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
682 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
683 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
684 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
685 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
686 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
687 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
688 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
689 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
690 !if $(NETWORK_IP6_ENABLE) == TRUE
691 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
692 NetworkPkg/TcpDxe/TcpDxe.inf
693 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
694 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
695 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
696 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
697 !if $(SECURE_BOOT_ENABLE) == TRUE
698 NetworkPkg/IScsiDxe/IScsiDxe.inf
699 !else
700 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
701 !endif
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