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