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