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.PcdStatusCodeMemorySize|1
312 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
313 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
314 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
315 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
316 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
317 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
318 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
320 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
322 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
323 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
324 !ifdef $(SOURCE_DEBUG_ENABLE)
325 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
327 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
330 !ifdef $(SOURCE_DEBUG_ENABLE)
331 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
334 !ifndef $(USE_OLD_SHELL)
335 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
338 !if $(SECURE_BOOT_ENABLE) == TRUE
339 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
340 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
341 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
342 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
345 # IRQs 5, 9, 10, 11 are level-triggered
346 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
348 ################################################################################
350 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
352 ################################################################################
355 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
356 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
357 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
358 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
359 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
360 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
361 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
362 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
364 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
366 # Set video resolution for text setup.
367 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
371 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
372 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
374 ################################################################################
376 # Components Section - list of all EDK II Modules needed by this Platform.
378 ################################################################################
380 OvmfPkg/ResetVector/ResetVector.inf
385 OvmfPkg/Sec/SecMain.inf {
387 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
393 MdeModulePkg/Core/Pei/PeiMain.inf
394 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
396 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
398 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
399 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
401 OvmfPkg/PlatformPei/PlatformPei.inf {
403 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
405 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
407 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
413 MdeModulePkg/Core/Dxe/DxeMain.inf {
415 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
416 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
419 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
420 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
422 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
425 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
427 !if $(SECURE_BOOT_ENABLE) == TRUE
428 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
430 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
433 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
436 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
437 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
438 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
439 UefiCpuPkg/CpuDxe/CpuDxe.inf
440 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
441 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
442 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
444 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
446 PcAtChipsetPkg/KbcResetDxe/Reset.inf
447 MdeModulePkg/Universal/Metronome/Metronome.inf
448 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
449 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
452 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
456 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
457 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
458 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
459 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
460 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
461 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
462 OvmfPkg/XenBusDxe/XenBusDxe.inf
463 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
464 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
466 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
468 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
469 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
471 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
473 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
474 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
475 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
476 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
477 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
478 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
480 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
482 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
483 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
485 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
486 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
488 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
489 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
490 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
491 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
492 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
493 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
494 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
495 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
496 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
497 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
498 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
499 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
501 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
503 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
509 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
510 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
511 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
512 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
513 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
518 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
520 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
522 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
527 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
528 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
529 OvmfPkg/AcpiTables/AcpiTables.inf
530 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
531 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
532 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
537 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
538 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
539 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
540 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
541 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
542 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
543 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
544 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
545 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
546 !if $(NETWORK_IP6_ENABLE) == TRUE
547 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
548 NetworkPkg/TcpDxe/TcpDxe.inf
549 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
550 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
551 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
552 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
553 !if $(SECURE_BOOT_ENABLE) == TRUE
554 NetworkPkg/IScsiDxe/IScsiDxe.inf
556 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
559 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
560 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
561 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
563 !if $(HTTP_BOOT_ENABLE) == TRUE
564 NetworkPkg/DnsDxe/DnsDxe.inf
565 NetworkPkg/HttpDxe/HttpDxe.inf
566 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
568 OvmfPkg/VirtioNetDxe/VirtioNet.inf
573 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
574 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
575 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
576 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
577 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
578 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
581 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
583 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
585 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
586 OvmfPkg/Csm/Csm16/Csm16.inf
589 !ifndef $(USE_OLD_SHELL)
590 ShellPkg/Application/Shell/Shell.inf {
592 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
593 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
594 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
595 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
596 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
597 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
598 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
599 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
600 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
601 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
602 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
603 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
604 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
605 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
606 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
607 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
610 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
611 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
612 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
616 !if $(SECURE_BOOT_ENABLE) == TRUE
617 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
620 OvmfPkg/PlatformDxe/Platform.inf