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