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/OvmfIa32
27 SUPPORTED_ARCHITECTURES = IA32
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.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
41 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
42 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
43 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
44 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
45 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
47 ################################################################################
49 # SKU Identification section - list of all SKU IDs supported by this Platform.
51 ################################################################################
55 ################################################################################
57 # Library Class section - list of all Library Classes needed by this Platform.
59 ################################################################################
61 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
62 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
63 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
64 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
65 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
66 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
67 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
68 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
69 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
70 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
71 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
72 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
73 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
74 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
75 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
76 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
77 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
78 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
79 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
80 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
81 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
82 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
83 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
84 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
85 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
86 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
87 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
88 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
89 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
90 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
91 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
92 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
93 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
94 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
95 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
96 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
97 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
98 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
99 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
100 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
101 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
102 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
103 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
104 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
105 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
107 !ifdef $(SOURCE_DEBUG_ENABLE)
108 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
109 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
111 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
112 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
115 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
116 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
117 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
119 !if $(SECURE_BOOT_ENABLE) == TRUE
120 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
121 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
122 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
123 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
124 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
125 !if $(NETWORK_IP6_ENABLE) == TRUE
126 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
129 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
130 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
132 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
134 !if $(HTTP_BOOT_ENABLE) == TRUE
135 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
138 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
139 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
140 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
141 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
143 [LibraryClasses.common]
144 !if $(SECURE_BOOT_ENABLE) == TRUE
145 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
148 [LibraryClasses.common.SEC]
149 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
150 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
151 !ifdef $(DEBUG_ON_SERIAL_PORT)
152 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
154 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
156 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
157 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
158 !ifdef $(SOURCE_DEBUG_ENABLE)
159 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
163 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
164 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
165 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
167 [LibraryClasses.common.PEI_CORE]
168 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
169 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
170 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
171 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
172 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
173 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
174 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
175 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
176 !ifdef $(DEBUG_ON_SERIAL_PORT)
177 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
179 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
181 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
183 [LibraryClasses.common.PEIM]
184 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
185 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
186 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
187 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
188 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
189 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
190 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
191 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
192 !ifdef $(DEBUG_ON_SERIAL_PORT)
193 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
197 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
198 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
199 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
200 !ifdef $(SOURCE_DEBUG_ENABLE)
201 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
204 [LibraryClasses.common.DXE_CORE]
205 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
206 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
207 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
208 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
209 !ifdef $(DEBUG_ON_SERIAL_PORT)
210 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
212 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
214 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
215 !ifdef $(SOURCE_DEBUG_ENABLE)
216 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
218 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
220 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
221 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
222 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
223 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
224 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
225 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
226 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
227 !ifdef $(DEBUG_ON_SERIAL_PORT)
228 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
230 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
232 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
233 !if $(SECURE_BOOT_ENABLE) == TRUE
234 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
237 [LibraryClasses.common.UEFI_DRIVER]
238 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
239 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
240 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
241 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
242 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
243 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
244 !ifdef $(DEBUG_ON_SERIAL_PORT)
245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
249 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
251 [LibraryClasses.common.DXE_DRIVER]
252 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
253 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
254 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
255 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
256 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
257 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
258 !ifdef $(DEBUG_ON_SERIAL_PORT)
259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
263 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
264 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
265 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
266 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
267 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
268 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
269 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
270 !ifdef $(SOURCE_DEBUG_ENABLE)
271 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
273 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
275 [LibraryClasses.common.UEFI_APPLICATION]
276 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
277 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
278 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
279 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
286 [LibraryClasses.common.DXE_SMM_DRIVER]
287 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
288 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
290 [LibraryClasses.common.SMM_CORE]
291 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
292 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
294 ################################################################################
296 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
298 ################################################################################
300 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
301 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
302 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
303 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
304 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
305 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
306 !if $(SECURE_BOOT_ENABLE) == TRUE
307 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
311 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
312 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
313 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
314 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
315 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
316 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
317 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
318 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
319 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
321 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
323 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
324 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
325 !ifdef $(SOURCE_DEBUG_ENABLE)
326 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
328 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
331 !ifdef $(SOURCE_DEBUG_ENABLE)
332 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
335 !ifndef $(USE_OLD_SHELL)
336 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
339 !if $(SECURE_BOOT_ENABLE) == TRUE
340 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
341 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
342 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
343 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
346 # IRQs 5, 9, 10, 11 are level-triggered
347 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
349 ################################################################################
351 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
353 ################################################################################
356 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
357 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
358 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
359 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
360 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
361 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
362 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
363 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
365 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
367 # Set video resolution for text setup.
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
369 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
371 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
373 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
375 ################################################################################
377 # Components Section - list of all EDK II Modules needed by this Platform.
379 ################################################################################
381 OvmfPkg/ResetVector/ResetVector.inf
386 OvmfPkg/Sec/SecMain.inf {
388 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
394 MdeModulePkg/Core/Pei/PeiMain.inf
395 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
397 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
399 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
400 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
402 OvmfPkg/PlatformPei/PlatformPei.inf {
404 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
406 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
408 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
414 MdeModulePkg/Core/Dxe/DxeMain.inf {
416 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
417 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
420 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
421 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
423 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
426 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
428 !if $(SECURE_BOOT_ENABLE) == TRUE
429 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
431 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
434 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
437 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
438 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
439 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
440 UefiCpuPkg/CpuDxe/CpuDxe.inf
441 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
442 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
443 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
445 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
447 PcAtChipsetPkg/KbcResetDxe/Reset.inf
448 MdeModulePkg/Universal/Metronome/Metronome.inf
449 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
450 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
453 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
457 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
458 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
459 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
460 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
461 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
462 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
463 OvmfPkg/XenBusDxe/XenBusDxe.inf
464 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
465 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
467 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
469 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
470 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
472 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
474 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
475 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
476 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
477 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
478 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
479 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
481 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
483 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
484 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
486 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
487 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
489 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
490 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
491 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
492 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
493 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
494 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
495 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
496 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
497 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
498 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
499 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
500 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
502 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
504 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
510 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
511 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
512 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
513 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
514 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
519 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
521 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
523 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
528 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
529 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
530 OvmfPkg/AcpiTables/AcpiTables.inf
531 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
532 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
533 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
538 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
539 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
540 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
541 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
542 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
543 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
544 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
545 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
546 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
547 !if $(NETWORK_IP6_ENABLE) == TRUE
548 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
549 NetworkPkg/TcpDxe/TcpDxe.inf
550 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
551 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
552 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
553 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
554 !if $(SECURE_BOOT_ENABLE) == TRUE
555 NetworkPkg/IScsiDxe/IScsiDxe.inf
557 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
560 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
561 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
562 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
564 !if $(HTTP_BOOT_ENABLE) == TRUE
565 NetworkPkg/DnsDxe/DnsDxe.inf
566 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
567 NetworkPkg/HttpDxe/HttpDxe.inf
568 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
570 OvmfPkg/VirtioNetDxe/VirtioNet.inf
575 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
576 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
577 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
578 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
579 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
580 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
583 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
585 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
587 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
588 OvmfPkg/Csm/Csm16/Csm16.inf
591 !ifndef $(USE_OLD_SHELL)
592 ShellPkg/Application/Shell/Shell.inf {
594 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
595 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
596 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
597 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
598 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
599 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
600 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
601 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
602 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
603 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
604 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
605 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
606 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
607 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
608 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
609 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
612 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
613 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
614 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
618 !if $(SECURE_BOOT_ENABLE) == TRUE
619 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
622 OvmfPkg/PlatformDxe/Platform.inf