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