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