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