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