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