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