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