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