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