]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: pull in TLS modules with -D TLS_ENABLE (also enabling HTTPS)
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.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/OvmfX64
28 SUPPORTED_ARCHITECTURES = X64
29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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|FALSE
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 !ifndef $(USE_OLD_SHELL)
445 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
446 !endif
447
448 !if $(SMM_REQUIRE) == TRUE
449 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
450 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
451 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
452 !endif
453
454 !if $(SECURE_BOOT_ENABLE) == TRUE
455 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
456 !endif
457
458 # IRQs 5, 9, 10, 11 are level-triggered
459 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
460
461 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
462 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
463
464 ################################################################################
465 #
466 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
467 #
468 ################################################################################
469
470 [PcdsDynamicDefault]
471 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
472 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
473 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
474 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
475 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
477 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
478 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
479 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
480 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
481 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
482 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
483 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
484 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
485 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
486
487 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
488
489 # Set video resolution for text setup.
490 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
491 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
492
493 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
494 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
495 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
496
497 # Noexec settings for DXE.
498 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
499 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
500
501 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
502 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
503 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
504
505 ################################################################################
506 #
507 # Components Section - list of all EDK II Modules needed by this Platform.
508 #
509 ################################################################################
510 [Components]
511 OvmfPkg/ResetVector/ResetVector.inf
512
513 #
514 # SEC Phase modules
515 #
516 OvmfPkg/Sec/SecMain.inf {
517 <LibraryClasses>
518 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
519 }
520
521 #
522 # PEI Phase modules
523 #
524 MdeModulePkg/Core/Pei/PeiMain.inf
525 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
526 <LibraryClasses>
527 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
528 }
529 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
530 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
531 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
532 <LibraryClasses>
533 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
534 }
535
536 OvmfPkg/PlatformPei/PlatformPei.inf {
537 <LibraryClasses>
538 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
539 }
540 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
541 <LibraryClasses>
542 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
543 !if $(SMM_REQUIRE) == TRUE
544 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
545 !endif
546 }
547 !if $(SMM_REQUIRE) == TRUE
548 OvmfPkg/SmmAccess/SmmAccessPei.inf {
549 <LibraryClasses>
550 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
551 }
552 !endif
553 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
554 <LibraryClasses>
555 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
556 }
557
558 #
559 # DXE Phase modules
560 #
561 MdeModulePkg/Core/Dxe/DxeMain.inf {
562 <LibraryClasses>
563 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
564 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
565 }
566
567 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
568 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
569 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
570 <LibraryClasses>
571 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
572 }
573
574 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
575
576 !if $(SECURE_BOOT_ENABLE) == TRUE
577 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
578 <LibraryClasses>
579 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
580 }
581 !else
582 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
583 !endif
584
585 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
586 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
587 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
588 UefiCpuPkg/CpuDxe/CpuDxe.inf
589 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
590 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
591 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
592 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
593 <LibraryClasses>
594 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
595 }
596 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
597 <LibraryClasses>
598 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
599 }
600 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
601 MdeModulePkg/Universal/Metronome/Metronome.inf
602 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
603 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
604 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
605 <LibraryClasses>
606 !ifdef $(CSM_ENABLE)
607 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
608 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
609 !endif
610 }
611 MdeModulePkg/Logo/LogoDxe.inf
612 MdeModulePkg/Application/UiApp/UiApp.inf {
613 <LibraryClasses>
614 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
615 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
616 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
617 !ifdef $(CSM_ENABLE)
618 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
619 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
620 !endif
621 }
622 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
623 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
624 OvmfPkg/Virtio10Dxe/Virtio10.inf
625 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
626 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
627 OvmfPkg/VirtioRngDxe/VirtioRng.inf
628 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
629 OvmfPkg/XenBusDxe/XenBusDxe.inf
630 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
631 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
632 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
633 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
634 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
635 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
636 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
637 <LibraryClasses>
638 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
639 }
640 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
641 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
642 <LibraryClasses>
643 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
644 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
645 }
646 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
647 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
648 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
649 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
650 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
651 FatPkg/EnhancedFatDxe/Fat.inf
652 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
653 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
654 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
655 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
656 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
657 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
658 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
659 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
660 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
661 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
662
663 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
664 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
665
666 #
667 # ISA Support
668 #
669 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
670 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
671 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
672 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
673 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
674
675 #
676 # SMBIOS Support
677 #
678 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
679 <LibraryClasses>
680 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
681 }
682 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
683
684 #
685 # ACPI Support
686 #
687 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
688 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
689 OvmfPkg/AcpiTables/AcpiTables.inf
690 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
691 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
692 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
693
694 #
695 # Network Support
696 #
697 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
698 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
699 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
700 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
701 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
702 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
703 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
704 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
705 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
706 !if $(NETWORK_IP6_ENABLE) == TRUE
707 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
708 NetworkPkg/TcpDxe/TcpDxe.inf
709 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
710 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
711 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
712 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
713 NetworkPkg/IScsiDxe/IScsiDxe.inf
714 !else
715 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
716 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
717 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
718 !endif
719 !if $(HTTP_BOOT_ENABLE) == TRUE
720 NetworkPkg/DnsDxe/DnsDxe.inf
721 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
722 NetworkPkg/HttpDxe/HttpDxe.inf
723 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
724 !endif
725 !if $(TLS_ENABLE) == TRUE
726 NetworkPkg/TlsDxe/TlsDxe.inf
727 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
728 !endif
729 OvmfPkg/VirtioNetDxe/VirtioNet.inf
730
731 #
732 # Usb Support
733 #
734 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
735 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
736 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
737 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
738 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
739 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
740
741 !ifdef $(CSM_ENABLE)
742 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
743 <LibraryClasses>
744 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
745 }
746 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
747 OvmfPkg/Csm/Csm16/Csm16.inf
748 !endif
749
750 !ifndef $(USE_OLD_SHELL)
751 ShellPkg/Application/Shell/Shell.inf {
752 <LibraryClasses>
753 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
754 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
755 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
756 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
757 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
758 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
759 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
760 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
761 !if $(NETWORK_IP6_ENABLE) == TRUE
762 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
763 !endif
764 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
765 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
766 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
767 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
768 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
769 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
770 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
771 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
772
773 <PcdsFixedAtBuild>
774 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
775 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
776 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
777 }
778 !endif
779
780 !if $(SECURE_BOOT_ENABLE) == TRUE
781 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
782 !endif
783
784 OvmfPkg/PlatformDxe/Platform.inf
785
786 !if $(SMM_REQUIRE) == TRUE
787 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
788 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
789 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
790
791 #
792 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
793 #
794 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
795
796 #
797 # SMM_CORE
798 #
799 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
800
801 #
802 # Privileged drivers (DXE_SMM_DRIVER modules)
803 #
804 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
805 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
806 <LibraryClasses>
807 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
808 }
809 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
810 <LibraryClasses>
811 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
812 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
813 }
814
815 #
816 # Variable driver stack (SMM)
817 #
818 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
819 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
820 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
821 <LibraryClasses>
822 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
823 }
824 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
825
826 !else
827
828 #
829 # Variable driver stack (non-SMM)
830 #
831 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
832 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
833 <LibraryClasses>
834 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
835 }
836 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
837 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
838 <LibraryClasses>
839 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
840 }
841 !endif