]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: PlatformPei: enable PCIEXBAR (aka MMCONFIG / ECAM) on Q35
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.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/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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 !ifdef $(SOURCE_DEBUG_ENABLE)
49 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
51 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
52 !endif
53
54 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
55 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
56
57 ################################################################################
58 #
59 # SKU Identification section - list of all SKU IDs supported by this Platform.
60 #
61 ################################################################################
62 [SkuIds]
63 0|DEFAULT
64
65 ################################################################################
66 #
67 # Library Class section - list of all Library Classes needed by this Platform.
68 #
69 ################################################################################
70 [LibraryClasses]
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
72 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
73 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
76 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
78 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
80 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
81 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
82 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
83 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
84 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
85 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
86 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
87 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
88 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
89 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.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
251 [LibraryClasses.common.UEFI_DRIVER]
252 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
253 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
254 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
255 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
256 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
257 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
258 !ifdef $(DEBUG_ON_SERIAL_PORT)
259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
260 !else
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
262 !endif
263 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
264
265 [LibraryClasses.common.DXE_DRIVER]
266 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
267 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
268 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
269 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
270 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
271 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
272 !ifdef $(DEBUG_ON_SERIAL_PORT)
273 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
274 !else
275 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
276 !endif
277 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
278 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
279 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
280 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
281 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
282 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
283 !if $(SMM_REQUIRE) == TRUE
284 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
285 !else
286 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
287 !endif
288 !ifdef $(SOURCE_DEBUG_ENABLE)
289 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
290 !endif
291 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
292 !if $(SECURE_BOOT_ENABLE) == TRUE
293 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
294 !endif
295
296 [LibraryClasses.common.UEFI_APPLICATION]
297 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
298 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
299 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
300 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
301 !ifdef $(DEBUG_ON_SERIAL_PORT)
302 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303 !else
304 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305 !endif
306
307 [LibraryClasses.common.DXE_SMM_DRIVER]
308 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
309 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
310 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
311 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
312 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
313 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
314 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
315 !ifdef $(DEBUG_ON_SERIAL_PORT)
316 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
317 !else
318 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
319 !endif
320 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
321 !ifdef $(SOURCE_DEBUG_ENABLE)
322 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
323 !endif
324 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
325
326 [LibraryClasses.common.SMM_CORE]
327 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
328 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
329 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
330 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
333 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
334 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
335 !ifdef $(DEBUG_ON_SERIAL_PORT)
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
337 !else
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
339 !endif
340
341 ################################################################################
342 #
343 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
344 #
345 ################################################################################
346 [PcdsFeatureFlag]
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.PcdMaxHardwareErrorVariableSize|0x8000
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 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
446 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
447 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
448
449 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
450
451 # Set video resolution for text setup.
452 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
453 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
454
455 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
456 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
457 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
458
459 # Noexec settings for DXE.
460 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
461 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
462
463 ################################################################################
464 #
465 # Components Section - list of all EDK II Modules needed by this Platform.
466 #
467 ################################################################################
468 [Components]
469 OvmfPkg/ResetVector/ResetVector.inf
470
471 #
472 # SEC Phase modules
473 #
474 OvmfPkg/Sec/SecMain.inf {
475 <LibraryClasses>
476 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
477 }
478
479 #
480 # PEI Phase modules
481 #
482 MdeModulePkg/Core/Pei/PeiMain.inf
483 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
484 <LibraryClasses>
485 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
486 }
487 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
488 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
489 <LibraryClasses>
490 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
491 }
492
493 OvmfPkg/PlatformPei/PlatformPei.inf {
494 <LibraryClasses>
495 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
496 }
497 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
498 <LibraryClasses>
499 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
500 !if $(SMM_REQUIRE) == TRUE
501 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
502 !endif
503 }
504 !if $(SMM_REQUIRE) == TRUE
505 OvmfPkg/SmmAccess/SmmAccessPei.inf {
506 <LibraryClasses>
507 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
508 }
509 !endif
510
511 #
512 # DXE Phase modules
513 #
514 MdeModulePkg/Core/Dxe/DxeMain.inf {
515 <LibraryClasses>
516 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
517 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
518 }
519
520 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
521 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
522 <LibraryClasses>
523 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
524 }
525
526 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
527
528 !if $(SECURE_BOOT_ENABLE) == TRUE
529 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
530 <LibraryClasses>
531 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
532 }
533 !else
534 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
535 !endif
536
537 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
538 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
539 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
540 UefiCpuPkg/CpuDxe/CpuDxe.inf
541 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
542 !if $(USE_OLD_PCI_HOST) == TRUE
543 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
544 !else
545 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
546 <LibraryClasses>
547 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
548 }
549 !endif
550 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
551 <LibraryClasses>
552 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
553 }
554 PcAtChipsetPkg/KbcResetDxe/Reset.inf
555 MdeModulePkg/Universal/Metronome/Metronome.inf
556 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
557 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
558 <LibraryClasses>
559 !ifdef $(CSM_ENABLE)
560 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
561 !endif
562 }
563
564 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
565 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
566 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
567 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
568 OvmfPkg/VirtioRngDxe/VirtioRng.inf
569 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
570 OvmfPkg/XenBusDxe/XenBusDxe.inf
571 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
572 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
573 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
574 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
575 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
576 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
577 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
578 <LibraryClasses>
579 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
580 }
581 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
582 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
583 <LibraryClasses>
584 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
585 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
586 }
587 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
588 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
589 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
590 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.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 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
632 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
633 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
634
635 #
636 # Network Support
637 #
638 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
639 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
640 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
641 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
642 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
643 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
644 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
645 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
646 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
647 !if $(NETWORK_IP6_ENABLE) == TRUE
648 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
649 NetworkPkg/TcpDxe/TcpDxe.inf
650 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
651 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
652 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
653 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
654 !if $(SECURE_BOOT_ENABLE) == TRUE
655 NetworkPkg/IScsiDxe/IScsiDxe.inf
656 !else
657 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
658 !endif
659 !else
660 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
661 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
662 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
663 !endif
664 !if $(HTTP_BOOT_ENABLE) == TRUE
665 NetworkPkg/DnsDxe/DnsDxe.inf
666 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
667 NetworkPkg/HttpDxe/HttpDxe.inf
668 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
669 !endif
670 OvmfPkg/VirtioNetDxe/VirtioNet.inf
671
672 #
673 # Usb Support
674 #
675 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
676 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
677 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
678 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
679 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
680 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
681
682 !ifdef $(CSM_ENABLE)
683 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
684 <LibraryClasses>
685 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
686 }
687 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
688 OvmfPkg/Csm/Csm16/Csm16.inf
689 !endif
690
691 !ifndef $(USE_OLD_SHELL)
692 ShellPkg/Application/Shell/Shell.inf {
693 <LibraryClasses>
694 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
695 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
696 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
697 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
698 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
699 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
700 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
701 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
702 !if $(NETWORK_IP6_ENABLE) == TRUE
703 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
704 !endif
705 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
706 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
707 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
708 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
709 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
710 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
711 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
712 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
713 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
714
715 <PcdsFixedAtBuild>
716 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
717 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
718 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
719 }
720 !endif
721
722 !if $(SECURE_BOOT_ENABLE) == TRUE
723 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
724 !endif
725
726 OvmfPkg/PlatformDxe/Platform.inf
727
728 !if $(SMM_REQUIRE) == TRUE
729 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
730 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
731 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
732
733 #
734 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
735 #
736 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
737
738 #
739 # SMM_CORE
740 #
741 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
742
743 #
744 # Privileged drivers (DXE_SMM_DRIVER modules)
745 #
746 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
747 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
748 <LibraryClasses>
749 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
750 }
751 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
752 <LibraryClasses>
753 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
754 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
755 }
756
757 #
758 # Variable driver stack (SMM)
759 #
760 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
761 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
762 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
763 <LibraryClasses>
764 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
765 }
766 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
767
768 !else
769
770 #
771 # Variable driver stack (non-SMM)
772 #
773 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
774 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
775 <LibraryClasses>
776 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
777 }
778 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
779 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
780 <LibraryClasses>
781 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
782 }
783 !endif