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