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