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