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