]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.dsc
IntelFsp2Pkg: Add missing License.txt.
[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 #
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/Ovmf3264
27 SUPPORTED_ARCHITECTURES = IA32|X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
31
32 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37 DEFINE NETWORK_IP6_ENABLE = FALSE
38 DEFINE HTTP_BOOT_ENABLE = FALSE
39 DEFINE SMM_REQUIRE = FALSE
40
41 [BuildOptions]
42 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
43 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
44 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
45 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
46 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
47 !ifdef $(SOURCE_DEBUG_ENABLE)
48 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
51 !endif
52
53 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
54 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
55
56 ################################################################################
57 #
58 # SKU Identification section - list of all SKU IDs supported by this Platform.
59 #
60 ################################################################################
61 [SkuIds]
62 0|DEFAULT
63
64 ################################################################################
65 #
66 # Library Class section - list of all Library Classes needed by this Platform.
67 #
68 ################################################################################
69 [LibraryClasses]
70 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
71 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
72 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
73 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
74 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
75 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
76 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
77 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
78 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
79 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
80 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
81 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
82 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
83 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
84 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
85 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
86 ImageDecoderLib|MdeModulePkg/Library/ImageDecoderLib/ImageDecoderLib.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
124 !ifdef $(SOURCE_DEBUG_ENABLE)
125 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
126 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
127 !else
128 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
129 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
130 !endif
131
132 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
133 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
134 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
135
136 !if $(SECURE_BOOT_ENABLE) == TRUE
137 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
138 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
139 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
140 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
141 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
142 !if $(NETWORK_IP6_ENABLE) == TRUE
143 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
144 !endif
145 !else
146 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
147 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
148 !endif
149 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
150
151 !if $(HTTP_BOOT_ENABLE) == TRUE
152 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
153 !endif
154
155 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
156 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
157 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
158 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
159
160 [LibraryClasses.common]
161 !if $(SECURE_BOOT_ENABLE) == TRUE
162 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
163 !endif
164
165 [LibraryClasses.common.SEC]
166 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
167 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
168 !ifdef $(DEBUG_ON_SERIAL_PORT)
169 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
170 !else
171 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
172 !endif
173 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
174 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
175 !ifdef $(SOURCE_DEBUG_ENABLE)
176 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
177 !endif
178 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
179 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
180 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
181 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
182 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
183
184 [LibraryClasses.common.PEI_CORE]
185 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
186 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
187 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
188 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
189 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
190 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
191 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
192 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
193 !ifdef $(DEBUG_ON_SERIAL_PORT)
194 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195 !else
196 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
197 !endif
198 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
199
200 [LibraryClasses.common.PEIM]
201 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
202 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
203 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
204 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
205 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
206 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
207 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
208 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
209 !ifdef $(DEBUG_ON_SERIAL_PORT)
210 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
211 !else
212 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
213 !endif
214 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
215 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
216 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
217 !ifdef $(SOURCE_DEBUG_ENABLE)
218 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
219 !endif
220 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
221
222 [LibraryClasses.common.DXE_CORE]
223 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
224 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
225 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
226 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
227 !ifdef $(DEBUG_ON_SERIAL_PORT)
228 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
229 !else
230 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
231 !endif
232 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
233 !ifdef $(SOURCE_DEBUG_ENABLE)
234 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
235 !endif
236 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
237 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
238
239 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
240 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
241 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
242 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
243 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
244 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
245 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
246 !ifdef $(DEBUG_ON_SERIAL_PORT)
247 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
248 !else
249 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
250 !endif
251 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
252 !if $(SECURE_BOOT_ENABLE) == TRUE
253 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
254 !endif
255 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
256
257 [LibraryClasses.common.UEFI_DRIVER]
258 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
259 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
260 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
261 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
262 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
263 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
264 !ifdef $(DEBUG_ON_SERIAL_PORT)
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266 !else
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268 !endif
269 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
270 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
271
272 [LibraryClasses.common.DXE_DRIVER]
273 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
274 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
275 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
276 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
277 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
278 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
279 !ifdef $(DEBUG_ON_SERIAL_PORT)
280 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
281 !else
282 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
283 !endif
284 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
285 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
286 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
287 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
288 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
289 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
290 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
291 !if $(SMM_REQUIRE) == TRUE
292 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
293 !else
294 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
295 !endif
296 !ifdef $(SOURCE_DEBUG_ENABLE)
297 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
298 !endif
299 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
300
301 [LibraryClasses.common.UEFI_APPLICATION]
302 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
303 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
304 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
305 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
307 !ifdef $(DEBUG_ON_SERIAL_PORT)
308 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309 !else
310 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311 !endif
312 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
313
314 [LibraryClasses.common.DXE_SMM_DRIVER]
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
316 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
317 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
318 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
319 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
320 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
321 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
322 !ifdef $(DEBUG_ON_SERIAL_PORT)
323 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
324 !else
325 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
326 !endif
327 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
328 !ifdef $(SOURCE_DEBUG_ENABLE)
329 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
330 !endif
331 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333
334 [LibraryClasses.common.SMM_CORE]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
337 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
338 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
341 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
342 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
343 !ifdef $(DEBUG_ON_SERIAL_PORT)
344 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
345 !else
346 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
347 !endif
348 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
349
350 ################################################################################
351 #
352 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
353 #
354 ################################################################################
355 [PcdsFeatureFlag]
356 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
357 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
358 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
359 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
360 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
361 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
362 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
363 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
364 !if $(SECURE_BOOT_ENABLE) == TRUE
365 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
366 !endif
367 !if $(SMM_REQUIRE) == TRUE
368 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
369 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
370 !endif
371
372 [PcdsFixedAtBuild]
373 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
374 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
375 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
376 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
377 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
378 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
379 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
380 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
381
382 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
383
384 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
385
386 # DEBUG_INIT 0x00000001 // Initialization
387 # DEBUG_WARN 0x00000002 // Warnings
388 # DEBUG_LOAD 0x00000004 // Load events
389 # DEBUG_FS 0x00000008 // EFI File system
390 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
391 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
392 # DEBUG_INFO 0x00000040 // Informational debug messages
393 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
394 # DEBUG_VARIABLE 0x00000100 // Variable
395 # DEBUG_BM 0x00000400 // Boot Manager
396 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
397 # DEBUG_NET 0x00004000 // SNP Driver
398 # DEBUG_UNDI 0x00010000 // UNDI Driver
399 # DEBUG_LOADFILE 0x00020000 // LoadFile
400 # DEBUG_EVENT 0x00080000 // Event messages
401 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
402 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
403 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
404 # // significantly impact boot performance
405 # DEBUG_ERROR 0x80000000 // Error
406 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
407
408 !ifdef $(SOURCE_DEBUG_ENABLE)
409 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
410 !else
411 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
412 !endif
413
414 # This PCD is used to set the base address of the PCI express hierarchy. It
415 # is only consulted when OVMF runs on Q35. In that case it is programmed into
416 # the PCIEXBAR register.
417 #
418 # On Q35 machine types that QEMU intends to support in the long term, QEMU
419 # never lets the RAM below 4 GB exceed 2 GB.
420 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
421
422 !ifdef $(SOURCE_DEBUG_ENABLE)
423 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
424 !endif
425
426 [PcdsFixedAtBuild.X64]
427 !ifndef $(USE_OLD_SHELL)
428 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
429 !endif
430
431 !if $(SMM_REQUIRE) == TRUE
432 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
433 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
434 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
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 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
468 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
469
470 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
471
472 # Set video resolution for text setup.
473 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
474 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
475
476 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
477 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
478 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
479
480 # Noexec settings for DXE.
481 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
482 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
483
484 ################################################################################
485 #
486 # Components Section - list of all EDK II Modules needed by this Platform.
487 #
488 ################################################################################
489 [Components.IA32]
490 OvmfPkg/ResetVector/ResetVector.inf
491
492 #
493 # SEC Phase modules
494 #
495 OvmfPkg/Sec/SecMain.inf {
496 <LibraryClasses>
497 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
498 }
499
500 #
501 # PEI Phase modules
502 #
503 MdeModulePkg/Core/Pei/PeiMain.inf
504 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
505 <LibraryClasses>
506 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
507 }
508 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
509 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
510 <LibraryClasses>
511 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
512 }
513
514 OvmfPkg/PlatformPei/PlatformPei.inf {
515 <LibraryClasses>
516 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
517 }
518 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
519 <LibraryClasses>
520 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
521 !if $(SMM_REQUIRE) == TRUE
522 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
523 !endif
524 }
525 !if $(SMM_REQUIRE) == TRUE
526 OvmfPkg/SmmAccess/SmmAccessPei.inf {
527 <LibraryClasses>
528 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
529 }
530 !endif
531 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
532 <LibraryClasses>
533 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
534 }
535
536 [Components.X64]
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 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
569 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
570 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
571 <LibraryClasses>
572 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
573 }
574 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
575 <LibraryClasses>
576 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
577 }
578 PcAtChipsetPkg/KbcResetDxe/Reset.inf
579 MdeModulePkg/Universal/Metronome/Metronome.inf
580 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
581 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
582 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
583 <LibraryClasses>
584 NULL|MdeModulePkg/Library/BmpImageDecoderLib/BmpImageDecoderLib.inf
585 !ifdef $(CSM_ENABLE)
586 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
587 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
588 !endif
589 }
590 MdeModulePkg/Application/UiApp/UiApp.inf {
591 <LibraryClasses>
592 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
593 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
594 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
595 !ifdef $(CSM_ENABLE)
596 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
597 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
598 !endif
599 }
600 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
601 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
602 OvmfPkg/Virtio10Dxe/Virtio10.inf
603 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
604 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
605 OvmfPkg/VirtioRngDxe/VirtioRng.inf
606 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
607 OvmfPkg/XenBusDxe/XenBusDxe.inf
608 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
609 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
610 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
611 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
612 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
613 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
614 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
615 <LibraryClasses>
616 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
617 }
618 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
619 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
620 <LibraryClasses>
621 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
622 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
623 }
624 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
625 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
626 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
627 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
628 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
629 FatPkg/EnhancedFatDxe/Fat.inf
630 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
631 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
632 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
633 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
634 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
635 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
636 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
637 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
638 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
639 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
640
641 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
642 <LibraryClasses>
643 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
644 }
645
646 #
647 # ISA Support
648 #
649 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
650 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
651 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
652 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
653 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
654
655 #
656 # SMBIOS Support
657 #
658 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
659 <LibraryClasses>
660 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
661 }
662 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
663
664 #
665 # ACPI Support
666 #
667 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
668 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
669 OvmfPkg/AcpiTables/AcpiTables.inf
670 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
671 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
672
673 #
674 # Network Support
675 #
676 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
677 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
678 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
679 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
680 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
681 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
682 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
683 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
684 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
685 !if $(NETWORK_IP6_ENABLE) == TRUE
686 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
687 NetworkPkg/TcpDxe/TcpDxe.inf
688 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
689 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
690 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
691 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
692 !if $(SECURE_BOOT_ENABLE) == TRUE
693 NetworkPkg/IScsiDxe/IScsiDxe.inf
694 !else
695 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
696 !endif
697 !else
698 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
699 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
700 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
701 !endif
702 !if $(HTTP_BOOT_ENABLE) == TRUE
703 NetworkPkg/DnsDxe/DnsDxe.inf
704 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
705 NetworkPkg/HttpDxe/HttpDxe.inf
706 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
707 !endif
708 OvmfPkg/VirtioNetDxe/VirtioNet.inf
709
710 #
711 # Usb Support
712 #
713 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
714 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
715 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
716 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
717 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
718 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
719
720 !ifdef $(CSM_ENABLE)
721 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
722 <LibraryClasses>
723 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
724 }
725 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
726 OvmfPkg/Csm/Csm16/Csm16.inf
727 !endif
728
729 !ifndef $(USE_OLD_SHELL)
730 ShellPkg/Application/Shell/Shell.inf {
731 <LibraryClasses>
732 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
733 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
736 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
737 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
738 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
739 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
740 !if $(NETWORK_IP6_ENABLE) == TRUE
741 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
742 !endif
743 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
744 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
745 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
746 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
747 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
748 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
749 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
750 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
751
752 <PcdsFixedAtBuild>
753 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
754 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
755 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
756 }
757 !endif
758
759 !if $(SECURE_BOOT_ENABLE) == TRUE
760 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
761 !endif
762
763 OvmfPkg/PlatformDxe/Platform.inf
764
765 !if $(SMM_REQUIRE) == TRUE
766 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
767 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
768 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
769
770 #
771 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
772 #
773 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
774
775 #
776 # SMM_CORE
777 #
778 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
779
780 #
781 # Privileged drivers (DXE_SMM_DRIVER modules)
782 #
783 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
784 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
785 <LibraryClasses>
786 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
787 }
788 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
789 <LibraryClasses>
790 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
791 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
792 }
793
794 #
795 # Variable driver stack (SMM)
796 #
797 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
798 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
799 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
800 <LibraryClasses>
801 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
802 }
803 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
804
805 !else
806
807 #
808 # Variable driver stack (non-SMM)
809 #
810 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
811 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
812 <LibraryClasses>
813 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
814 }
815 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
816 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
817 <LibraryClasses>
818 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
819 }
820 !endif