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