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