]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: introduce PcdQemuSmbiosValidated
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
5 #
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
10 #
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.
13 #
14 ##
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/Ovmf3264
27 SUPPORTED_ARCHITECTURES = IA32|X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
31
32 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37 DEFINE NETWORK_IP6_ENABLE = FALSE
38
39 [BuildOptions]
40 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
41 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
42 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
43 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
44 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
45 !ifdef $(SOURCE_DEBUG_ENABLE)
46 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
47 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
48 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49 !endif
50
51 ################################################################################
52 #
53 # SKU Identification section - list of all SKU IDs supported by this Platform.
54 #
55 ################################################################################
56 [SkuIds]
57 0|DEFAULT
58
59 ################################################################################
60 #
61 # Library Class section - list of all Library Classes needed by this Platform.
62 #
63 ################################################################################
64 [LibraryClasses]
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
110
111 !ifdef $(SOURCE_DEBUG_ENABLE)
112 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
113 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
114 !else
115 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
117 !endif
118
119 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
120 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
121 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
122
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
131 !endif
132 !else
133 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
134 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
135 !endif
136
137 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
138 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
139 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
140 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
141
142 [LibraryClasses.common]
143 !if $(SECURE_BOOT_ENABLE) == TRUE
144 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
145 !endif
146
147 [LibraryClasses.common.SEC]
148 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
149 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
150 !ifdef $(DEBUG_ON_SERIAL_PORT)
151 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
152 !else
153 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
154 !endif
155 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
156 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
157 !ifdef $(SOURCE_DEBUG_ENABLE)
158 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
159 !endif
160 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
161 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
162 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
164 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
165
166 [LibraryClasses.common.PEI_CORE]
167 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
168 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
169 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
170 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
171 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
173 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
174 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
175 !ifdef $(DEBUG_ON_SERIAL_PORT)
176 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
177 !else
178 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
179 !endif
180 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
181
182 [LibraryClasses.common.PEIM]
183 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
184 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
185 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
186 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
187 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
188 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
189 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
190 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
191 !ifdef $(DEBUG_ON_SERIAL_PORT)
192 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
193 !else
194 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
195 !endif
196 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
197 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
198 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
199 !ifdef $(SOURCE_DEBUG_ENABLE)
200 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
201 !endif
202
203 [LibraryClasses.common.DXE_CORE]
204 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
205 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
206 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
207 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
208 !ifdef $(DEBUG_ON_SERIAL_PORT)
209 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
210 !else
211 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
212 !endif
213 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
214 !ifdef $(SOURCE_DEBUG_ENABLE)
215 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
216 !endif
217 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
218
219 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
220 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
221 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
222 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
223 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
224 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
225 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
226 !ifdef $(DEBUG_ON_SERIAL_PORT)
227 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
228 !else
229 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
230 !endif
231 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
232 !if $(SECURE_BOOT_ENABLE) == TRUE
233 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
234 !endif
235
236 [LibraryClasses.common.UEFI_DRIVER]
237 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
238 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
239 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
240 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
241 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
242 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
243 !ifdef $(DEBUG_ON_SERIAL_PORT)
244 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
245 !else
246 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
247 !endif
248 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
249
250 [LibraryClasses.common.DXE_DRIVER]
251 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
252 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
253 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
254 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
256 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
257 !ifdef $(DEBUG_ON_SERIAL_PORT)
258 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
259 !else
260 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261 !endif
262 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
263 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
264 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
265 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
266 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
268 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
269 !ifdef $(SOURCE_DEBUG_ENABLE)
270 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
271 !endif
272 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
273
274 [LibraryClasses.common.UEFI_APPLICATION]
275 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
276 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
277 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
278 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
279 !ifdef $(DEBUG_ON_SERIAL_PORT)
280 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
281 !else
282 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
283 !endif
284
285 [LibraryClasses.common.DXE_SMM_DRIVER]
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
287 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
288
289 [LibraryClasses.common.SMM_CORE]
290 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
291 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
292
293 ################################################################################
294 #
295 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
296 #
297 ################################################################################
298 [PcdsFeatureFlag]
299 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
300 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
301 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
302 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
303 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
304 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
305 !if $(SECURE_BOOT_ENABLE) == TRUE
306 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
307 !endif
308
309 [PcdsFixedAtBuild]
310 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
311 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
312 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
313 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
314 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
315 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
316 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
317 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
318
319 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
320
321 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
322 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
323 !ifdef $(SOURCE_DEBUG_ENABLE)
324 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
325 !else
326 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
327 !endif
328
329 !ifdef $(SOURCE_DEBUG_ENABLE)
330 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
331 !endif
332
333 !ifndef $(USE_OLD_SHELL)
334 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
335 !endif
336
337 [PcdsFixedAtBuild.X64]
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
343 !endif
344
345 # IRQs 5, 9, 10, 11 are level-triggered
346 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
347
348 ################################################################################
349 #
350 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
351 #
352 ################################################################################
353
354 [PcdsDynamicDefault]
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
363
364 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
365
366 # Set video resolution for text setup.
367 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
369
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
371 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
372
373 ################################################################################
374 #
375 # Components Section - list of all EDK II Modules needed by this Platform.
376 #
377 ################################################################################
378 [Components.IA32]
379 OvmfPkg/ResetVector/ResetVector.inf
380
381 #
382 # SEC Phase modules
383 #
384 OvmfPkg/Sec/SecMain.inf {
385 <LibraryClasses>
386 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
387 }
388
389 #
390 # PEI Phase modules
391 #
392 MdeModulePkg/Core/Pei/PeiMain.inf
393 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
394 <LibraryClasses>
395 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
396 }
397 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
398 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
399
400 OvmfPkg/PlatformPei/PlatformPei.inf {
401 <LibraryClasses>
402 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
403 }
404 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
405 <LibraryClasses>
406 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
407 }
408
409 [Components.X64]
410 #
411 # DXE Phase modules
412 #
413 MdeModulePkg/Core/Dxe/DxeMain.inf {
414 <LibraryClasses>
415 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
416 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
417 }
418
419 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
420 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
421 <LibraryClasses>
422 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
423 }
424
425 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
426
427 !if $(SECURE_BOOT_ENABLE) == TRUE
428 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
429 <LibraryClasses>
430 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
431 }
432 !else
433 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
434 !endif
435
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 {
443 <LibraryClasses>
444 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
445 }
446 PcAtChipsetPkg/KbcResetDxe/Reset.inf
447 MdeModulePkg/Universal/Metronome/Metronome.inf
448 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
449 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
450 <LibraryClasses>
451 !ifdef $(CSM_ENABLE)
452 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
453 !endif
454 }
455
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 {
465 <LibraryClasses>
466 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
467 }
468 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
469 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
470 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
471 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
472 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
473 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
474 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
475 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
476 <LibraryClasses>
477 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
478 }
479 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
480 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
481 <LibraryClasses>
482 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
483 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
484 }
485 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
486 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
487 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
488 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
489 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
490 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
491 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
492 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
493 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
494 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
495 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
496 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
497
498 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
499 <LibraryClasses>
500 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
501 }
502
503 #
504 # ISA Support
505 #
506 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
507 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
508 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
509 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
510 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
511
512 #
513 # SMBIOS Support
514 #
515 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
516 <LibraryClasses>
517 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
518 }
519 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
520
521 #
522 # ACPI Support
523 #
524 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
525 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
526 OvmfPkg/AcpiTables/AcpiTables.inf
527 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
528 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
529 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
530
531 #
532 # Network Support
533 #
534 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
535 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
536 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
537 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
538 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
539 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
540 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
541 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
542 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
543 !if $(NETWORK_IP6_ENABLE) == TRUE
544 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
545 NetworkPkg/TcpDxe/TcpDxe.inf
546 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
547 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
548 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
549 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
550 !if $(SECURE_BOOT_ENABLE) == TRUE
551 NetworkPkg/IScsiDxe/IScsiDxe.inf
552 !else
553 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
554 !endif
555 !else
556 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
557 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
558 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
559 !endif
560 OvmfPkg/VirtioNetDxe/VirtioNet.inf
561
562 #
563 # Usb Support
564 #
565 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
566 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
567 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
568 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
569 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
570 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
571
572 !ifdef $(CSM_ENABLE)
573 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
574 <LibraryClasses>
575 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
576 }
577 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
578 OvmfPkg/Csm/Csm16/Csm16.inf
579 !endif
580
581 !ifndef $(USE_OLD_SHELL)
582 ShellPkg/Application/Shell/Shell.inf {
583 <LibraryClasses>
584 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
585 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
586 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
587 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
588 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
589 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
590 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
591 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
592 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
593 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
594 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
595 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
596 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
597 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
598 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
599 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
600
601 <PcdsFixedAtBuild>
602 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
603 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
604 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
605 }
606 !endif
607
608 !if $(SECURE_BOOT_ENABLE) == TRUE
609 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
610 !endif
611
612 OvmfPkg/PlatformDxe/Platform.inf