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