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