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