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