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