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