]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgX64.dsc
ArmVirtPkg: don't set PcdDebugClearMemoryValue
[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 DEFINE TPM2_CONFIG_ENABLE = FALSE\r
44\r
45 #\r
46 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
47 # one of the supported values, in place of any of the convenience macros, is\r
48 # permitted.\r
49 #\r
50!ifdef $(FD_SIZE_1MB)\r
51 DEFINE FD_SIZE_IN_KB = 1024\r
52!else\r
53!ifdef $(FD_SIZE_2MB)\r
54 DEFINE FD_SIZE_IN_KB = 2048\r
55!else\r
56!ifdef $(FD_SIZE_4MB)\r
57 DEFINE FD_SIZE_IN_KB = 4096\r
58!else\r
59 DEFINE FD_SIZE_IN_KB = 4096\r
60!endif\r
61!endif\r
62!endif\r
63\r
64[BuildOptions]\r
65 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
69!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
71!endif\r
72!ifdef $(SOURCE_DEBUG_ENABLE)\r
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
76!endif\r
77\r
78 #\r
79 # Disable deprecated APIs.\r
80 #\r
81 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
82 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
83 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
84\r
85[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
86 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
87 XCODE:*_*_*_DLINK_FLAGS =\r
88\r
89# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
90# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
91[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
92 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
93 XCODE:*_*_*_DLINK_FLAGS =\r
94\r
95################################################################################\r
96#\r
97# SKU Identification section - list of all SKU IDs supported by this Platform.\r
98#\r
99################################################################################\r
100[SkuIds]\r
101 0|DEFAULT\r
102\r
103################################################################################\r
104#\r
105# Library Class section - list of all Library Classes needed by this Platform.\r
106#\r
107################################################################################\r
108[LibraryClasses]\r
109 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
110 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
111 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
112 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
113 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
114 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
115 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
116 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
117 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
118 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
119 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
120 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
121 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
122 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
123 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
124 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
125 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
126 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
127 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
128 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
129 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
130 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
131 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
132 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
133 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
134 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
135 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
136 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
137 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
138 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
139 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
140 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
141 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
142 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
143 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
144 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
145 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
146 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
147 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
148 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
149 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
150 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
151 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
152 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
153 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
154 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
155 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
156 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
157 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
158 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
159 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
160 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
161 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
162 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf\r
163!if $(SMM_REQUIRE) == FALSE\r
164 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
165!endif\r
166 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
167 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
168\r
169!ifdef $(SOURCE_DEBUG_ENABLE)\r
170 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
171 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
172!else\r
173 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
174 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
175!endif\r
176\r
177 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
178 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
179 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
180\r
181 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
182!if $(TLS_ENABLE) == TRUE\r
183 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
184!else\r
185 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
186!endif\r
187\r
188!if $(SECURE_BOOT_ENABLE) == TRUE\r
189 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
190 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
191 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
192!else\r
193 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
194 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
195!endif\r
196 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
197\r
198 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
199\r
200!if $(HTTP_BOOT_ENABLE) == TRUE\r
201 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
202!endif\r
203\r
204!if $(TLS_ENABLE) == TRUE\r
205 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
206!endif\r
207\r
208 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
209 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
210 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
211 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
212 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
213\r
214!if $(TPM2_ENABLE) == TRUE\r
215 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
216 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
217 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
218!else\r
219 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
220!endif\r
221\r
222[LibraryClasses.common]\r
223 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
224\r
225[LibraryClasses.common.SEC]\r
226 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
227 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
228!ifdef $(DEBUG_ON_SERIAL_PORT)\r
229 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
230!else\r
231 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
232!endif\r
233 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
234 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
235!ifdef $(SOURCE_DEBUG_ENABLE)\r
236 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
237!endif\r
238 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
239 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
240 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
241 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
242 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
243\r
244[LibraryClasses.common.PEI_CORE]\r
245 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
246 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
247 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
248 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
249 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
250 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
251 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
252 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
253!ifdef $(DEBUG_ON_SERIAL_PORT)\r
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
255!else\r
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
257!endif\r
258 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
259\r
260[LibraryClasses.common.PEIM]\r
261 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
262 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
263 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
264 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
265 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
266 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
267 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
268 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
269!ifdef $(DEBUG_ON_SERIAL_PORT)\r
270 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
271!else\r
272 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
273!endif\r
274 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
275 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
276 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
277!ifdef $(SOURCE_DEBUG_ENABLE)\r
278 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
279!endif\r
280 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
281 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
282 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
283 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
284 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
285\r
286!if $(TPM2_ENABLE) == TRUE\r
287 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
288 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
289!endif\r
290\r
291[LibraryClasses.common.DXE_CORE]\r
292 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
293 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
294 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
295 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
296!ifdef $(DEBUG_ON_SERIAL_PORT)\r
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
298!else\r
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
300!endif\r
301 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
302!ifdef $(SOURCE_DEBUG_ENABLE)\r
303 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
304!endif\r
305 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
306 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
307\r
308[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
309 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
310 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
311 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
312 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
313 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
314 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
315!ifdef $(DEBUG_ON_SERIAL_PORT)\r
316 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
317!else\r
318 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
319!endif\r
320 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
321 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
322 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
323 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
324\r
325[LibraryClasses.common.UEFI_DRIVER]\r
326 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
327 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
328 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
329 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
330 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
332!ifdef $(DEBUG_ON_SERIAL_PORT)\r
333 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
334!else\r
335 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
336!endif\r
337 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
338 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
339\r
340[LibraryClasses.common.DXE_DRIVER]\r
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
342 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
345 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
346 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
347!ifdef $(DEBUG_ON_SERIAL_PORT)\r
348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
349!else\r
350 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
351!endif\r
352 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
353 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
354 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
355 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
356 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
357 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
358 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
359!if $(SMM_REQUIRE) == TRUE\r
360 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
361!else\r
362 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
363!endif\r
364!ifdef $(SOURCE_DEBUG_ENABLE)\r
365 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
366!endif\r
367 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
368 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
369 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
370!if $(TPM2_ENABLE) == TRUE\r
371 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
372!endif\r
373\r
374[LibraryClasses.common.UEFI_APPLICATION]\r
375 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
376 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
377 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
378 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
379 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
380!ifdef $(DEBUG_ON_SERIAL_PORT)\r
381 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
382!else\r
383 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
384!endif\r
385 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
386\r
387[LibraryClasses.common.DXE_SMM_DRIVER]\r
388 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
389 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
390 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
391 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
392 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
393 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
394 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
395 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
396!ifdef $(DEBUG_ON_SERIAL_PORT)\r
397 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
398!else\r
399 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
400!endif\r
401 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
402!ifdef $(SOURCE_DEBUG_ENABLE)\r
403 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
404!endif\r
405 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
406 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
407\r
408[LibraryClasses.common.SMM_CORE]\r
409 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
410 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
411 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
412 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
413 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
414 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
415 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
416 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
417!ifdef $(DEBUG_ON_SERIAL_PORT)\r
418 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
419!else\r
420 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
421!endif\r
422 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
423\r
424################################################################################\r
425#\r
426# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
427#\r
428################################################################################\r
429[PcdsFeatureFlag]\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
431 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
432 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
433 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
434 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
435 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
437 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
438!if $(SMM_REQUIRE) == TRUE\r
439 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
440 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
441!endif\r
442\r
443[PcdsFixedAtBuild]\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
446 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\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!if $(TPM2_CONFIG_ENABLE) == TRUE\r
644 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
645!endif\r
646!endif\r
647\r
648 #\r
649 # DXE Phase modules\r
650 #\r
651 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
652 <LibraryClasses>\r
653 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
654 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
655 }\r
656\r
657 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
658 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
659 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
660 <LibraryClasses>\r
661 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
662 }\r
663\r
664 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
665\r
666 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
667 <LibraryClasses>\r
668!if $(SECURE_BOOT_ENABLE) == TRUE\r
669 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
670!endif\r
671!if $(TPM2_ENABLE) == TRUE\r
672 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
673!endif\r
674 }\r
675\r
676 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
677 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
678 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
679 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
680 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
681 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
682 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
683 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
684 <LibraryClasses>\r
685 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
686 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
687 }\r
688 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
689 <LibraryClasses>\r
690 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
691 }\r
692 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
693 MdeModulePkg/Universal/Metronome/Metronome.inf\r
694 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
695 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
696 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
697 <LibraryClasses>\r
698!ifdef $(CSM_ENABLE)\r
699 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
700 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
701!endif\r
702 }\r
703 MdeModulePkg/Logo/LogoDxe.inf\r
704 MdeModulePkg/Application/UiApp/UiApp.inf {\r
705 <LibraryClasses>\r
706 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
707 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
708 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
709!ifdef $(CSM_ENABLE)\r
710 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
711 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
712!endif\r
713 }\r
714 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
715 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
716 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
717 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
718 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
719 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
720 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
721 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
722 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
723 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
724 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
725 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
726 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
727 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
728 <LibraryClasses>\r
729 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
730 }\r
731 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
732 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
733 <LibraryClasses>\r
734 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
735 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
736 }\r
737 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
738 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
739 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
740 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
741 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
742 FatPkg/EnhancedFatDxe/Fat.inf\r
743 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
744 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
745 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
746 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
747 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
748 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
749 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
750 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
751 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
752 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
753 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
754\r
755 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
756 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
757 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
758\r
759 #\r
760 # ISA Support\r
761 #\r
762 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
763 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
764 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
765 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
766 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
767\r
768 #\r
769 # SMBIOS Support\r
770 #\r
771 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
772 <LibraryClasses>\r
773 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
774 }\r
775 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
776\r
777 #\r
778 # ACPI Support\r
779 #\r
780 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
781 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
782 OvmfPkg/AcpiTables/AcpiTables.inf\r
783 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
784 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
785 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
786\r
787 #\r
788 # Network Support\r
789 #\r
790 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
791 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
792 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
793 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
794 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
795 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
796 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
797 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
798 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
799 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
800 NetworkPkg/TcpDxe/TcpDxe.inf\r
801 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
802!if $(NETWORK_IP6_ENABLE) == TRUE\r
803 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
804 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
805 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
806 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
807!endif\r
808!if $(HTTP_BOOT_ENABLE) == TRUE\r
809 NetworkPkg/DnsDxe/DnsDxe.inf\r
810 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
811 NetworkPkg/HttpDxe/HttpDxe.inf\r
812 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
813!endif\r
814!if $(TLS_ENABLE) == TRUE\r
815 NetworkPkg/TlsDxe/TlsDxe.inf\r
816 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
817 <LibraryClasses>\r
818 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
819 }\r
820!endif\r
821 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
822\r
823 #\r
824 # Usb Support\r
825 #\r
826 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
827 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
828 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
829 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
830 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
831 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
832\r
833!ifdef $(CSM_ENABLE)\r
834 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
835 <LibraryClasses>\r
836 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
837 }\r
838 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
839 OvmfPkg/Csm/Csm16/Csm16.inf\r
840!endif\r
841\r
842!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
843 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
844 <PcdsFixedAtBuild>\r
845 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
846 }\r
847!endif\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\r
871!if $(SECURE_BOOT_ENABLE) == TRUE\r
872 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
873!endif\r
874\r
875 OvmfPkg/PlatformDxe/Platform.inf\r
876 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
877 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
878\r
879!if $(SMM_REQUIRE) == TRUE\r
880 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
881 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
882 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
883\r
884 #\r
885 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
886 #\r
887 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
888\r
889 #\r
890 # SMM_CORE\r
891 #\r
892 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
893\r
894 #\r
895 # Privileged drivers (DXE_SMM_DRIVER modules)\r
896 #\r
897 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
898 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
899 <LibraryClasses>\r
900 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
901 }\r
902 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
903 <LibraryClasses>\r
904 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
905 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
906 }\r
907\r
908 #\r
909 # Variable driver stack (SMM)\r
910 #\r
911 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
912 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
913 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
914 <LibraryClasses>\r
915 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
916 }\r
917 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
918\r
919!else\r
920\r
921 #\r
922 # Variable driver stack (non-SMM)\r
923 #\r
924 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
925 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
926 <LibraryClasses>\r
927 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
928 }\r
929 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
930 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
931 <LibraryClasses>\r
932 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
933 }\r
934!endif\r
935\r
936!if $(TPM2_ENABLE) == TRUE\r
937 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
938 <LibraryClasses>\r
939 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
940 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
941 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
942 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
943 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
944 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
945 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
946 }\r
947!endif\r