]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: Add HttpBoot support
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.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/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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|FALSE
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 !if $(SECURE_BOOT_ENABLE) == TRUE
343 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
344 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
345 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
346 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
347 !endif
348
349 # IRQs 5, 9, 10, 11 are level-triggered
350 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
351
352 ################################################################################
353 #
354 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
355 #
356 ################################################################################
357
358 [PcdsDynamicDefault]
359 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
360 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
361 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
362 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
363 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
364 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
365 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
366 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
367
368 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
369
370 # Set video resolution for text setup.
371 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
373
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
376 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
377
378 ################################################################################
379 #
380 # Components Section - list of all EDK II Modules needed by this Platform.
381 #
382 ################################################################################
383 [Components]
384 OvmfPkg/ResetVector/ResetVector.inf
385
386 #
387 # SEC Phase modules
388 #
389 OvmfPkg/Sec/SecMain.inf {
390 <LibraryClasses>
391 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
392 }
393
394 #
395 # PEI Phase modules
396 #
397 MdeModulePkg/Core/Pei/PeiMain.inf
398 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
399 <LibraryClasses>
400 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
401 }
402 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
403 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
404
405 OvmfPkg/PlatformPei/PlatformPei.inf {
406 <LibraryClasses>
407 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
408 }
409 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
410 <LibraryClasses>
411 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
412 }
413
414 #
415 # DXE Phase modules
416 #
417 MdeModulePkg/Core/Dxe/DxeMain.inf {
418 <LibraryClasses>
419 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
420 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
421 }
422
423 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
424 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
425 <LibraryClasses>
426 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
427 }
428
429 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
430
431 !if $(SECURE_BOOT_ENABLE) == TRUE
432 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
433 <LibraryClasses>
434 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
435 }
436 !else
437 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
438 !endif
439
440 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
441 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
442 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
443 UefiCpuPkg/CpuDxe/CpuDxe.inf
444 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
445 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
446 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
447 <LibraryClasses>
448 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
449 }
450 PcAtChipsetPkg/KbcResetDxe/Reset.inf
451 MdeModulePkg/Universal/Metronome/Metronome.inf
452 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
453 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
454 <LibraryClasses>
455 !ifdef $(CSM_ENABLE)
456 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
457 !endif
458 }
459
460 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
461 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
462 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
463 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
464 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
465 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
466 OvmfPkg/XenBusDxe/XenBusDxe.inf
467 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
468 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
469 <LibraryClasses>
470 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
471 }
472 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
473 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
474 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
475 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
476 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
477 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
478 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
479 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
480 <LibraryClasses>
481 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
482 }
483 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
484 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
485 <LibraryClasses>
486 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
487 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
488 }
489 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
490 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
491 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
492 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
493 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
494 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
495 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
496 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
497 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
498 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
499 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
500 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
501
502 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
503 <LibraryClasses>
504 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
505 }
506
507 #
508 # ISA Support
509 #
510 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
511 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
512 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
513 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
514 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
515
516 #
517 # SMBIOS Support
518 #
519 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
520 <LibraryClasses>
521 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
522 }
523 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
524
525 #
526 # ACPI Support
527 #
528 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
529 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
530 OvmfPkg/AcpiTables/AcpiTables.inf
531 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
532 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
533 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
534
535 #
536 # Network Support
537 #
538 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
539 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
540 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
541 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
542 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
543 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
544 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
545 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
546 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
547 !if $(NETWORK_IP6_ENABLE) == TRUE
548 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
549 NetworkPkg/TcpDxe/TcpDxe.inf
550 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
551 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
552 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
553 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
554 !if $(SECURE_BOOT_ENABLE) == TRUE
555 NetworkPkg/IScsiDxe/IScsiDxe.inf
556 !else
557 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
558 !endif
559 !else
560 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
561 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
562 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
563 !endif
564 !if $(HTTP_BOOT_ENABLE) == TRUE
565 NetworkPkg/DnsDxe/DnsDxe.inf
566 NetworkPkg/HttpDxe/HttpDxe.inf
567 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
568 !endif
569 OvmfPkg/VirtioNetDxe/VirtioNet.inf
570
571 #
572 # Usb Support
573 #
574 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
575 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
576 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
577 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
578 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
579 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
580
581 !ifdef $(CSM_ENABLE)
582 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
583 <LibraryClasses>
584 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
585 }
586 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
587 OvmfPkg/Csm/Csm16/Csm16.inf
588 !endif
589
590 !ifndef $(USE_OLD_SHELL)
591 ShellPkg/Application/Shell/Shell.inf {
592 <LibraryClasses>
593 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
594 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
595 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
596 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
597 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
598 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
599 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
600 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
601 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
602 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
603 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
604 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
605 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
606 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
607 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
608 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
609
610 <PcdsFixedAtBuild>
611 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
612 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
613 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
614 }
615 !endif
616
617 !if $(SECURE_BOOT_ENABLE) == TRUE
618 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
619 !endif
620
621 OvmfPkg/PlatformDxe/Platform.inf