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