]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
SignedCapsulePkg: Replace [Ascii|Unicode]ValueToString
[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
240 [LibraryClasses.common.DXE_CORE]
241 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
242 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
243 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
244 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
245 !ifdef $(DEBUG_ON_SERIAL_PORT)
246 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
247 !else
248 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
249 !endif
250 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
251 !ifdef $(SOURCE_DEBUG_ENABLE)
252 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
253 !endif
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
255 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
256
257 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
258 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
259 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
260 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
261 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
262 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
263 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
264 !ifdef $(DEBUG_ON_SERIAL_PORT)
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266 !else
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268 !endif
269 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
270 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
271 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
272
273 [LibraryClasses.common.UEFI_DRIVER]
274 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
275 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
276 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
277 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
278 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
279 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
282 !else
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
284 !endif
285 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
286 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
287
288 [LibraryClasses.common.DXE_DRIVER]
289 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
290 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
291 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
292 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
293 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
294 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
295 !ifdef $(DEBUG_ON_SERIAL_PORT)
296 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
297 !else
298 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
299 !endif
300 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
301 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
302 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
303 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
304 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
305 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
306 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
307 !if $(SMM_REQUIRE) == TRUE
308 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
309 !else
310 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
311 !endif
312 !ifdef $(SOURCE_DEBUG_ENABLE)
313 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
314 !endif
315 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
316 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
317
318 [LibraryClasses.common.UEFI_APPLICATION]
319 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
320 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
323 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
324 !ifdef $(DEBUG_ON_SERIAL_PORT)
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
326 !else
327 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
328 !endif
329 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
330
331 [LibraryClasses.common.DXE_SMM_DRIVER]
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
334 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
338 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
339 !ifdef $(DEBUG_ON_SERIAL_PORT)
340 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
341 !else
342 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
343 !endif
344 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
345 !ifdef $(SOURCE_DEBUG_ENABLE)
346 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
347 !endif
348 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
349 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
350
351 [LibraryClasses.common.SMM_CORE]
352 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
353 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
354 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
355 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
356 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
357 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
358 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
359 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
360 !ifdef $(DEBUG_ON_SERIAL_PORT)
361 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
362 !else
363 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
364 !endif
365 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
366
367 ################################################################################
368 #
369 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
370 #
371 ################################################################################
372 [PcdsFeatureFlag]
373 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
374 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
375 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
376 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
377 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
378 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
380 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
381 !if $(SECURE_BOOT_ENABLE) == TRUE
382 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
383 !endif
384 !if $(SMM_REQUIRE) == TRUE
385 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
386 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
387 !endif
388
389 [PcdsFixedAtBuild]
390 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
391 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
392 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
393 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
394 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
395 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
396 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
397 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
398
399 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
400
401 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
402
403 # DEBUG_INIT 0x00000001 // Initialization
404 # DEBUG_WARN 0x00000002 // Warnings
405 # DEBUG_LOAD 0x00000004 // Load events
406 # DEBUG_FS 0x00000008 // EFI File system
407 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
408 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
409 # DEBUG_INFO 0x00000040 // Informational debug messages
410 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
411 # DEBUG_VARIABLE 0x00000100 // Variable
412 # DEBUG_BM 0x00000400 // Boot Manager
413 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
414 # DEBUG_NET 0x00004000 // SNP Driver
415 # DEBUG_UNDI 0x00010000 // UNDI Driver
416 # DEBUG_LOADFILE 0x00020000 // LoadFile
417 # DEBUG_EVENT 0x00080000 // Event messages
418 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
419 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
420 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
421 # // significantly impact boot performance
422 # DEBUG_ERROR 0x80000000 // Error
423 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
424
425 !ifdef $(SOURCE_DEBUG_ENABLE)
426 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
427 !else
428 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
429 !endif
430
431 # This PCD is used to set the base address of the PCI express hierarchy. It
432 # is only consulted when OVMF runs on Q35. In that case it is programmed into
433 # the PCIEXBAR register.
434 #
435 # On Q35 machine types that QEMU intends to support in the long term, QEMU
436 # never lets the RAM below 4 GB exceed 2 GB.
437 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
438
439 !ifdef $(SOURCE_DEBUG_ENABLE)
440 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
441 !endif
442
443 !if $(HTTP_BOOT_ENABLE) == TRUE
444 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
445 !endif
446
447 !ifndef $(USE_OLD_SHELL)
448 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
449 !endif
450
451 !if $(SMM_REQUIRE) == TRUE
452 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
453 !endif
454
455 !if $(SECURE_BOOT_ENABLE) == TRUE
456 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
457 !endif
458
459 # IRQs 5, 9, 10, 11 are level-triggered
460 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
461
462 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
463 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
464
465 ################################################################################
466 #
467 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
468 #
469 ################################################################################
470
471 [PcdsDynamicDefault]
472 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
473 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
474 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
475 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
476 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
477 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
478 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
479 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
480 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
481 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
482 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
483 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
484 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
485
486 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
487
488 # Set video resolution for text setup.
489 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
490 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
491
492 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
493 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
494 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
495
496 # Noexec settings for DXE.
497 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
498 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
499
500 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
501 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
502 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
503
504 !if $(SMM_REQUIRE) == TRUE
505 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
506 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
507 !endif
508
509 ################################################################################
510 #
511 # Components Section - list of all EDK II Modules needed by this Platform.
512 #
513 ################################################################################
514 [Components]
515 OvmfPkg/ResetVector/ResetVector.inf
516
517 #
518 # SEC Phase modules
519 #
520 OvmfPkg/Sec/SecMain.inf {
521 <LibraryClasses>
522 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
523 }
524
525 #
526 # PEI Phase modules
527 #
528 MdeModulePkg/Core/Pei/PeiMain.inf
529 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
530 <LibraryClasses>
531 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
532 }
533 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
534 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
535 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
536 <LibraryClasses>
537 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
538 }
539
540 OvmfPkg/PlatformPei/PlatformPei.inf {
541 <LibraryClasses>
542 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
543 }
544 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
545 <LibraryClasses>
546 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
547 !if $(SMM_REQUIRE) == TRUE
548 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
549 !endif
550 }
551 !if $(SMM_REQUIRE) == TRUE
552 OvmfPkg/SmmAccess/SmmAccessPei.inf {
553 <LibraryClasses>
554 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
555 }
556 !endif
557 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
558 <LibraryClasses>
559 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
560 }
561
562 #
563 # DXE Phase modules
564 #
565 MdeModulePkg/Core/Dxe/DxeMain.inf {
566 <LibraryClasses>
567 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
568 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
569 }
570
571 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
572 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
573 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
574 <LibraryClasses>
575 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
576 }
577
578 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
579
580 !if $(SECURE_BOOT_ENABLE) == TRUE
581 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
582 <LibraryClasses>
583 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
584 }
585 !else
586 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
587 !endif
588
589 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
590 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
591 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
592 UefiCpuPkg/CpuDxe/CpuDxe.inf
593 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
594 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
595 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
596 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
597 <LibraryClasses>
598 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
599 }
600 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
601 <LibraryClasses>
602 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
603 }
604 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
605 MdeModulePkg/Universal/Metronome/Metronome.inf
606 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
607 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
608 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
609 <LibraryClasses>
610 !ifdef $(CSM_ENABLE)
611 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
612 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
613 !endif
614 }
615 MdeModulePkg/Logo/LogoDxe.inf
616 MdeModulePkg/Application/UiApp/UiApp.inf {
617 <LibraryClasses>
618 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
619 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
620 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
621 !ifdef $(CSM_ENABLE)
622 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
623 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
624 !endif
625 }
626 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
627 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
628 OvmfPkg/Virtio10Dxe/Virtio10.inf
629 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
630 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
631 OvmfPkg/VirtioRngDxe/VirtioRng.inf
632 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
633 OvmfPkg/XenBusDxe/XenBusDxe.inf
634 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
635 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
636 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
637 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
638 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
639 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
640 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
641 <LibraryClasses>
642 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
643 }
644 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
645 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
646 <LibraryClasses>
647 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
648 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
649 }
650 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
651 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
652 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
653 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
654 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
655 FatPkg/EnhancedFatDxe/Fat.inf
656 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
657 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
658 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
659 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
660 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
661 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
662 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
663 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
664 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
665 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
666
667 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
668 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
669
670 #
671 # ISA Support
672 #
673 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
674 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
675 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
676 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
677 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
678
679 #
680 # SMBIOS Support
681 #
682 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
683 <LibraryClasses>
684 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
685 }
686 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
687
688 #
689 # ACPI Support
690 #
691 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
692 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
693 OvmfPkg/AcpiTables/AcpiTables.inf
694 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
695 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
696 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
697
698 #
699 # Network Support
700 #
701 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
702 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
703 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
704 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
705 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
706 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
707 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
708 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
709 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
710 !if $(NETWORK_IP6_ENABLE) == TRUE
711 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
712 NetworkPkg/TcpDxe/TcpDxe.inf
713 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
714 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
715 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
716 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
717 NetworkPkg/IScsiDxe/IScsiDxe.inf
718 !else
719 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
720 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
721 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
722 !endif
723 !if $(HTTP_BOOT_ENABLE) == TRUE
724 NetworkPkg/DnsDxe/DnsDxe.inf
725 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
726 NetworkPkg/HttpDxe/HttpDxe.inf
727 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
728 !endif
729 !if $(TLS_ENABLE) == TRUE
730 NetworkPkg/TlsDxe/TlsDxe.inf
731 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
732 !endif
733 OvmfPkg/VirtioNetDxe/VirtioNet.inf
734
735 #
736 # Usb Support
737 #
738 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
739 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
740 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
741 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
742 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
743 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
744
745 !ifdef $(CSM_ENABLE)
746 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
747 <LibraryClasses>
748 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
749 }
750 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
751 OvmfPkg/Csm/Csm16/Csm16.inf
752 !endif
753
754 !ifndef $(USE_OLD_SHELL)
755 ShellPkg/Application/Shell/Shell.inf {
756 <LibraryClasses>
757 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
758 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
759 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
760 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
761 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
762 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
763 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
764 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
765 !if $(NETWORK_IP6_ENABLE) == TRUE
766 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
767 !endif
768 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
769 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
770 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
771 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
772 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
773 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
774 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
775 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
776
777 <PcdsFixedAtBuild>
778 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
779 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
780 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
781 }
782 !endif
783
784 !if $(SECURE_BOOT_ENABLE) == TRUE
785 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
786 !endif
787
788 OvmfPkg/PlatformDxe/Platform.inf
789
790 !if $(SMM_REQUIRE) == TRUE
791 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
792 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
793 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
794
795 #
796 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
797 #
798 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
799
800 #
801 # SMM_CORE
802 #
803 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
804
805 #
806 # Privileged drivers (DXE_SMM_DRIVER modules)
807 #
808 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
809 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
810 <LibraryClasses>
811 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
812 }
813 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
814 <LibraryClasses>
815 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
816 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
817 }
818
819 #
820 # Variable driver stack (SMM)
821 #
822 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
823 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
824 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
825 <LibraryClasses>
826 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
827 }
828 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
829
830 !else
831
832 #
833 # Variable driver stack (non-SMM)
834 #
835 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
836 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
837 <LibraryClasses>
838 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
839 }
840 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
841 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
842 <LibraryClasses>
843 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
844 }
845 !endif