]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: pull in the SMM IPL and SMM core
[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
295 [LibraryClasses.common.SMM_CORE]
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
298 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
299 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
300 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
301 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
302 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
303 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
304 !ifdef $(DEBUG_ON_SERIAL_PORT)
305 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
306 !else
307 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
308 !endif
309
310 ################################################################################
311 #
312 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
313 #
314 ################################################################################
315 [PcdsFeatureFlag]
316 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
317 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
318 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
319 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
320 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
321 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
322 !if $(SECURE_BOOT_ENABLE) == TRUE
323 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
324 !endif
325 !if $(SMM_REQUIRE) == TRUE
326 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
327 !endif
328
329 [PcdsFixedAtBuild]
330 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
331 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
332 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
333 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
334 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
335 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
336 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
337 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
338
339 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
340
341 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
342 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
343 !ifdef $(SOURCE_DEBUG_ENABLE)
344 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
345 !else
346 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
347 !endif
348
349 !ifdef $(SOURCE_DEBUG_ENABLE)
350 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
351 !endif
352
353 !ifndef $(USE_OLD_SHELL)
354 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
355 !endif
356
357 !if $(SECURE_BOOT_ENABLE) == TRUE
358 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
359 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
360 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
361 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
362 !endif
363
364 # IRQs 5, 9, 10, 11 are level-triggered
365 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
366
367 ################################################################################
368 #
369 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
370 #
371 ################################################################################
372
373 [PcdsDynamicDefault]
374 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
375 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
376 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
377 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
378 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
380 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
381 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
382
383 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
384
385 # Set video resolution for text setup.
386 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
387 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
388
389 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
390 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
391 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
392
393 # Noexec settings for DXE.
394 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
395 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
396
397 ################################################################################
398 #
399 # Components Section - list of all EDK II Modules needed by this Platform.
400 #
401 ################################################################################
402 [Components]
403 OvmfPkg/ResetVector/ResetVector.inf
404
405 #
406 # SEC Phase modules
407 #
408 OvmfPkg/Sec/SecMain.inf {
409 <LibraryClasses>
410 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
411 }
412
413 #
414 # PEI Phase modules
415 #
416 MdeModulePkg/Core/Pei/PeiMain.inf
417 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
418 <LibraryClasses>
419 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
420 }
421 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
422 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
423 <LibraryClasses>
424 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
425 }
426
427 OvmfPkg/PlatformPei/PlatformPei.inf {
428 <LibraryClasses>
429 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
430 }
431 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
432 <LibraryClasses>
433 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
434 }
435 !if $(SMM_REQUIRE) == TRUE
436 OvmfPkg/SmmAccess/SmmAccessPei.inf {
437 <LibraryClasses>
438 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
439 }
440 !endif
441
442 #
443 # DXE Phase modules
444 #
445 MdeModulePkg/Core/Dxe/DxeMain.inf {
446 <LibraryClasses>
447 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
448 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
449 }
450
451 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
452 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
453 <LibraryClasses>
454 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
455 }
456
457 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
458
459 !if $(SECURE_BOOT_ENABLE) == TRUE
460 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
461 <LibraryClasses>
462 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
463 }
464 !else
465 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
466 !endif
467
468 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
469 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
470 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
471 UefiCpuPkg/CpuDxe/CpuDxe.inf
472 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
473 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
474 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
475 <LibraryClasses>
476 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
477 }
478 PcAtChipsetPkg/KbcResetDxe/Reset.inf
479 MdeModulePkg/Universal/Metronome/Metronome.inf
480 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
481 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
482 <LibraryClasses>
483 !ifdef $(CSM_ENABLE)
484 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
485 !endif
486 }
487
488 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
489 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
490 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
491 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
492 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
493 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
494 OvmfPkg/XenBusDxe/XenBusDxe.inf
495 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
496 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
497 <LibraryClasses>
498 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
499 }
500 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
501 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
502 <LibraryClasses>
503 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
504 }
505 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
506 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
507 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
508 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
509 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
510 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
511 <LibraryClasses>
512 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
513 }
514 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
515 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
516 <LibraryClasses>
517 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
519 }
520 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
521 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
522 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
523 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
524 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
525 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
526 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
527 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
528 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
529 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
530 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
531 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
532 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
533
534 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
535 <LibraryClasses>
536 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
537 }
538
539 #
540 # ISA Support
541 #
542 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
543 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
544 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
545 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
546 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
547
548 #
549 # SMBIOS Support
550 #
551 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
552 <LibraryClasses>
553 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
554 }
555 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
556
557 #
558 # ACPI Support
559 #
560 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
561 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
562 OvmfPkg/AcpiTables/AcpiTables.inf
563 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
564 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
565 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
566
567 #
568 # Network Support
569 #
570 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
571 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
572 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
573 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
574 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
575 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
576 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
577 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
578 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
579 !if $(NETWORK_IP6_ENABLE) == TRUE
580 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
581 NetworkPkg/TcpDxe/TcpDxe.inf
582 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
583 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
584 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
585 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
586 !if $(SECURE_BOOT_ENABLE) == TRUE
587 NetworkPkg/IScsiDxe/IScsiDxe.inf
588 !else
589 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
590 !endif
591 !else
592 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
593 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
594 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
595 !endif
596 !if $(HTTP_BOOT_ENABLE) == TRUE
597 NetworkPkg/DnsDxe/DnsDxe.inf
598 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
599 NetworkPkg/HttpDxe/HttpDxe.inf
600 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
601 !endif
602 OvmfPkg/VirtioNetDxe/VirtioNet.inf
603
604 #
605 # Usb Support
606 #
607 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
608 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
609 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
610 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
611 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
612 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
613
614 !ifdef $(CSM_ENABLE)
615 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
616 <LibraryClasses>
617 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
618 }
619 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
620 OvmfPkg/Csm/Csm16/Csm16.inf
621 !endif
622
623 !ifndef $(USE_OLD_SHELL)
624 ShellPkg/Application/Shell/Shell.inf {
625 <LibraryClasses>
626 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
627 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
628 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
629 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
630 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
631 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
632 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
633 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
635 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
636 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
637 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
638 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
639 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
640 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
641 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
642 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
643
644 <PcdsFixedAtBuild>
645 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
646 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
647 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
648 }
649 !endif
650
651 !if $(SECURE_BOOT_ENABLE) == TRUE
652 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
653 !endif
654
655 OvmfPkg/PlatformDxe/Platform.inf
656
657 !if $(SMM_REQUIRE) == TRUE
658 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
659 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
660
661 #
662 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
663 #
664 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
665
666 #
667 # SMM_CORE
668 #
669 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
670 !endif