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