]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: pull in TLS modules with -D TLS_ENABLE (also enabling HTTPS)
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 PLATFORM_NAME = Ovmf
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
27 OUTPUT_DIRECTORY = Build/OvmfIa32
28 SUPPORTED_ARCHITECTURES = IA32
29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
32
33 #
34 # Defines for default states. These can be changed on the command line.
35 # -D FLAG=VALUE
36 #
37 DEFINE SECURE_BOOT_ENABLE = FALSE
38 DEFINE NETWORK_IP6_ENABLE = FALSE
39 DEFINE HTTP_BOOT_ENABLE = FALSE
40 DEFINE SMM_REQUIRE = FALSE
41 DEFINE TLS_ENABLE = FALSE
42
43 [BuildOptions]
44 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
45 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
46 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
47 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
48 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
49
50 #
51 # Disable deprecated APIs.
52 #
53 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
54 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
55 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
56
57 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
58 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
59
60 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
61 # protection of DXE_SMM_DRIVER/SMM_CORE modules
62 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
63 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
64
65 ################################################################################
66 #
67 # SKU Identification section - list of all SKU IDs supported by this Platform.
68 #
69 ################################################################################
70 [SkuIds]
71 0|DEFAULT
72
73 ################################################################################
74 #
75 # Library Class section - list of all Library Classes needed by this Platform.
76 #
77 ################################################################################
78 [LibraryClasses]
79 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
80 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
81 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
82 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
83 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
84 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
85 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
86 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
87 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
88 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
89 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
90 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
91 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
92 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
93 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
94 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
95 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
96 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
97 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
98 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
99 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
100 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
101 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
102 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
103 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
104 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
105 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
106 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
107 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
108 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
109 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
110 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
111 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
112 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
113 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
114 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
115 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
116 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
117 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
118 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
119 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
120 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
121 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
122 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
123 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
124 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
125 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
126 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
127 !if $(SMM_REQUIRE) == FALSE
128 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
129 !endif
130 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
131 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
132
133 !ifdef $(SOURCE_DEBUG_ENABLE)
134 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
135 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
136 !else
137 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
138 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
139 !endif
140
141 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
142 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
143 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
144
145 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
146 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
147
148 !if $(SECURE_BOOT_ENABLE) == TRUE
149 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
150 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
151 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
152 !else
153 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
154 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
155 !endif
156 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
157
158 !if $(NETWORK_IP6_ENABLE) == TRUE
159 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
160 !endif
161
162 !if $(HTTP_BOOT_ENABLE) == TRUE
163 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
164 !endif
165
166 !if $(TLS_ENABLE) == TRUE
167 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
168 !endif
169
170 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
171 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
172 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
173 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
174
175 [LibraryClasses.common]
176 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
177
178 [LibraryClasses.common.SEC]
179 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
180 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
181 !ifdef $(DEBUG_ON_SERIAL_PORT)
182 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
183 !else
184 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
185 !endif
186 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
187 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
188 !ifdef $(SOURCE_DEBUG_ENABLE)
189 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
190 !endif
191 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
192 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
193 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
194 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
195 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
196
197 [LibraryClasses.common.PEI_CORE]
198 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
199 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
200 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
201 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
202 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
203 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
204 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
205 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
206 !ifdef $(DEBUG_ON_SERIAL_PORT)
207 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
208 !else
209 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
210 !endif
211 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
212
213 [LibraryClasses.common.PEIM]
214 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
215 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
216 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
217 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
218 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
219 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
220 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
221 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
222 !ifdef $(DEBUG_ON_SERIAL_PORT)
223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
224 !else
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
226 !endif
227 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
228 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
229 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
230 !ifdef $(SOURCE_DEBUG_ENABLE)
231 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
232 !endif
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
234 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
235
236 [LibraryClasses.common.DXE_CORE]
237 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
238 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
239 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
240 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
241 !ifdef $(DEBUG_ON_SERIAL_PORT)
242 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
243 !else
244 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
245 !endif
246 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
247 !ifdef $(SOURCE_DEBUG_ENABLE)
248 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
249 !endif
250 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
251 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
252
253 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
254 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
255 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
256 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
257 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
258 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
259 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
260 !ifdef $(DEBUG_ON_SERIAL_PORT)
261 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
262 !else
263 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
264 !endif
265 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
266 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
267 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
268
269 [LibraryClasses.common.UEFI_DRIVER]
270 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
271 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
272 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
273 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
274 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
275 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
276 !ifdef $(DEBUG_ON_SERIAL_PORT)
277 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
278 !else
279 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
280 !endif
281 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
282 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
283
284 [LibraryClasses.common.DXE_DRIVER]
285 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
286 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
287 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
288 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
289 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
290 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
291 !ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293 !else
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295 !endif
296 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
297 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
298 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
299 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
300 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
301 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
303 !if $(SMM_REQUIRE) == TRUE
304 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
305 !else
306 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
307 !endif
308 !ifdef $(SOURCE_DEBUG_ENABLE)
309 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
310 !endif
311 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
312 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
313
314 [LibraryClasses.common.UEFI_APPLICATION]
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
316 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
317 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
318 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
319 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
320 !ifdef $(DEBUG_ON_SERIAL_PORT)
321 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
322 !else
323 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
324 !endif
325 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
326
327 [LibraryClasses.common.DXE_SMM_DRIVER]
328 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
329 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
330 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
333 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
334 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
335 !ifdef $(DEBUG_ON_SERIAL_PORT)
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
337 !else
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
339 !endif
340 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
341 !ifdef $(SOURCE_DEBUG_ENABLE)
342 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
343 !endif
344 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
345 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
346
347 [LibraryClasses.common.SMM_CORE]
348 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
349 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
350 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
351 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
352 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
353 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
354 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
355 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
356 !ifdef $(DEBUG_ON_SERIAL_PORT)
357 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
358 !else
359 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
360 !endif
361 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
362
363 ################################################################################
364 #
365 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
366 #
367 ################################################################################
368 [PcdsFeatureFlag]
369 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
370 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
371 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
372 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
373 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
374 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
375 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
376 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
377 !if $(SECURE_BOOT_ENABLE) == TRUE
378 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
379 !endif
380 !if $(SMM_REQUIRE) == TRUE
381 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
382 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
383 !endif
384
385 [PcdsFixedAtBuild]
386 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
387 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
388 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
389 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
390 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
391 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
392 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
393 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
394
395 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
396
397 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
398
399 # DEBUG_INIT 0x00000001 // Initialization
400 # DEBUG_WARN 0x00000002 // Warnings
401 # DEBUG_LOAD 0x00000004 // Load events
402 # DEBUG_FS 0x00000008 // EFI File system
403 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
404 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
405 # DEBUG_INFO 0x00000040 // Informational debug messages
406 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
407 # DEBUG_VARIABLE 0x00000100 // Variable
408 # DEBUG_BM 0x00000400 // Boot Manager
409 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
410 # DEBUG_NET 0x00004000 // SNP Driver
411 # DEBUG_UNDI 0x00010000 // UNDI Driver
412 # DEBUG_LOADFILE 0x00020000 // LoadFile
413 # DEBUG_EVENT 0x00080000 // Event messages
414 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
415 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
416 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
417 # // significantly impact boot performance
418 # DEBUG_ERROR 0x80000000 // Error
419 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
420
421 !ifdef $(SOURCE_DEBUG_ENABLE)
422 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
423 !else
424 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
425 !endif
426
427 # This PCD is used to set the base address of the PCI express hierarchy. It
428 # is only consulted when OVMF runs on Q35. In that case it is programmed into
429 # the PCIEXBAR register.
430 #
431 # On Q35 machine types that QEMU intends to support in the long term, QEMU
432 # never lets the RAM below 4 GB exceed 2 GB.
433 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
434
435 !ifdef $(SOURCE_DEBUG_ENABLE)
436 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
437 !endif
438
439 !ifndef $(USE_OLD_SHELL)
440 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
441 !endif
442
443 !if $(SMM_REQUIRE) == TRUE
444 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
445 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
446 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
447 !endif
448
449 !if $(SECURE_BOOT_ENABLE) == TRUE
450 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
451 !endif
452
453 # IRQs 5, 9, 10, 11 are level-triggered
454 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
455
456 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
457 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
458
459 ################################################################################
460 #
461 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
462 #
463 ################################################################################
464
465 [PcdsDynamicDefault]
466 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
467 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
468 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
469 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
470 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
472 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
473 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
474 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
475 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
476 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
477 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
478 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
479
480 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
481
482 # Set video resolution for text setup.
483 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
484 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
485
486 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
487 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
488 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
489
490 # Noexec settings for DXE.
491 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
492 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
493
494 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
495 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
496 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
497
498 ################################################################################
499 #
500 # Components Section - list of all EDK II Modules needed by this Platform.
501 #
502 ################################################################################
503 [Components]
504 OvmfPkg/ResetVector/ResetVector.inf
505
506 #
507 # SEC Phase modules
508 #
509 OvmfPkg/Sec/SecMain.inf {
510 <LibraryClasses>
511 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
512 }
513
514 #
515 # PEI Phase modules
516 #
517 MdeModulePkg/Core/Pei/PeiMain.inf
518 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
519 <LibraryClasses>
520 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
521 }
522 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
523 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
524 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
525 <LibraryClasses>
526 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
527 }
528
529 OvmfPkg/PlatformPei/PlatformPei.inf {
530 <LibraryClasses>
531 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
532 }
533 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
534 <LibraryClasses>
535 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
536 !if $(SMM_REQUIRE) == TRUE
537 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
538 !endif
539 }
540 !if $(SMM_REQUIRE) == TRUE
541 OvmfPkg/SmmAccess/SmmAccessPei.inf {
542 <LibraryClasses>
543 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
544 }
545 !endif
546 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
547 <LibraryClasses>
548 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
549 }
550
551 #
552 # DXE Phase modules
553 #
554 MdeModulePkg/Core/Dxe/DxeMain.inf {
555 <LibraryClasses>
556 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
557 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
558 }
559
560 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
561 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
562 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
563 <LibraryClasses>
564 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
565 }
566
567 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
568
569 !if $(SECURE_BOOT_ENABLE) == TRUE
570 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
571 <LibraryClasses>
572 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
573 }
574 !else
575 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
576 !endif
577
578 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
579 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
580 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
581 UefiCpuPkg/CpuDxe/CpuDxe.inf
582 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
583 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
584 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
585 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
586 <LibraryClasses>
587 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
588 }
589 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
590 <LibraryClasses>
591 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
592 }
593 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
594 MdeModulePkg/Universal/Metronome/Metronome.inf
595 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
596 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
597 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
598 <LibraryClasses>
599 !ifdef $(CSM_ENABLE)
600 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
601 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
602 !endif
603 }
604 MdeModulePkg/Logo/LogoDxe.inf
605 MdeModulePkg/Application/UiApp/UiApp.inf {
606 <LibraryClasses>
607 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
608 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
609 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
610 !ifdef $(CSM_ENABLE)
611 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
612 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
613 !endif
614 }
615 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
616 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
617 OvmfPkg/Virtio10Dxe/Virtio10.inf
618 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
619 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
620 OvmfPkg/VirtioRngDxe/VirtioRng.inf
621 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
622 OvmfPkg/XenBusDxe/XenBusDxe.inf
623 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
624 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
625 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
626 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
627 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
628 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
629 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
630 <LibraryClasses>
631 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
632 }
633 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
634 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
635 <LibraryClasses>
636 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
637 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
638 }
639 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
640 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
641 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
642 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
643 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
644 FatPkg/EnhancedFatDxe/Fat.inf
645 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
646 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
647 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
648 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
649 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
650 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
651 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
652 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
653 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
654 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
655
656 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
657 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
658
659 #
660 # ISA Support
661 #
662 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
663 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
664 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
665 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
666 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
667
668 #
669 # SMBIOS Support
670 #
671 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
672 <LibraryClasses>
673 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
674 }
675 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
676
677 #
678 # ACPI Support
679 #
680 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
681 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
682 OvmfPkg/AcpiTables/AcpiTables.inf
683 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
684 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
685 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
686
687 #
688 # Network Support
689 #
690 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
691 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
692 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
693 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
694 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
695 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
696 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
697 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
698 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
699 !if $(NETWORK_IP6_ENABLE) == TRUE
700 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
701 NetworkPkg/TcpDxe/TcpDxe.inf
702 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
703 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
704 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
705 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
706 NetworkPkg/IScsiDxe/IScsiDxe.inf
707 !else
708 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
709 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
710 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
711 !endif
712 !if $(HTTP_BOOT_ENABLE) == TRUE
713 NetworkPkg/DnsDxe/DnsDxe.inf
714 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
715 NetworkPkg/HttpDxe/HttpDxe.inf
716 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
717 !endif
718 !if $(TLS_ENABLE) == TRUE
719 NetworkPkg/TlsDxe/TlsDxe.inf
720 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
721 !endif
722 OvmfPkg/VirtioNetDxe/VirtioNet.inf
723
724 #
725 # Usb Support
726 #
727 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
728 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
729 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
730 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
731 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
732 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
733
734 !ifdef $(CSM_ENABLE)
735 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
736 <LibraryClasses>
737 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
738 }
739 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
740 OvmfPkg/Csm/Csm16/Csm16.inf
741 !endif
742
743 !ifndef $(USE_OLD_SHELL)
744 ShellPkg/Application/Shell/Shell.inf {
745 <LibraryClasses>
746 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
747 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
748 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
749 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
750 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
751 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
752 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
753 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
754 !if $(NETWORK_IP6_ENABLE) == TRUE
755 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
756 !endif
757 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
758 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
759 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
760 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
761 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
762 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
763 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
764 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
765
766 <PcdsFixedAtBuild>
767 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
768 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
769 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
770 }
771 !endif
772
773 !if $(SECURE_BOOT_ENABLE) == TRUE
774 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
775 !endif
776
777 OvmfPkg/PlatformDxe/Platform.inf
778
779 !if $(SMM_REQUIRE) == TRUE
780 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
781 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
782 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
783
784 #
785 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
786 #
787 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
788
789 #
790 # SMM_CORE
791 #
792 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
793
794 #
795 # Privileged drivers (DXE_SMM_DRIVER modules)
796 #
797 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
798 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
799 <LibraryClasses>
800 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
801 }
802 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
803 <LibraryClasses>
804 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
805 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
806 }
807
808 #
809 # Variable driver stack (SMM)
810 #
811 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
812 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
813 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
814 <LibraryClasses>
815 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
816 }
817 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
818
819 !else
820
821 #
822 # Variable driver stack (non-SMM)
823 #
824 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
825 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
826 <LibraryClasses>
827 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
828 }
829 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
830 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
831 <LibraryClasses>
832 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
833 }
834 !endif