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