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