]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.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/OvmfX64\r
27 SUPPORTED_ARCHITECTURES = X64\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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|FALSE\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!ifdef $(SOURCE_DEBUG_ENABLE)\r
404 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
405!endif\r
406\r
407!ifndef $(USE_OLD_SHELL)\r
408 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
409!endif\r
410\r
411!if $(SMM_REQUIRE) == TRUE\r
412 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
413 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
414!endif\r
415\r
416!if $(SECURE_BOOT_ENABLE) == TRUE\r
417 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
418!endif\r
419\r
420 # IRQs 5, 9, 10, 11 are level-triggered\r
421 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
422\r
423################################################################################\r
424#\r
425# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
426#\r
427################################################################################\r
428\r
429[PcdsDynamicDefault]\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
431 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
432 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
433 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
434 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
435 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
437 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
438 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
439 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
440\r
441 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
442\r
443 # Set video resolution for text setup.\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
446\r
447 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
448 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
449 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
450\r
451 # Noexec settings for DXE.\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
453 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
454\r
455################################################################################\r
456#\r
457# Components Section - list of all EDK II Modules needed by this Platform.\r
458#\r
459################################################################################\r
460[Components]\r
461 OvmfPkg/ResetVector/ResetVector.inf\r
462\r
463 #\r
464 # SEC Phase modules\r
465 #\r
466 OvmfPkg/Sec/SecMain.inf {\r
467 <LibraryClasses>\r
468 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
469 }\r
470\r
471 #\r
472 # PEI Phase modules\r
473 #\r
474 MdeModulePkg/Core/Pei/PeiMain.inf\r
475 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
476 <LibraryClasses>\r
477 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
478 }\r
479 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
480 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
481 <LibraryClasses>\r
482 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
483 }\r
484\r
485 OvmfPkg/PlatformPei/PlatformPei.inf {\r
486 <LibraryClasses>\r
487 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
488 }\r
489 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
490 <LibraryClasses>\r
491 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
492!if $(SMM_REQUIRE) == TRUE\r
493 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
494!endif\r
495 }\r
496!if $(SMM_REQUIRE) == TRUE\r
497 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
498 <LibraryClasses>\r
499 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
500 }\r
501!endif\r
502\r
503 #\r
504 # DXE Phase modules\r
505 #\r
506 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
507 <LibraryClasses>\r
508 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
509 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
510 }\r
511\r
512 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
513 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
514 <LibraryClasses>\r
515 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
516 }\r
517\r
518 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
519\r
520!if $(SECURE_BOOT_ENABLE) == TRUE\r
521 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
522 <LibraryClasses>\r
523 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
524 }\r
525!else\r
526 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
527!endif\r
528\r
529 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
530 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
531 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
532 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
533 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
534!if $(USE_OLD_PCI_HOST) == TRUE\r
535 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
536!else\r
537 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
538 <LibraryClasses>\r
539 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
540 }\r
541!endif\r
542 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
543 <LibraryClasses>\r
544 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
545 }\r
546 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
547 MdeModulePkg/Universal/Metronome/Metronome.inf\r
548 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
549 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
550 <LibraryClasses>\r
551!ifdef $(CSM_ENABLE)\r
552 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
553!endif\r
554 }\r
555\r
556 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
557 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
558 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
559 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
560 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
561 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
562 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
563 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
564 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
565 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
566 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
567 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
568 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
569 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
570 <LibraryClasses>\r
571 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
572 }\r
573 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
574 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
575 <LibraryClasses>\r
576 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
577 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
578 }\r
579 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
580 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
581 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
582 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
583 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
584 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
585 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
586 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
587 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
588 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
589 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
590 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
591 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
592 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
593\r
594 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
595 <LibraryClasses>\r
596 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
597 }\r
598\r
599 #\r
600 # ISA Support\r
601 #\r
602 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
603 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
604 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
605 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
606 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
607\r
608 #\r
609 # SMBIOS Support\r
610 #\r
611 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
612 <LibraryClasses>\r
613 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
614 }\r
615 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
616\r
617 #\r
618 # ACPI Support\r
619 #\r
620 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
621 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
622 OvmfPkg/AcpiTables/AcpiTables.inf\r
623 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
624 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
625 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
626\r
627 #\r
628 # Network Support\r
629 #\r
630 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
631 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
632 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
633 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
634 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
635 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
636 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
637 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
638 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
639!if $(NETWORK_IP6_ENABLE) == TRUE\r
640 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
641 NetworkPkg/TcpDxe/TcpDxe.inf\r
642 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
643 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
644 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
645 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
646!if $(SECURE_BOOT_ENABLE) == TRUE\r
647 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
648!else\r
649 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
650!endif\r
651!else\r
652 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
653 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
654 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
655!endif\r
656!if $(HTTP_BOOT_ENABLE) == TRUE\r
657 NetworkPkg/DnsDxe/DnsDxe.inf\r
658 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
659 NetworkPkg/HttpDxe/HttpDxe.inf\r
660 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
661!endif\r
662 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
663\r
664 #\r
665 # Usb Support\r
666 #\r
667 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
668 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
669 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
670 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
671 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
672 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
673\r
674!ifdef $(CSM_ENABLE)\r
675 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
676 <LibraryClasses>\r
677 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
678 }\r
679 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
680 OvmfPkg/Csm/Csm16/Csm16.inf\r
681!endif\r
682\r
683!ifndef $(USE_OLD_SHELL)\r
684 ShellPkg/Application/Shell/Shell.inf {\r
685 <LibraryClasses>\r
686 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
687 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
688 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
689 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
690 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
691 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
692 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
693 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
694 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
695 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
696 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
697 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
698 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
699 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
700# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
701# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
702 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
703\r
704 <PcdsFixedAtBuild>\r
705 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
706 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
707 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
708 }\r
709!endif\r
710\r
711!if $(SECURE_BOOT_ENABLE) == TRUE\r
712 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
713!endif\r
714\r
715 OvmfPkg/PlatformDxe/Platform.inf\r
716\r
717!if $(SMM_REQUIRE) == TRUE\r
718 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
719 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
720 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
721\r
722 #\r
723 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
724 #\r
725 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
726\r
727 #\r
728 # SMM_CORE\r
729 #\r
730 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
731\r
732 #\r
733 # Privileged drivers (DXE_SMM_DRIVER modules)\r
734 #\r
735 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
736 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
737 <LibraryClasses>\r
738 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
739 }\r
740 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
741 <LibraryClasses>\r
742 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
743 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
744 }\r
745\r
746 #\r
747 # Variable driver stack (SMM)\r
748 #\r
749 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
750 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
751 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
752 <LibraryClasses>\r
753 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
754 }\r
755 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
756\r
757!else\r
758\r
759 #\r
760 # Variable driver stack (non-SMM)\r
761 #\r
762 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
763 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
764 <LibraryClasses>\r
765 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
766 }\r
767 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
768 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
769 <LibraryClasses>\r
770 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
771 }\r
772!endif\r