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