2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
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
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.
16 ################################################################################
18 # Defines Section - statements that will be processed to create a Makefile.
20 ################################################################################
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
33 # Defines for default states. These can be changed on the command line.
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37 DEFINE NETWORK_IP6_ENABLE = FALSE
38 DEFINE HTTP_BOOT_ENABLE = FALSE
39 DEFINE SMM_REQUIRE = FALSE
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
53 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
54 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
56 ################################################################################
58 # SKU Identification section - list of all SKU IDs supported by this Platform.
60 ################################################################################
64 ################################################################################
66 # Library Class section - list of all Library Classes needed by this Platform.
68 ################################################################################
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 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
84 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
85 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
86 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
87 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
88 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
89 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
90 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
91 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
92 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
93 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
94 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
95 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
96 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
97 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
98 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
99 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
100 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
101 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
102 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
103 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
104 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
105 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
106 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
107 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
108 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
109 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
110 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
111 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
112 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
113 !if $(SMM_REQUIRE) == FALSE
114 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
116 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
118 !ifdef $(SOURCE_DEBUG_ENABLE)
119 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
120 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
122 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
123 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
126 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
127 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
128 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
130 !if $(SECURE_BOOT_ENABLE) == TRUE
131 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
132 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
133 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
134 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
135 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
136 !if $(NETWORK_IP6_ENABLE) == TRUE
137 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
140 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
141 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
143 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
145 !if $(HTTP_BOOT_ENABLE) == TRUE
146 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
149 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
150 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
151 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
152 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
154 [LibraryClasses.common]
155 !if $(SECURE_BOOT_ENABLE) == TRUE
156 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
159 [LibraryClasses.common.SEC]
160 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
161 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
162 !ifdef $(DEBUG_ON_SERIAL_PORT)
163 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
165 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
167 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
168 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
169 !ifdef $(SOURCE_DEBUG_ENABLE)
170 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
172 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
173 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
174 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
175 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
176 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
178 [LibraryClasses.common.PEI_CORE]
179 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
180 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
181 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
182 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
183 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
184 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
185 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
186 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
187 !ifdef $(DEBUG_ON_SERIAL_PORT)
188 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
190 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
192 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
194 [LibraryClasses.common.PEIM]
195 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
196 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
197 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
198 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
199 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
200 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
201 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
202 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
203 !ifdef $(DEBUG_ON_SERIAL_PORT)
204 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
206 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
208 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
209 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
210 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
211 !ifdef $(SOURCE_DEBUG_ENABLE)
212 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
215 [LibraryClasses.common.DXE_CORE]
216 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
217 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
218 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
219 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
220 !ifdef $(DEBUG_ON_SERIAL_PORT)
221 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
223 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
225 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
226 !ifdef $(SOURCE_DEBUG_ENABLE)
227 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
229 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
230 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
232 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
233 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
234 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
235 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
236 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
238 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
239 !ifdef $(DEBUG_ON_SERIAL_PORT)
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
244 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
245 !if $(SECURE_BOOT_ENABLE) == TRUE
246 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
249 [LibraryClasses.common.UEFI_DRIVER]
250 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
251 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
252 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
253 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
254 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
256 !ifdef $(DEBUG_ON_SERIAL_PORT)
257 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
259 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
263 [LibraryClasses.common.DXE_DRIVER]
264 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
265 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
266 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
267 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
268 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
269 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
270 !ifdef $(DEBUG_ON_SERIAL_PORT)
271 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
273 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
275 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
276 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
277 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
278 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
279 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
280 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
281 !if $(SMM_REQUIRE) == TRUE
282 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
284 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
286 !ifdef $(SOURCE_DEBUG_ENABLE)
287 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
289 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
291 [LibraryClasses.common.UEFI_APPLICATION]
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
293 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
294 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
295 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
296 !ifdef $(DEBUG_ON_SERIAL_PORT)
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
302 [LibraryClasses.common.DXE_SMM_DRIVER]
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
304 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
305 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
308 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
309 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
310 !ifdef $(DEBUG_ON_SERIAL_PORT)
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
315 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
316 !ifdef $(SOURCE_DEBUG_ENABLE)
317 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
320 [LibraryClasses.common.SMM_CORE]
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
322 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
323 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
324 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
328 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
329 !ifdef $(DEBUG_ON_SERIAL_PORT)
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
335 ################################################################################
337 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
339 ################################################################################
341 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
342 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
343 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
344 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
345 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
346 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
347 !if $(SECURE_BOOT_ENABLE) == TRUE
348 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
350 !if $(SMM_REQUIRE) == TRUE
351 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
355 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
356 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
357 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
358 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
359 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
360 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
361 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
362 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
364 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
366 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
367 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
368 !ifdef $(SOURCE_DEBUG_ENABLE)
369 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
371 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
374 !ifdef $(SOURCE_DEBUG_ENABLE)
375 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
378 !ifndef $(USE_OLD_SHELL)
379 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
382 !if $(SECURE_BOOT_ENABLE) == TRUE
383 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
384 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
385 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
386 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
389 # IRQs 5, 9, 10, 11 are level-triggered
390 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
392 ################################################################################
394 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
396 ################################################################################
399 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
400 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
401 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
402 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
403 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
404 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
405 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
406 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
408 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
410 # Set video resolution for text setup.
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
412 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
414 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
415 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
416 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
418 # Noexec settings for DXE.
419 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
420 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
422 ################################################################################
424 # Components Section - list of all EDK II Modules needed by this Platform.
426 ################################################################################
428 OvmfPkg/ResetVector/ResetVector.inf
433 OvmfPkg/Sec/SecMain.inf {
435 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
441 MdeModulePkg/Core/Pei/PeiMain.inf
442 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
444 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
446 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
447 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
449 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
452 OvmfPkg/PlatformPei/PlatformPei.inf {
454 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
456 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
458 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
459 !if $(SMM_REQUIRE) == TRUE
460 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
463 !if $(SMM_REQUIRE) == TRUE
464 OvmfPkg/SmmAccess/SmmAccessPei.inf {
466 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
473 MdeModulePkg/Core/Dxe/DxeMain.inf {
475 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
476 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
479 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
480 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
482 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
485 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
487 !if $(SECURE_BOOT_ENABLE) == TRUE
488 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
490 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
493 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
496 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
497 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
498 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
499 UefiCpuPkg/CpuDxe/CpuDxe.inf
500 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
501 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
502 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
504 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
506 PcAtChipsetPkg/KbcResetDxe/Reset.inf
507 MdeModulePkg/Universal/Metronome/Metronome.inf
508 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
509 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
512 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
516 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
517 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
518 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
519 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
520 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
521 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
522 OvmfPkg/XenBusDxe/XenBusDxe.inf
523 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
524 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
526 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
528 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
529 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
531 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
533 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
534 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
535 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
536 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
537 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
538 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
540 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
542 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
543 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
545 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
546 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
548 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
549 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
550 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
551 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
552 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
553 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
554 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
555 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
556 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
557 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
558 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
559 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
560 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
562 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
564 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
570 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
571 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
572 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
573 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
574 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
579 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
581 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
583 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
588 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
589 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
590 OvmfPkg/AcpiTables/AcpiTables.inf
591 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
592 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
593 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
598 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
599 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
600 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
601 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
602 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
603 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
604 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
605 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
606 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
607 !if $(NETWORK_IP6_ENABLE) == TRUE
608 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
609 NetworkPkg/TcpDxe/TcpDxe.inf
610 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
611 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
612 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
613 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
614 !if $(SECURE_BOOT_ENABLE) == TRUE
615 NetworkPkg/IScsiDxe/IScsiDxe.inf
617 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
620 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
621 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
622 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
624 !if $(HTTP_BOOT_ENABLE) == TRUE
625 NetworkPkg/DnsDxe/DnsDxe.inf
626 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
627 NetworkPkg/HttpDxe/HttpDxe.inf
628 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
630 OvmfPkg/VirtioNetDxe/VirtioNet.inf
635 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
636 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
637 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
638 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
639 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
640 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
643 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
645 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
647 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
648 OvmfPkg/Csm/Csm16/Csm16.inf
651 !ifndef $(USE_OLD_SHELL)
652 ShellPkg/Application/Shell/Shell.inf {
654 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
655 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
656 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
657 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
658 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
659 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
660 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
661 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
662 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
663 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
664 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
665 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
666 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
667 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
668 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
669 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
670 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
673 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
674 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
675 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
679 !if $(SECURE_BOOT_ENABLE) == TRUE
680 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
683 OvmfPkg/PlatformDxe/Platform.inf
685 !if $(SMM_REQUIRE) == TRUE
686 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
687 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
690 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
692 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
697 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
700 # Privileged drivers (DXE_SMM_DRIVER modules)
702 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
703 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
705 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf