]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: PlatformPei: set SMBIOS entry point version dynamically
[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 !if $(NETWORK_IP6_ENABLE) == TRUE
129 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
130 !endif
131 !endif
132
133 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
134 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
135 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
136 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
137
138 [LibraryClasses.common]
139 !if $(SECURE_BOOT_ENABLE) == TRUE
140 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
141 !endif
142
143 [LibraryClasses.common.SEC]
144 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
145 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
146 !ifdef $(DEBUG_ON_SERIAL_PORT)
147 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
148 !else
149 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
150 !endif
151 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
152 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
153 !ifdef $(SOURCE_DEBUG_ENABLE)
154 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
155 !endif
156 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
157 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
158 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
159 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
160 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
161
162 [LibraryClasses.common.PEI_CORE]
163 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
164 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
165 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
166 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
167 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
169 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
170 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
171 !ifdef $(DEBUG_ON_SERIAL_PORT)
172 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
173 !else
174 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
175 !endif
176 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
177
178 [LibraryClasses.common.PEIM]
179 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
180 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
181 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
182 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
183 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
184 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
185 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
186 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
187 !ifdef $(DEBUG_ON_SERIAL_PORT)
188 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
189 !else
190 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
191 !endif
192 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
193 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
194 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
195 !ifdef $(SOURCE_DEBUG_ENABLE)
196 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
197 !endif
198
199 [LibraryClasses.common.DXE_CORE]
200 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
201 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
202 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
203 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
204 !ifdef $(DEBUG_ON_SERIAL_PORT)
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
206 !else
207 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
208 !endif
209 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
210 !ifdef $(SOURCE_DEBUG_ENABLE)
211 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
212 !endif
213 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
214
215 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
216 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
217 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
218 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
219 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
220 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
221 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
222 !ifdef $(DEBUG_ON_SERIAL_PORT)
223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
224 !else
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
226 !endif
227 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
228 !if $(SECURE_BOOT_ENABLE) == TRUE
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
230 !endif
231
232 [LibraryClasses.common.UEFI_DRIVER]
233 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
234 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
235 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
236 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
238 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
239 !ifdef $(DEBUG_ON_SERIAL_PORT)
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
241 !else
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
243 !endif
244 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
245
246 [LibraryClasses.common.DXE_DRIVER]
247 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
251 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
252 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
253 !ifdef $(DEBUG_ON_SERIAL_PORT)
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
255 !else
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
257 !endif
258 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
259 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
260 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
261 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
262 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
264 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
265 !ifdef $(SOURCE_DEBUG_ENABLE)
266 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
267 !endif
268 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
269
270 [LibraryClasses.common.UEFI_APPLICATION]
271 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
272 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
273 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
274 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
275 !ifdef $(DEBUG_ON_SERIAL_PORT)
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
277 !else
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
279 !endif
280
281 [LibraryClasses.common.DXE_SMM_DRIVER]
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
283 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
284
285 [LibraryClasses.common.SMM_CORE]
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
287 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
288
289 ################################################################################
290 #
291 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
292 #
293 ################################################################################
294 [PcdsFeatureFlag]
295 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
296 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
297 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
298 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
299 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
300 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
301 !if $(SECURE_BOOT_ENABLE) == TRUE
302 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
303 !endif
304
305 [PcdsFixedAtBuild]
306 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
307 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
308 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
309 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
310 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
311 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
312 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
313 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
314
315 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
316
317 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
319 !ifdef $(SOURCE_DEBUG_ENABLE)
320 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
321 !else
322 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
323 !endif
324
325 !ifdef $(SOURCE_DEBUG_ENABLE)
326 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
327 !endif
328
329 !ifndef $(USE_OLD_SHELL)
330 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
331 !endif
332
333 [PcdsFixedAtBuild.X64]
334 !if $(SECURE_BOOT_ENABLE) == TRUE
335 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
336 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
337 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
338 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
339 !endif
340
341 # IRQs 5, 9, 10, 11 are level-triggered
342 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
343
344 ################################################################################
345 #
346 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
347 #
348 ################################################################################
349
350 [PcdsDynamicDefault]
351 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
352 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
353 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
354 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
355 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
356 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
358 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
359
360 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
361
362 # Set video resolution for text setup.
363 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
364 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
365
366 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
367
368 ################################################################################
369 #
370 # Components Section - list of all EDK II Modules needed by this Platform.
371 #
372 ################################################################################
373 [Components.IA32]
374 OvmfPkg/ResetVector/ResetVector.inf
375
376 #
377 # SEC Phase modules
378 #
379 OvmfPkg/Sec/SecMain.inf {
380 <LibraryClasses>
381 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
382 }
383
384 #
385 # PEI Phase modules
386 #
387 MdeModulePkg/Core/Pei/PeiMain.inf
388 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
389 <LibraryClasses>
390 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
391 }
392 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
393 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
394
395 OvmfPkg/PlatformPei/PlatformPei.inf {
396 <LibraryClasses>
397 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
398 }
399 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
400 <LibraryClasses>
401 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
402 }
403
404 [Components.X64]
405 #
406 # DXE Phase modules
407 #
408 MdeModulePkg/Core/Dxe/DxeMain.inf {
409 <LibraryClasses>
410 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
411 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
412 }
413
414 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
415 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
416 <LibraryClasses>
417 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
418 }
419
420 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
421
422 !if $(SECURE_BOOT_ENABLE) == TRUE
423 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
424 <LibraryClasses>
425 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
426 }
427 !else
428 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
429 !endif
430
431 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
432 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
433 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
434 UefiCpuPkg/CpuDxe/CpuDxe.inf
435 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
436 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
437 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
438 <LibraryClasses>
439 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
440 }
441 PcAtChipsetPkg/KbcResetDxe/Reset.inf
442 MdeModulePkg/Universal/Metronome/Metronome.inf
443 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
444 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
445 <LibraryClasses>
446 !ifdef $(CSM_ENABLE)
447 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
448 !endif
449 }
450
451 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
452 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
453 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
454 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
455 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
456 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
457 OvmfPkg/XenBusDxe/XenBusDxe.inf
458 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
459 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
460 <LibraryClasses>
461 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
462 }
463 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
464 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
465 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
466 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
467 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
468 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
469 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
470 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
471 <LibraryClasses>
472 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
473 }
474 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
475 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
476 <LibraryClasses>
477 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
478 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
479 }
480 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
481 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
482 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
483 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
484 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
485 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
486 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
487 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
488 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
489 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
490 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
491 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
492
493 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
494 <LibraryClasses>
495 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
496 }
497
498 #
499 # ISA Support
500 #
501 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
502 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
503 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
504 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
505 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
506
507 #
508 # SMBIOS Support
509 #
510 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
511 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
512
513 #
514 # ACPI Support
515 #
516 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
517 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
518 OvmfPkg/AcpiTables/AcpiTables.inf
519 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
520 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
521 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
522
523 #
524 # Network Support
525 #
526 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
527 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
528 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
529 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
530 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
531 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
532 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
533 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
534 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
535 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
536 !if $(NETWORK_IP6_ENABLE) == TRUE
537 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
538 NetworkPkg/TcpDxe/TcpDxe.inf
539 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
540 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
541 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
542 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
543 !if $(SECURE_BOOT_ENABLE) == TRUE
544 NetworkPkg/IScsiDxe/IScsiDxe.inf
545 !else
546 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
547 !endif
548 !else
549 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
550 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
551 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
552 !endif
553 OvmfPkg/VirtioNetDxe/VirtioNet.inf
554
555 #
556 # Usb Support
557 #
558 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
559 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
560 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
561 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
562 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
563 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
564
565 !ifdef $(CSM_ENABLE)
566 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
567 <LibraryClasses>
568 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
569 }
570 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
571 OvmfPkg/Csm/Csm16/Csm16.inf
572 !endif
573
574 !ifndef $(USE_OLD_SHELL)
575 ShellPkg/Application/Shell/Shell.inf {
576 <LibraryClasses>
577 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
578 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
579 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
580 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
581 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
582 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
583 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
584 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
585 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
586 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
587 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
588 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
589 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
590 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
591 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
592 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
593
594 <PcdsFixedAtBuild>
595 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
596 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
597 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
598 }
599 !endif
600
601 !if $(SECURE_BOOT_ENABLE) == TRUE
602 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
603 <LibraryClasses>
604 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
605 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
606 }
607 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
608 !endif
609
610 OvmfPkg/PlatformDxe/Platform.inf