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