]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe
[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 !ifdef $(SOURCE_DEBUG_ENABLE)
399 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
400 !endif
401
402 !ifndef $(USE_OLD_SHELL)
403 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
404 !endif
405
406 !if $(SMM_REQUIRE) == TRUE
407 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
408 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
409 !endif
410
411 !if $(SECURE_BOOT_ENABLE) == TRUE
412 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
413 !endif
414
415 # IRQs 5, 9, 10, 11 are level-triggered
416 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
417
418 ################################################################################
419 #
420 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
421 #
422 ################################################################################
423
424 [PcdsDynamicDefault]
425 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
426 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
427 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
428 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
429 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
431 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
432 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
433 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
434 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
435
436 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
437
438 # Set video resolution for text setup.
439 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
440 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
441
442 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
443 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
444 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
445
446 # Noexec settings for DXE.
447 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
448 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
449
450 ################################################################################
451 #
452 # Components Section - list of all EDK II Modules needed by this Platform.
453 #
454 ################################################################################
455 [Components]
456 OvmfPkg/ResetVector/ResetVector.inf
457
458 #
459 # SEC Phase modules
460 #
461 OvmfPkg/Sec/SecMain.inf {
462 <LibraryClasses>
463 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
464 }
465
466 #
467 # PEI Phase modules
468 #
469 MdeModulePkg/Core/Pei/PeiMain.inf
470 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
471 <LibraryClasses>
472 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
473 }
474 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
475 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
476 <LibraryClasses>
477 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
478 }
479
480 OvmfPkg/PlatformPei/PlatformPei.inf {
481 <LibraryClasses>
482 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
483 }
484 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
485 <LibraryClasses>
486 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
487 !if $(SMM_REQUIRE) == TRUE
488 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
489 !endif
490 }
491 !if $(SMM_REQUIRE) == TRUE
492 OvmfPkg/SmmAccess/SmmAccessPei.inf {
493 <LibraryClasses>
494 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
495 }
496 !endif
497
498 #
499 # DXE Phase modules
500 #
501 MdeModulePkg/Core/Dxe/DxeMain.inf {
502 <LibraryClasses>
503 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
504 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
505 }
506
507 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
508 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
509 <LibraryClasses>
510 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
511 }
512
513 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
514
515 !if $(SECURE_BOOT_ENABLE) == TRUE
516 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
517 <LibraryClasses>
518 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
519 }
520 !else
521 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
522 !endif
523
524 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
525 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
526 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
527 UefiCpuPkg/CpuDxe/CpuDxe.inf
528 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
529 !if $(USE_OLD_PCI_HOST) == TRUE
530 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
531 !else
532 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
533 <LibraryClasses>
534 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
535 }
536 !endif
537 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
538 <LibraryClasses>
539 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
540 }
541 PcAtChipsetPkg/KbcResetDxe/Reset.inf
542 MdeModulePkg/Universal/Metronome/Metronome.inf
543 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
544 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
545 <LibraryClasses>
546 !ifdef $(CSM_ENABLE)
547 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
548 !endif
549 }
550
551 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
552 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
553 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
554 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
555 OvmfPkg/VirtioRngDxe/VirtioRng.inf
556 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
557 OvmfPkg/XenBusDxe/XenBusDxe.inf
558 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
559 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
560 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
561 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
562 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
563 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
564 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
565 <LibraryClasses>
566 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
567 }
568 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
569 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
570 <LibraryClasses>
571 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
572 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
573 }
574 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
575 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
576 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
577 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
578 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
579 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
580 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
581 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
582 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
583 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
584 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
585 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
586 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
587 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
588
589 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
590 <LibraryClasses>
591 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
592 }
593
594 #
595 # ISA Support
596 #
597 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
598 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
599 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
600 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
601 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
602
603 #
604 # SMBIOS Support
605 #
606 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
607 <LibraryClasses>
608 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
609 }
610 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
611
612 #
613 # ACPI Support
614 #
615 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
616 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
617 OvmfPkg/AcpiTables/AcpiTables.inf
618 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
619 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
620 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
621
622 #
623 # Network Support
624 #
625 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
626 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
627 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
628 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
629 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
630 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
631 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
632 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
633 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
634 !if $(NETWORK_IP6_ENABLE) == TRUE
635 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
636 NetworkPkg/TcpDxe/TcpDxe.inf
637 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
638 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
639 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
640 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
641 !if $(SECURE_BOOT_ENABLE) == TRUE
642 NetworkPkg/IScsiDxe/IScsiDxe.inf
643 !else
644 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
645 !endif
646 !else
647 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
648 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
649 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
650 !endif
651 !if $(HTTP_BOOT_ENABLE) == TRUE
652 NetworkPkg/DnsDxe/DnsDxe.inf
653 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
654 NetworkPkg/HttpDxe/HttpDxe.inf
655 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
656 !endif
657 OvmfPkg/VirtioNetDxe/VirtioNet.inf
658
659 #
660 # Usb Support
661 #
662 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
663 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
664 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
665 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
666 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
667 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
668
669 !ifdef $(CSM_ENABLE)
670 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
671 <LibraryClasses>
672 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
673 }
674 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
675 OvmfPkg/Csm/Csm16/Csm16.inf
676 !endif
677
678 !ifndef $(USE_OLD_SHELL)
679 ShellPkg/Application/Shell/Shell.inf {
680 <LibraryClasses>
681 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
682 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
683 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
684 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
685 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
686 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
687 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
688 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
689 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
690 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
691 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
692 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
693 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
694 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
695 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
696 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
697 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
698
699 <PcdsFixedAtBuild>
700 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
701 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
702 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
703 }
704 !endif
705
706 !if $(SECURE_BOOT_ENABLE) == TRUE
707 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
708 !endif
709
710 OvmfPkg/PlatformDxe/Platform.inf
711
712 !if $(SMM_REQUIRE) == TRUE
713 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
714 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
715 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
716
717 #
718 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
719 #
720 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
721
722 #
723 # SMM_CORE
724 #
725 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
726
727 #
728 # Privileged drivers (DXE_SMM_DRIVER modules)
729 #
730 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
731 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
732 <LibraryClasses>
733 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
734 }
735 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
736 <LibraryClasses>
737 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
738 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
739 }
740
741 #
742 # Variable driver stack (SMM)
743 #
744 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
745 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
746 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
747 <LibraryClasses>
748 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
749 }
750 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
751
752 !else
753
754 #
755 # Variable driver stack (non-SMM)
756 #
757 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
758 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
759 <LibraryClasses>
760 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
761 }
762 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
763 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
764 <LibraryClasses>
765 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
766 }
767 !endif