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