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