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