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