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