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