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
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
48 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
49 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
51 ################################################################################
53 # SKU Identification section - list of all SKU IDs supported by this Platform.
55 ################################################################################
59 ################################################################################
61 # Library Class section - list of all Library Classes needed by this Platform.
63 ################################################################################
65 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
66 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
67 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
68 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
69 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
70 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
71 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
72 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
73 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
74 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
75 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
76 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
78 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
79 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
80 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
81 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
82 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
83 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
84 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
85 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
86 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
87 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
88 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
89 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
90 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
91 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
92 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
93 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
94 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
95 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
96 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
97 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
98 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
99 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
100 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
101 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
102 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
103 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
104 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
105 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
106 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
107 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
108 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
109 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
111 !ifdef $(SOURCE_DEBUG_ENABLE)
112 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
113 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
115 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
119 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
120 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
121 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
123 !if $(SECURE_BOOT_ENABLE) == TRUE
124 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
125 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
126 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
127 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
128 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
129 !if $(NETWORK_IP6_ENABLE) == TRUE
130 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
133 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
134 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
136 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
138 !if $(HTTP_BOOT_ENABLE) == TRUE
139 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
142 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
143 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
144 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
145 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
147 [LibraryClasses.common]
148 !if $(SECURE_BOOT_ENABLE) == TRUE
149 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
152 [LibraryClasses.common.SEC]
153 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
154 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
155 !ifdef $(DEBUG_ON_SERIAL_PORT)
156 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
158 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
160 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
161 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
162 !ifdef $(SOURCE_DEBUG_ENABLE)
163 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
165 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
166 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
167 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
168 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
169 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
171 [LibraryClasses.common.PEI_CORE]
172 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
173 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
174 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
175 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
176 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
177 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
178 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
179 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
180 !ifdef $(DEBUG_ON_SERIAL_PORT)
181 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
183 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
185 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
187 [LibraryClasses.common.PEIM]
188 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
189 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
190 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
191 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
192 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
193 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
194 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
195 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
196 !ifdef $(DEBUG_ON_SERIAL_PORT)
197 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
199 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
201 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
202 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
203 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
204 !ifdef $(SOURCE_DEBUG_ENABLE)
205 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
208 [LibraryClasses.common.DXE_CORE]
209 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
210 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
211 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
212 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
213 !ifdef $(DEBUG_ON_SERIAL_PORT)
214 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
216 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
218 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
219 !ifdef $(SOURCE_DEBUG_ENABLE)
220 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
222 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
223 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
225 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
226 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
227 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
228 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
229 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
230 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
231 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
232 !ifdef $(DEBUG_ON_SERIAL_PORT)
233 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
235 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
237 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
238 !if $(SECURE_BOOT_ENABLE) == TRUE
239 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
242 [LibraryClasses.common.UEFI_DRIVER]
243 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
244 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
245 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
246 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
247 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
248 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
249 !ifdef $(DEBUG_ON_SERIAL_PORT)
250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
254 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
256 [LibraryClasses.common.DXE_DRIVER]
257 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
258 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
259 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
260 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
261 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
262 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
263 !ifdef $(DEBUG_ON_SERIAL_PORT)
264 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
269 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
270 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
271 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
272 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
273 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
274 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
275 !ifdef $(SOURCE_DEBUG_ENABLE)
276 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
278 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
280 [LibraryClasses.common.UEFI_APPLICATION]
281 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
282 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
283 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
284 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
285 !ifdef $(DEBUG_ON_SERIAL_PORT)
286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
291 [LibraryClasses.common.DXE_SMM_DRIVER]
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
293 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
295 [LibraryClasses.common.SMM_CORE]
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
298 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
299 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
300 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
301 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
302 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
303 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
304 !ifdef $(DEBUG_ON_SERIAL_PORT)
305 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
307 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
310 ################################################################################
312 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
314 ################################################################################
316 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
317 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
318 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
319 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
320 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
321 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
322 !if $(SECURE_BOOT_ENABLE) == TRUE
323 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
325 !if $(SMM_REQUIRE) == TRUE
326 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
330 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
331 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
332 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
333 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
334 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
335 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
336 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
337 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
339 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
341 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
342 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
343 !ifdef $(SOURCE_DEBUG_ENABLE)
344 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
346 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
349 !ifdef $(SOURCE_DEBUG_ENABLE)
350 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
353 !ifndef $(USE_OLD_SHELL)
354 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
357 !if $(SECURE_BOOT_ENABLE) == TRUE
358 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
359 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
360 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
361 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
364 # IRQs 5, 9, 10, 11 are level-triggered
365 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
367 ################################################################################
369 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
371 ################################################################################
374 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
375 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
376 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
377 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
378 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
380 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
381 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
383 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
385 # Set video resolution for text setup.
386 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
387 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
389 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
390 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
391 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
393 # Noexec settings for DXE.
394 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
395 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
397 ################################################################################
399 # Components Section - list of all EDK II Modules needed by this Platform.
401 ################################################################################
403 OvmfPkg/ResetVector/ResetVector.inf
408 OvmfPkg/Sec/SecMain.inf {
410 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
416 MdeModulePkg/Core/Pei/PeiMain.inf
417 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
419 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
421 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
422 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
424 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
427 OvmfPkg/PlatformPei/PlatformPei.inf {
429 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
431 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
433 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
435 !if $(SMM_REQUIRE) == TRUE
436 OvmfPkg/SmmAccess/SmmAccessPei.inf {
438 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
445 MdeModulePkg/Core/Dxe/DxeMain.inf {
447 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
448 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
451 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
452 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
454 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
457 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
459 !if $(SECURE_BOOT_ENABLE) == TRUE
460 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
462 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
465 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
468 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
469 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
470 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
471 UefiCpuPkg/CpuDxe/CpuDxe.inf
472 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
473 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
474 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
476 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
478 PcAtChipsetPkg/KbcResetDxe/Reset.inf
479 MdeModulePkg/Universal/Metronome/Metronome.inf
480 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
481 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
484 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
488 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
489 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
490 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
491 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
492 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
493 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
494 OvmfPkg/XenBusDxe/XenBusDxe.inf
495 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
496 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
498 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
500 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
501 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
503 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
505 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
506 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
507 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
508 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
509 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
510 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
512 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
514 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
515 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
517 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
520 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
521 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
522 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
523 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
524 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
525 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
526 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
527 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
528 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
529 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
530 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
531 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
532 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
534 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
536 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
542 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
543 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
544 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
545 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
546 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
551 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
553 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
555 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
560 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
561 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
562 OvmfPkg/AcpiTables/AcpiTables.inf
563 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
564 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
565 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
570 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
571 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
572 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
573 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
574 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
575 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
576 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
577 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
578 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
579 !if $(NETWORK_IP6_ENABLE) == TRUE
580 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
581 NetworkPkg/TcpDxe/TcpDxe.inf
582 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
583 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
584 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
585 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
586 !if $(SECURE_BOOT_ENABLE) == TRUE
587 NetworkPkg/IScsiDxe/IScsiDxe.inf
589 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
592 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
593 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
594 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
596 !if $(HTTP_BOOT_ENABLE) == TRUE
597 NetworkPkg/DnsDxe/DnsDxe.inf
598 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
599 NetworkPkg/HttpDxe/HttpDxe.inf
600 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
602 OvmfPkg/VirtioNetDxe/VirtioNet.inf
607 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
608 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
609 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
610 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
611 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
612 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
615 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
617 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
619 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
620 OvmfPkg/Csm/Csm16/Csm16.inf
623 !ifndef $(USE_OLD_SHELL)
624 ShellPkg/Application/Shell/Shell.inf {
626 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
627 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
628 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
629 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
630 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
631 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
632 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
633 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
635 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
636 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
637 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
638 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
639 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
640 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
641 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
642 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
645 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
646 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
647 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
651 !if $(SECURE_BOOT_ENABLE) == TRUE
652 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
655 OvmfPkg/PlatformDxe/Platform.inf
657 !if $(SMM_REQUIRE) == TRUE
658 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
659 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
662 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
664 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
669 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf