]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: Add HttpBoot support
[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 DEFINE HTTP_BOOT_ENABLE = FALSE
39
40 [BuildOptions]
41 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
42 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
43 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
44 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
45 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
46 !ifdef $(SOURCE_DEBUG_ENABLE)
47 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
48 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50 !endif
51
52 ################################################################################
53 #
54 # SKU Identification section - list of all SKU IDs supported by this Platform.
55 #
56 ################################################################################
57 [SkuIds]
58 0|DEFAULT
59
60 ################################################################################
61 #
62 # Library Class section - list of all Library Classes needed by this Platform.
63 #
64 ################################################################################
65 [LibraryClasses]
66 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
67 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
68 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
69 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
70 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
71 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
72 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
73 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
74 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
75 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
76 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
77 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
78 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
79 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
80 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
82 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
83 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
84 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
85 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
86 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
87 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
88 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
89 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
90 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
91 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
92 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
93 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
94 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
95 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
96 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
97 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
98 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
99 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
100 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
101 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
102 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
103 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
104 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
105 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
106 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
107 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
108 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
109 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
110 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
111
112 !ifdef $(SOURCE_DEBUG_ENABLE)
113 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
114 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
115 !else
116 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
117 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
118 !endif
119
120 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
121 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
122 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
123
124 !if $(SECURE_BOOT_ENABLE) == TRUE
125 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
126 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
127 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
128 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
129 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
130 !if $(NETWORK_IP6_ENABLE) == TRUE
131 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
132 !endif
133 !else
134 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
135 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
136 !endif
137
138 !if $(HTTP_BOOT_ENABLE) == TRUE
139 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
140 !endif
141
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
146
147 [LibraryClasses.common]
148 !if $(SECURE_BOOT_ENABLE) == TRUE
149 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
150 !endif
151
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
157 !else
158 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
159 !endif
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
164 !endif
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
170
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
182 !else
183 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
184 !endif
185 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
186
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
198 !else
199 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
200 !endif
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
206 !endif
207
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
215 !else
216 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
217 !endif
218 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
219 !ifdef $(SOURCE_DEBUG_ENABLE)
220 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
221 !endif
222 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
223
224 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
225 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
226 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
227 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
228 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
229 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
230 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
231 !ifdef $(DEBUG_ON_SERIAL_PORT)
232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
233 !else
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
235 !endif
236 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
237 !if $(SECURE_BOOT_ENABLE) == TRUE
238 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
239 !endif
240
241 [LibraryClasses.common.UEFI_DRIVER]
242 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
243 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
244 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
245 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
246 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
247 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
248 !ifdef $(DEBUG_ON_SERIAL_PORT)
249 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250 !else
251 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252 !endif
253 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
254
255 [LibraryClasses.common.DXE_DRIVER]
256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
257 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
258 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
259 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
260 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
261 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
262 !ifdef $(DEBUG_ON_SERIAL_PORT)
263 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
264 !else
265 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
266 !endif
267 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
268 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
269 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
270 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
271 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
272 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
273 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
274 !ifdef $(SOURCE_DEBUG_ENABLE)
275 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
276 !endif
277 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
278
279 [LibraryClasses.common.UEFI_APPLICATION]
280 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
281 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
282 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
283 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
284 !ifdef $(DEBUG_ON_SERIAL_PORT)
285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
286 !else
287 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
288 !endif
289
290 [LibraryClasses.common.DXE_SMM_DRIVER]
291 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
292 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
293
294 [LibraryClasses.common.SMM_CORE]
295 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
296 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
297
298 ################################################################################
299 #
300 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
301 #
302 ################################################################################
303 [PcdsFeatureFlag]
304 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
305 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
306 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
307 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
308 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
309 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
310 !if $(SECURE_BOOT_ENABLE) == TRUE
311 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
312 !endif
313
314 [PcdsFixedAtBuild]
315 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
316 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
317 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
318 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
319 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
320 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
321 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
322 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
323
324 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
325
326 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
327 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
328 !ifdef $(SOURCE_DEBUG_ENABLE)
329 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
330 !else
331 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
332 !endif
333
334 !ifdef $(SOURCE_DEBUG_ENABLE)
335 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
336 !endif
337
338 !ifndef $(USE_OLD_SHELL)
339 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
340 !endif
341
342 [PcdsFixedAtBuild.X64]
343 !if $(SECURE_BOOT_ENABLE) == TRUE
344 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
345 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
346 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
347 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
348 !endif
349
350 # IRQs 5, 9, 10, 11 are level-triggered
351 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
352
353 ################################################################################
354 #
355 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
356 #
357 ################################################################################
358
359 [PcdsDynamicDefault]
360 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
361 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
362 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
363 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
364 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
365 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
366 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
367 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
368
369 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
370
371 # Set video resolution for text setup.
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
373 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
374
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
376 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
377 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
378
379 ################################################################################
380 #
381 # Components Section - list of all EDK II Modules needed by this Platform.
382 #
383 ################################################################################
384 [Components.IA32]
385 OvmfPkg/ResetVector/ResetVector.inf
386
387 #
388 # SEC Phase modules
389 #
390 OvmfPkg/Sec/SecMain.inf {
391 <LibraryClasses>
392 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
393 }
394
395 #
396 # PEI Phase modules
397 #
398 MdeModulePkg/Core/Pei/PeiMain.inf
399 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
400 <LibraryClasses>
401 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
402 }
403 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
404 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
405
406 OvmfPkg/PlatformPei/PlatformPei.inf {
407 <LibraryClasses>
408 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
409 }
410 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
411 <LibraryClasses>
412 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
413 }
414
415 [Components.X64]
416 #
417 # DXE Phase modules
418 #
419 MdeModulePkg/Core/Dxe/DxeMain.inf {
420 <LibraryClasses>
421 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
422 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
423 }
424
425 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
426 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
427 <LibraryClasses>
428 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
429 }
430
431 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
432
433 !if $(SECURE_BOOT_ENABLE) == TRUE
434 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
435 <LibraryClasses>
436 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
437 }
438 !else
439 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
440 !endif
441
442 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
443 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
444 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
445 UefiCpuPkg/CpuDxe/CpuDxe.inf
446 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
447 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
448 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
449 <LibraryClasses>
450 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
451 }
452 PcAtChipsetPkg/KbcResetDxe/Reset.inf
453 MdeModulePkg/Universal/Metronome/Metronome.inf
454 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
455 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
456 <LibraryClasses>
457 !ifdef $(CSM_ENABLE)
458 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
459 !endif
460 }
461
462 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
463 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
464 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
465 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
466 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
467 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
468 OvmfPkg/XenBusDxe/XenBusDxe.inf
469 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
470 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
471 <LibraryClasses>
472 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
473 }
474 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
475 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
476 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
477 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
478 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
479 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
480 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
481 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
482 <LibraryClasses>
483 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
484 }
485 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
486 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
487 <LibraryClasses>
488 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
489 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
490 }
491 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
492 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
493 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
494 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
495 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
496 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
497 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
498 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
499 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
500 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
501 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
502 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
503
504 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
505 <LibraryClasses>
506 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
507 }
508
509 #
510 # ISA Support
511 #
512 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
513 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
514 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
515 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
516 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
517
518 #
519 # SMBIOS Support
520 #
521 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
522 <LibraryClasses>
523 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
524 }
525 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
526
527 #
528 # ACPI Support
529 #
530 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
531 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
532 OvmfPkg/AcpiTables/AcpiTables.inf
533 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
534 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
535 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
536
537 #
538 # Network Support
539 #
540 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
541 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
542 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
543 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
544 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
545 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
546 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
547 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
548 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
549 !if $(NETWORK_IP6_ENABLE) == TRUE
550 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
551 NetworkPkg/TcpDxe/TcpDxe.inf
552 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
553 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
554 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
555 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
556 !if $(SECURE_BOOT_ENABLE) == TRUE
557 NetworkPkg/IScsiDxe/IScsiDxe.inf
558 !else
559 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
560 !endif
561 !else
562 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
563 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
564 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
565 !endif
566 !if $(HTTP_BOOT_ENABLE) == TRUE
567 NetworkPkg/DnsDxe/DnsDxe.inf
568 NetworkPkg/HttpDxe/HttpDxe.inf
569 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
570 !endif
571 OvmfPkg/VirtioNetDxe/VirtioNet.inf
572
573 #
574 # Usb Support
575 #
576 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
577 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
578 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
579 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
580 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
581 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
582
583 !ifdef $(CSM_ENABLE)
584 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
585 <LibraryClasses>
586 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
587 }
588 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
589 OvmfPkg/Csm/Csm16/Csm16.inf
590 !endif
591
592 !ifndef $(USE_OLD_SHELL)
593 ShellPkg/Application/Shell/Shell.inf {
594 <LibraryClasses>
595 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
596 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
597 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
598 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
599 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
600 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
601 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
602 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
603 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
604 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
605 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
606 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
607 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
608 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
609 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
610 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
611
612 <PcdsFixedAtBuild>
613 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
614 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
615 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
616 }
617 !endif
618
619 !if $(SECURE_BOOT_ENABLE) == TRUE
620 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
621 !endif
622
623 OvmfPkg/PlatformDxe/Platform.inf