]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32.dsc
EmulatorPkg: Convert to always build FatPkg
[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 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
297!if $(USE_OLD_PCI_HOST) == FALSE\r
298 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
299!endif\r
300\r
301[LibraryClasses.common.UEFI_APPLICATION]\r
302 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
303 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
304 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
305 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
306!ifdef $(DEBUG_ON_SERIAL_PORT)\r
307 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
308!else\r
309 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
310!endif\r
311!if $(USE_OLD_PCI_HOST) == FALSE\r
312 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
313!endif\r
314\r
315[LibraryClasses.common.DXE_SMM_DRIVER]\r
316 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
317 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
318 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
319 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
320 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
321 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
322 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
323!ifdef $(DEBUG_ON_SERIAL_PORT)\r
324 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
325!else\r
326 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
327!endif\r
328 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
329!ifdef $(SOURCE_DEBUG_ENABLE)\r
330 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
331!endif\r
332 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
333!if $(USE_OLD_PCI_HOST) == FALSE\r
334 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
335!endif\r
336\r
337[LibraryClasses.common.SMM_CORE]\r
338 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
339 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
340 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
341 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
342 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
344 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
345 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
346!ifdef $(DEBUG_ON_SERIAL_PORT)\r
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
348!else\r
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
350!endif\r
351!if $(USE_OLD_PCI_HOST) == FALSE\r
352 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
353!endif\r
354\r
355################################################################################\r
356#\r
357# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
358#\r
359################################################################################\r
360[PcdsFeatureFlag]\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
363 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
366 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
367 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
368!if $(SECURE_BOOT_ENABLE) == TRUE\r
369 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
370!endif\r
371!if $(SMM_REQUIRE) == TRUE\r
372 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
373 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
374!endif\r
375\r
376[PcdsFixedAtBuild]\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
378 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
379 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
381 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
382 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
383 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
384 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
385\r
386 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
387\r
388 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
389\r
390 # DEBUG_INIT 0x00000001 // Initialization\r
391 # DEBUG_WARN 0x00000002 // Warnings\r
392 # DEBUG_LOAD 0x00000004 // Load events\r
393 # DEBUG_FS 0x00000008 // EFI File system\r
394 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
395 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
396 # DEBUG_INFO 0x00000040 // Informational debug messages\r
397 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
398 # DEBUG_VARIABLE 0x00000100 // Variable\r
399 # DEBUG_BM 0x00000400 // Boot Manager\r
400 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
401 # DEBUG_NET 0x00004000 // SNP Driver\r
402 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
403 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
404 # DEBUG_EVENT 0x00080000 // Event messages\r
405 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
406 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
407 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
408 # // significantly impact boot performance\r
409 # DEBUG_ERROR 0x80000000 // Error\r
410 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
411\r
412!ifdef $(SOURCE_DEBUG_ENABLE)\r
413 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
414!else\r
415 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
416!endif\r
417\r
418 # This PCD is used to set the base address of the PCI express hierarchy. It\r
419 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
420 # the PCIEXBAR register.\r
421 #\r
422 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
423 # never lets the RAM below 4 GB exceed 2 GB.\r
424 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
425\r
426!ifdef $(SOURCE_DEBUG_ENABLE)\r
427 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
428!endif\r
429\r
430!ifndef $(USE_OLD_SHELL)\r
431 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
432!endif\r
433\r
434!if $(SMM_REQUIRE) == TRUE\r
435 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
436 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
437!endif\r
438\r
439!if $(SECURE_BOOT_ENABLE) == TRUE\r
440 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
441!endif\r
442\r
443 # IRQs 5, 9, 10, 11 are level-triggered\r
444 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
445\r
446################################################################################\r
447#\r
448# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
449#\r
450################################################################################\r
451\r
452[PcdsDynamicDefault]\r
453 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
454 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
456 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
457 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
458 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
459 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
460 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\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/Virtio10Dxe/Virtio10.inf\r
583 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
584 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
585 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
586 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
587 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
588 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
589 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
590 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
591 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
592 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
593 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
594 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
595 <LibraryClasses>\r
596 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
597 }\r
598 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
599 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
600 <LibraryClasses>\r
601 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
602 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
603 }\r
604 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
605 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
606 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
607 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
608 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
609 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
610 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
611 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
612 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
613 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
614 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
615 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
616 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
617 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
618 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
619\r
620 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
621 <LibraryClasses>\r
622 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
623 }\r
624\r
625 #\r
626 # ISA Support\r
627 #\r
628 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
629 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
630 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
631 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
632 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
633\r
634 #\r
635 # SMBIOS Support\r
636 #\r
637 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
638 <LibraryClasses>\r
639 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
640 }\r
641 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
642\r
643 #\r
644 # ACPI Support\r
645 #\r
646 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
647 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
648 OvmfPkg/AcpiTables/AcpiTables.inf\r
649 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
650 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
651\r
652 #\r
653 # Network Support\r
654 #\r
655 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
656 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
657 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
658 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
659 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
660 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
661 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
662 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
663 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
664!if $(NETWORK_IP6_ENABLE) == TRUE\r
665 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
666 NetworkPkg/TcpDxe/TcpDxe.inf\r
667 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
668 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
669 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
670 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
671!if $(SECURE_BOOT_ENABLE) == TRUE\r
672 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
673!else\r
674 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
675!endif\r
676!else\r
677 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
678 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
679 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
680!endif\r
681!if $(HTTP_BOOT_ENABLE) == TRUE\r
682 NetworkPkg/DnsDxe/DnsDxe.inf\r
683 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
684 NetworkPkg/HttpDxe/HttpDxe.inf\r
685 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
686!endif\r
687 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
688\r
689 #\r
690 # Usb Support\r
691 #\r
692 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
693 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
694 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
695 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
696 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
697 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
698\r
699!ifdef $(CSM_ENABLE)\r
700 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
701 <LibraryClasses>\r
702 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
703 }\r
704 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
705 OvmfPkg/Csm/Csm16/Csm16.inf\r
706!endif\r
707\r
708!ifndef $(USE_OLD_SHELL)\r
709 ShellPkg/Application/Shell/Shell.inf {\r
710 <LibraryClasses>\r
711 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
712 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
713 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
714 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
715 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
716 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
717 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
718 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
719!if $(NETWORK_IP6_ENABLE) == TRUE\r
720 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
721!endif\r
722 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
723 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
724 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
725 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
726 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
727 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
728# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
729# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
730 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
731\r
732 <PcdsFixedAtBuild>\r
733 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
734 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
735 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
736 }\r
737!endif\r
738\r
739!if $(SECURE_BOOT_ENABLE) == TRUE\r
740 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
741!endif\r
742\r
743 OvmfPkg/PlatformDxe/Platform.inf\r
744\r
745!if $(SMM_REQUIRE) == TRUE\r
746 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
747 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
748 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
749\r
750 #\r
751 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
752 #\r
753 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
754\r
755 #\r
756 # SMM_CORE\r
757 #\r
758 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
759\r
760 #\r
761 # Privileged drivers (DXE_SMM_DRIVER modules)\r
762 #\r
763 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
764 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
765 <LibraryClasses>\r
766 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
767 }\r
768 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
769 <LibraryClasses>\r
770 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
771 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
772 }\r
773\r
774 #\r
775 # Variable driver stack (SMM)\r
776 #\r
777 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
778 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
779 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
780 <LibraryClasses>\r
781 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
782 }\r
783 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
784\r
785!else\r
786\r
787 #\r
788 # Variable driver stack (non-SMM)\r
789 #\r
790 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
791 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
792 <LibraryClasses>\r
793 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
794 }\r
795 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
796 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
797 <LibraryClasses>\r
798 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
799 }\r
800!endif\r