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