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