]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: PlatformPei: enable PCIEXBAR (aka MMCONFIG / ECAM) on Q35
[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 DEFINE USE_OLD_PCI_HOST = FALSE
41
42 [BuildOptions]
43 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
44 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
45 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
46 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
47 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
48
49 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
50 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
51
52 ################################################################################
53 #
54 # SKU Identification section - list of all SKU IDs supported by this Platform.
55 #
56 ################################################################################
57 [SkuIds]
58 0|DEFAULT
59
60 ################################################################################
61 #
62 # Library Class section - list of all Library Classes needed by this Platform.
63 #
64 ################################################################################
65 [LibraryClasses]
66 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
67 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
68 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
69 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
70 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
71 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
72 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
73 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
74 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
75 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
76 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
77 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
78 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
79 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
80 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
82 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
83 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
84 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.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
246 [LibraryClasses.common.UEFI_DRIVER]
247 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
250 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
251 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
252 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
253 !ifdef $(DEBUG_ON_SERIAL_PORT)
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
255 !else
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
257 !endif
258 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
259
260 [LibraryClasses.common.DXE_DRIVER]
261 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
262 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
263 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
264 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
265 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
266 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
267 !ifdef $(DEBUG_ON_SERIAL_PORT)
268 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
269 !else
270 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
271 !endif
272 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
273 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
274 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
275 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
276 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
277 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
278 !if $(SMM_REQUIRE) == TRUE
279 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
280 !else
281 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
282 !endif
283 !ifdef $(SOURCE_DEBUG_ENABLE)
284 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
285 !endif
286 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
287 !if $(SECURE_BOOT_ENABLE) == TRUE
288 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
289 !endif
290
291 [LibraryClasses.common.UEFI_APPLICATION]
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
293 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
294 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
295 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
296 !ifdef $(DEBUG_ON_SERIAL_PORT)
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
298 !else
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
300 !endif
301
302 [LibraryClasses.common.DXE_SMM_DRIVER]
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
304 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
305 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
308 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
309 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
310 !ifdef $(DEBUG_ON_SERIAL_PORT)
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
312 !else
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
314 !endif
315 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
316 !ifdef $(SOURCE_DEBUG_ENABLE)
317 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
318 !endif
319 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
320
321 [LibraryClasses.common.SMM_CORE]
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
324 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
325 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
327 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
328 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
329 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
330 !ifdef $(DEBUG_ON_SERIAL_PORT)
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
332 !else
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
334 !endif
335
336 ################################################################################
337 #
338 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
339 #
340 ################################################################################
341 [PcdsFeatureFlag]
342 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
343 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
344 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
345 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
346 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
347 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
348 !if $(SECURE_BOOT_ENABLE) == TRUE
349 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
350 !endif
351 !if $(SMM_REQUIRE) == TRUE
352 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
353 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
354 !endif
355
356 [PcdsFixedAtBuild]
357 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
358 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
359 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
360 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
361 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
362 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
363 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
364 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
365
366 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
367
368 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
369
370 # DEBUG_INIT 0x00000001 // Initialization
371 # DEBUG_WARN 0x00000002 // Warnings
372 # DEBUG_LOAD 0x00000004 // Load events
373 # DEBUG_FS 0x00000008 // EFI File system
374 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
375 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
376 # DEBUG_INFO 0x00000040 // Informational debug messages
377 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
378 # DEBUG_VARIABLE 0x00000100 // Variable
379 # DEBUG_BM 0x00000400 // Boot Manager
380 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
381 # DEBUG_NET 0x00004000 // SNP Driver
382 # DEBUG_UNDI 0x00010000 // UNDI Driver
383 # DEBUG_LOADFILE 0x00020000 // LoadFile
384 # DEBUG_EVENT 0x00080000 // Event messages
385 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
386 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
387 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
388 # // significantly impact boot performance
389 # DEBUG_ERROR 0x80000000 // Error
390 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
391
392 !ifdef $(SOURCE_DEBUG_ENABLE)
393 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
394 !else
395 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
396 !endif
397
398 # This PCD is used to set the base address of the PCI express hierarchy. It
399 # is only consulted when OVMF runs on Q35. In that case it is programmed into
400 # the PCIEXBAR register.
401 #
402 # On Q35 machine types that QEMU intends to support in the long term, QEMU
403 # never lets the RAM below 4 GB exceed 2 GB.
404 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
405
406 !ifdef $(SOURCE_DEBUG_ENABLE)
407 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
408 !endif
409
410 !ifndef $(USE_OLD_SHELL)
411 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
412 !endif
413
414 !if $(SMM_REQUIRE) == TRUE
415 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
416 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
417 !endif
418
419 !if $(SECURE_BOOT_ENABLE) == TRUE
420 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
421 !endif
422
423 # IRQs 5, 9, 10, 11 are level-triggered
424 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
425
426 ################################################################################
427 #
428 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
429 #
430 ################################################################################
431
432 [PcdsDynamicDefault]
433 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
434 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
435 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
436 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
437 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
438 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
439 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
440 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
441 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
442 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
443
444 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
445
446 # Set video resolution for text setup.
447 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
448 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
449
450 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
451 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
452 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
453
454 # Noexec settings for DXE.
455 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
456 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
457
458 ################################################################################
459 #
460 # Components Section - list of all EDK II Modules needed by this Platform.
461 #
462 ################################################################################
463 [Components]
464 OvmfPkg/ResetVector/ResetVector.inf
465
466 #
467 # SEC Phase modules
468 #
469 OvmfPkg/Sec/SecMain.inf {
470 <LibraryClasses>
471 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
472 }
473
474 #
475 # PEI Phase modules
476 #
477 MdeModulePkg/Core/Pei/PeiMain.inf
478 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
479 <LibraryClasses>
480 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
481 }
482 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
483 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
484 <LibraryClasses>
485 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
486 }
487
488 OvmfPkg/PlatformPei/PlatformPei.inf {
489 <LibraryClasses>
490 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
491 }
492 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
493 <LibraryClasses>
494 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
495 !if $(SMM_REQUIRE) == TRUE
496 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
497 !endif
498 }
499 !if $(SMM_REQUIRE) == TRUE
500 OvmfPkg/SmmAccess/SmmAccessPei.inf {
501 <LibraryClasses>
502 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
503 }
504 !endif
505
506 #
507 # DXE Phase modules
508 #
509 MdeModulePkg/Core/Dxe/DxeMain.inf {
510 <LibraryClasses>
511 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
512 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
513 }
514
515 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
516 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
517 <LibraryClasses>
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
519 }
520
521 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
522
523 !if $(SECURE_BOOT_ENABLE) == TRUE
524 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
525 <LibraryClasses>
526 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
527 }
528 !else
529 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
530 !endif
531
532 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
533 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
534 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
535 UefiCpuPkg/CpuDxe/CpuDxe.inf
536 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
537 !if $(USE_OLD_PCI_HOST) == TRUE
538 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
539 !else
540 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
541 <LibraryClasses>
542 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
543 }
544 !endif
545 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
546 <LibraryClasses>
547 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
548 }
549 PcAtChipsetPkg/KbcResetDxe/Reset.inf
550 MdeModulePkg/Universal/Metronome/Metronome.inf
551 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
552 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
553 <LibraryClasses>
554 !ifdef $(CSM_ENABLE)
555 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
556 !endif
557 }
558
559 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
560 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
561 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
562 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
563 OvmfPkg/VirtioRngDxe/VirtioRng.inf
564 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
565 OvmfPkg/XenBusDxe/XenBusDxe.inf
566 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
567 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
568 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
569 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
570 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
571 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
572 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
573 <LibraryClasses>
574 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
575 }
576 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
577 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
578 <LibraryClasses>
579 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
580 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
581 }
582 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
583 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
584 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
585 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
586 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
587 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
588 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
589 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
590 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
591 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
592 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
593 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
594 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
595 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
596
597 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
598 <LibraryClasses>
599 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
600 }
601
602 #
603 # ISA Support
604 #
605 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
606 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
607 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
608 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
609 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
610
611 #
612 # SMBIOS Support
613 #
614 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
615 <LibraryClasses>
616 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
617 }
618 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
619
620 #
621 # ACPI Support
622 #
623 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
624 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
625 OvmfPkg/AcpiTables/AcpiTables.inf
626 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
627 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
628 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
629
630 #
631 # Network Support
632 #
633 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
634 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
635 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
636 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
637 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
638 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
639 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
640 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
641 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
642 !if $(NETWORK_IP6_ENABLE) == TRUE
643 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
644 NetworkPkg/TcpDxe/TcpDxe.inf
645 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
646 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
647 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
648 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
649 !if $(SECURE_BOOT_ENABLE) == TRUE
650 NetworkPkg/IScsiDxe/IScsiDxe.inf
651 !else
652 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
653 !endif
654 !else
655 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
656 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
657 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
658 !endif
659 !if $(HTTP_BOOT_ENABLE) == TRUE
660 NetworkPkg/DnsDxe/DnsDxe.inf
661 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
662 NetworkPkg/HttpDxe/HttpDxe.inf
663 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
664 !endif
665 OvmfPkg/VirtioNetDxe/VirtioNet.inf
666
667 #
668 # Usb Support
669 #
670 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
671 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
672 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
673 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
674 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
675 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
676
677 !ifdef $(CSM_ENABLE)
678 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
679 <LibraryClasses>
680 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
681 }
682 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
683 OvmfPkg/Csm/Csm16/Csm16.inf
684 !endif
685
686 !ifndef $(USE_OLD_SHELL)
687 ShellPkg/Application/Shell/Shell.inf {
688 <LibraryClasses>
689 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
690 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
691 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
692 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
693 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
694 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
695 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
696 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
697 !if $(NETWORK_IP6_ENABLE) == TRUE
698 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
699 !endif
700 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
701 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
702 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
703 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
704 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
705 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
706 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
707 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
708 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
709
710 <PcdsFixedAtBuild>
711 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
712 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
713 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
714 }
715 !endif
716
717 !if $(SECURE_BOOT_ENABLE) == TRUE
718 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
719 !endif
720
721 OvmfPkg/PlatformDxe/Platform.inf
722
723 !if $(SMM_REQUIRE) == TRUE
724 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
725 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
726 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
727
728 #
729 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
730 #
731 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
732
733 #
734 # SMM_CORE
735 #
736 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
737
738 #
739 # Privileged drivers (DXE_SMM_DRIVER modules)
740 #
741 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
742 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
743 <LibraryClasses>
744 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
745 }
746 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
747 <LibraryClasses>
748 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
749 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
750 }
751
752 #
753 # Variable driver stack (SMM)
754 #
755 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
756 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
757 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
758 <LibraryClasses>
759 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
760 }
761 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
762
763 !else
764
765 #
766 # Variable driver stack (non-SMM)
767 #
768 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
769 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
770 <LibraryClasses>
771 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
772 }
773 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
774 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
775 <LibraryClasses>
776 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
777 }
778 !endif