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