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