]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/CloudHv/CloudHvX64.dsc
OvmfPkg/CloudHv: Remove CSM support
[mirror_edk2.git] / OvmfPkg / CloudHv / CloudHvX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) Microsoft Corporation.
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 ################################################################################
13 #
14 # Defines Section - statements that will be processed to create a Makefile.
15 #
16 ################################################################################
17 [Defines]
18 PLATFORM_NAME = CloudHv
19 PLATFORM_GUID = 97bb49d2-9814-4bea-8311-f8b9ac231e11
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/CloudHvX64
23 SUPPORTED_ARCHITECTURES = X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/CloudHv/CloudHvX64.fdf
27
28 #
29 # Defines for default states. These can be changed on the command line.
30 # -D FLAG=VALUE
31 #
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SMM_REQUIRE = FALSE
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35
36 !include OvmfPkg/OvmfTpmDefines.dsc.inc
37
38 #
39 # Network definition
40 #
41 DEFINE NETWORK_TLS_ENABLE = FALSE
42 DEFINE NETWORK_IP6_ENABLE = FALSE
43 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
44 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
45 DEFINE NETWORK_ISCSI_ENABLE = TRUE
46
47 !include NetworkPkg/NetworkDefines.dsc.inc
48
49 #
50 # Device drivers
51 #
52 DEFINE PVSCSI_ENABLE = TRUE
53 DEFINE MPT_SCSI_ENABLE = TRUE
54 DEFINE LSI_SCSI_ENABLE = FALSE
55
56 #
57 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
58 # one of the supported values, in place of any of the convenience macros, is
59 # permitted.
60 #
61 !ifdef $(FD_SIZE_1MB)
62 DEFINE FD_SIZE_IN_KB = 1024
63 !else
64 !ifdef $(FD_SIZE_2MB)
65 DEFINE FD_SIZE_IN_KB = 2048
66 !else
67 !ifdef $(FD_SIZE_4MB)
68 DEFINE FD_SIZE_IN_KB = 4096
69 !else
70 DEFINE FD_SIZE_IN_KB = 4096
71 !endif
72 !endif
73 !endif
74
75 [BuildOptions]
76 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
77 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
78 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
80 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
81 !endif
82 !if $(SOURCE_DEBUG_ENABLE) == TRUE
83 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
84 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
85 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
86 !endif
87 RELEASE_*_*_GENFW_FLAGS = --zero
88
89 #
90 # Disable deprecated APIs.
91 #
92 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
93 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
94 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
95
96 !include NetworkPkg/NetworkBuildOptions.dsc.inc
97
98 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
103
104 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
105 # protection of DXE_SMM_DRIVER/SMM_CORE modules
106 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
107 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
108 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
109 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
110 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
111
112 ################################################################################
113 #
114 # SKU Identification section - list of all SKU IDs supported by this Platform.
115 #
116 ################################################################################
117 [SkuIds]
118 0|DEFAULT
119
120 ################################################################################
121 #
122 # Library Class section - list of all Library Classes needed by this Platform.
123 #
124 ################################################################################
125
126 !include MdePkg/MdeLibs.dsc.inc
127
128 [LibraryClasses]
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
131 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
132 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
133 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
134 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
135 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
136 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
137 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
138 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
139 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
140 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
141 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
142 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
143 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
144 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
145 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
146 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
147 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
148 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
149 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
150 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
151 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
152 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
154 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
155 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
156 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
157 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
158 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
159 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
160 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
161 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
162 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
163 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
164 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
165 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
166 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
167 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
168 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
169 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
170 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
171 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
172 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
173 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
174 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
175 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
176 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
177 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
178 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
179 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
180 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
181 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
182 !if $(SMM_REQUIRE) == FALSE
183 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
184 !endif
185 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
186 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
187
188 !if $(SOURCE_DEBUG_ENABLE) == TRUE
189 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
190 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
191 !else
192 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
193 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
194 !endif
195
196 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
197 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
198
199 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
200 !if $(NETWORK_TLS_ENABLE) == TRUE
201 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
202 !else
203 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
204 !endif
205 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
206
207 !if $(SECURE_BOOT_ENABLE) == TRUE
208 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
209 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
210 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
211 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
212 !else
213 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
214 !endif
215 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
216 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
217 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
218
219
220 #
221 # Network libraries
222 #
223 !include NetworkPkg/NetworkLibs.dsc.inc
224
225 !if $(NETWORK_TLS_ENABLE) == TRUE
226 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
227 !endif
228
229 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
230 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
231 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
232 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
233 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
234
235 !include OvmfPkg/OvmfTpmLibs.dsc.inc
236
237 [LibraryClasses.common]
238 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
239 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
240
241 [LibraryClasses.common.SEC]
242 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
243 !ifdef $(DEBUG_ON_SERIAL_PORT)
244 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
245 !else
246 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
247 !endif
248 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
249 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
250 !if $(SOURCE_DEBUG_ENABLE) == TRUE
251 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
252 !endif
253 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
254 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
255 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
256 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
257 !if $(TOOL_CHAIN_TAG) == "XCODE5"
258 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
259 !else
260 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
261 !endif
262 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
263 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
264
265 [LibraryClasses.common.PEI_CORE]
266 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
267 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
268 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
269 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
270 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
271 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
272 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
273 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
274 !ifdef $(DEBUG_ON_SERIAL_PORT)
275 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
276 !else
277 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
278 !endif
279 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
280
281 [LibraryClasses.common.PEIM]
282 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
283 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
284 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
285 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
286 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
287 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
288 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
289 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
290 !ifdef $(DEBUG_ON_SERIAL_PORT)
291 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
292 !else
293 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
294 !endif
295 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
296 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
297 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
298 !if $(SOURCE_DEBUG_ENABLE) == TRUE
299 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
300 !endif
301 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
302 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
303 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
304 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
305 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
306
307 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
308
309 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
310
311 [LibraryClasses.common.DXE_CORE]
312 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
313 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
314 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
316 !ifdef $(DEBUG_ON_SERIAL_PORT)
317 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
318 !else
319 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
320 !endif
321 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
322 !if $(SOURCE_DEBUG_ENABLE) == TRUE
323 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
324 !endif
325 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
326 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
327
328 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
329 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
330 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
331 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
333 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
334 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
335 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
336 !ifdef $(DEBUG_ON_SERIAL_PORT)
337 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
338 !else
339 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
340 !endif
341 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
342 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
343 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
344 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
345 !if $(SMM_REQUIRE) == TRUE
346 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
347 !endif
348
349 [LibraryClasses.common.UEFI_DRIVER]
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
352 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
353 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
354 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.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 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
363 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
364
365 [LibraryClasses.common.DXE_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
369 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
373 !ifdef $(DEBUG_ON_SERIAL_PORT)
374 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
375 !else
376 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
377 !endif
378 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
379 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
380 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
381 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
382 !if $(SMM_REQUIRE) == TRUE
383 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
384 !else
385 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
386 !endif
387 !if $(SOURCE_DEBUG_ENABLE) == TRUE
388 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
389 !endif
390 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
391 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
392 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
393 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
394
395 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
396
397 [LibraryClasses.common.UEFI_APPLICATION]
398 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
399 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
400 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
401 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
402 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
403 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
404 !ifdef $(DEBUG_ON_SERIAL_PORT)
405 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
406 !else
407 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
408 !endif
409 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
410
411 [LibraryClasses.common.DXE_SMM_DRIVER]
412 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
413 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
414 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
415 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
416 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
417 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
418 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
419 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
420 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
421 !ifdef $(DEBUG_ON_SERIAL_PORT)
422 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
423 !else
424 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
425 !endif
426 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
427 !if $(SOURCE_DEBUG_ENABLE) == TRUE
428 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
429 !endif
430 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
431 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
432
433 [LibraryClasses.common.SMM_CORE]
434 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
435 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
436 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
437 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
438 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
439 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
440 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
441 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
442 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
443 !ifdef $(DEBUG_ON_SERIAL_PORT)
444 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
445 !else
446 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
447 !endif
448 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
449
450 ################################################################################
451 #
452 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
453 #
454 ################################################################################
455 [PcdsFeatureFlag]
456 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
459 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
460 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
461 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
462 !if $(SMM_REQUIRE) == TRUE
463 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
464 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
466 !endif
467
468 [PcdsFixedAtBuild]
469 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
470 !if $(SMM_REQUIRE) == FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
472 !endif
473 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
474 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
475 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
476 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
477 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
478 !if $(NETWORK_TLS_ENABLE) == FALSE
479 # match PcdFlashNvStorageVariableSize purely for convenience
480 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
481 !endif
482 !endif
483 !if $(FD_SIZE_IN_KB) == 4096
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
485 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
486 !if $(NETWORK_TLS_ENABLE) == FALSE
487 # match PcdFlashNvStorageVariableSize purely for convenience
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
489 !endif
490 !endif
491 !if $(NETWORK_TLS_ENABLE) == TRUE
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
494 !endif
495
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
497 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
498 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
499
500 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
501
502 # DEBUG_INIT 0x00000001 // Initialization
503 # DEBUG_WARN 0x00000002 // Warnings
504 # DEBUG_LOAD 0x00000004 // Load events
505 # DEBUG_FS 0x00000008 // EFI File system
506 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
507 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
508 # DEBUG_INFO 0x00000040 // Informational debug messages
509 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
510 # DEBUG_VARIABLE 0x00000100 // Variable
511 # DEBUG_BM 0x00000400 // Boot Manager
512 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
513 # DEBUG_NET 0x00004000 // SNP Driver
514 # DEBUG_UNDI 0x00010000 // UNDI Driver
515 # DEBUG_LOADFILE 0x00020000 // LoadFile
516 # DEBUG_EVENT 0x00080000 // Event messages
517 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
518 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
519 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
520 # // significantly impact boot performance
521 # DEBUG_ERROR 0x80000000 // Error
522 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
523
524 !if $(SOURCE_DEBUG_ENABLE) == TRUE
525 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
526 !else
527 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
528 !endif
529
530 !if $(SOURCE_DEBUG_ENABLE) == TRUE
531 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
532 !endif
533
534 #
535 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
536 # best (please refer to git-blame for past updates). The values capture a set
537 # of BIN hints that made sense at a particular time, for some (now likely
538 # unknown) workloads / boot paths.
539 #
540 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
541 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
542 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
543 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
544 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
545
546 #
547 # Network Pcds
548 #
549 !include NetworkPkg/NetworkPcds.dsc.inc
550
551 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
552
553 !if $(SMM_REQUIRE) == TRUE
554 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
555 !endif
556
557 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
558 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
559
560 ################################################################################
561 #
562 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
563 #
564 ################################################################################
565
566 [PcdsDynamicDefault]
567 # only set when
568 # ($(SMM_REQUIRE) == FALSE)
569 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
570
571 !if $(SMM_REQUIRE) == FALSE
572 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
573 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
575 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
576 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
577 !endif
578 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
579 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
580 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
581 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
582 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
583 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
584 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
585 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
586
587 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
588 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
589
590 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
591 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
592 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
593
594 # Noexec settings for DXE.
595 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
596
597 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
598 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
599 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
600
601 # Set memory encryption mask
602 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
603
604 # Set SEV-ES defaults
605 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
606 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
607 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
608
609 !if $(SMM_REQUIRE) == TRUE
610 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
611 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
612 !endif
613
614 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
615
616 !include OvmfPkg/OvmfTpmPcds.dsc.inc
617
618 # IPv4 and IPv6 PXE Boot support.
619 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
620 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
621
622 # Set ConfidentialComputing defaults
623 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
624
625 [PcdsDynamicHii]
626 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
627
628 ################################################################################
629 #
630 # Components Section - list of all EDK II Modules needed by this Platform.
631 #
632 ################################################################################
633 [Components]
634 OvmfPkg/ResetVector/ResetVector.inf
635
636 #
637 # SEC Phase modules
638 #
639 OvmfPkg/Sec/SecMain.inf {
640 <LibraryClasses>
641 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
642 }
643
644 #
645 # PEI Phase modules
646 #
647 MdeModulePkg/Core/Pei/PeiMain.inf
648 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
649 <LibraryClasses>
650 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
651 }
652 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
653 <LibraryClasses>
654 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
655 }
656 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
657 <LibraryClasses>
658 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
659 }
660 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
661
662 OvmfPkg/PlatformPei/PlatformPei.inf
663 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
664 <LibraryClasses>
665 !if $(SMM_REQUIRE) == TRUE
666 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
667 !endif
668 }
669 !if $(SMM_REQUIRE) == TRUE
670 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
671 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
672 OvmfPkg/SmmAccess/SmmAccessPei.inf
673 !endif
674 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
675
676 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
677
678 #
679 # DXE Phase modules
680 #
681 MdeModulePkg/Core/Dxe/DxeMain.inf {
682 <LibraryClasses>
683 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
684 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
685 }
686
687 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
688 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
689 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
690 <LibraryClasses>
691 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
692 }
693
694 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
695
696 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
697 <LibraryClasses>
698 !if $(SECURE_BOOT_ENABLE) == TRUE
699 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
700 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
701 !endif
702 }
703
704 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
705 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
706 UefiCpuPkg/CpuDxe/CpuDxe.inf
707 OvmfPkg/XenTimerDxe/XenTimerDxe.inf
708 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
709 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
710 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
711 <LibraryClasses>
712 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
713 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
714 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
715 }
716 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
717 <LibraryClasses>
718 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
719 }
720 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
721 MdeModulePkg/Universal/Metronome/Metronome.inf
722 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
723 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
724 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
725 <LibraryClasses>
726 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
727 }
728 MdeModulePkg/Logo/LogoDxe.inf
729 MdeModulePkg/Application/UiApp/UiApp.inf {
730 <LibraryClasses>
731 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
732 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
733 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
734 }
735 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
736 <LibraryClasses>
737 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
738 }
739 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
740 OvmfPkg/Virtio10Dxe/Virtio10.inf
741 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
742 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
743 OvmfPkg/VirtioRngDxe/VirtioRng.inf
744 !if $(PVSCSI_ENABLE) == TRUE
745 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
746 !endif
747 !if $(MPT_SCSI_ENABLE) == TRUE
748 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
749 !endif
750 !if $(LSI_SCSI_ENABLE) == TRUE
751 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
752 !endif
753 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
754 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
755 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
756 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
757 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
758 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
759 <LibraryClasses>
760 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
761 }
762 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
763 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
764 <LibraryClasses>
765 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
766 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
767 }
768 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
769 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
770 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
771 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
772 FatPkg/EnhancedFatDxe/Fat.inf
773 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
774 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
775 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
776 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
777 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
778 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
779 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
780 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
781 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
782 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
783 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
784 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
785
786 #
787 # Serial Support
788 #
789 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
790
791 #
792 # SMBIOS Support
793 #
794 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
795 <LibraryClasses>
796 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
797 }
798 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
799
800 #
801 # ACPI Support
802 #
803 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
804 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
805 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
806 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
807 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
808
809 #
810 # Network Support
811 #
812 !include NetworkPkg/NetworkComponents.dsc.inc
813
814 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
815 <LibraryClasses>
816 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
817 }
818
819 !if $(NETWORK_TLS_ENABLE) == TRUE
820 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
821 <LibraryClasses>
822 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
823 }
824 !endif
825 OvmfPkg/VirtioNetDxe/VirtioNet.inf
826
827 !if $(TOOL_CHAIN_TAG) != "XCODE5"
828 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
829 <PcdsFixedAtBuild>
830 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
831 }
832 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
833 <PcdsFixedAtBuild>
834 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
835 }
836 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
837 <PcdsFixedAtBuild>
838 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
839 }
840 !endif
841 ShellPkg/Application/Shell/Shell.inf {
842 <LibraryClasses>
843 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
844 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
845 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
846 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
847 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
848 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
849 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
850 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
851 !if $(NETWORK_IP6_ENABLE) == TRUE
852 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
853 !endif
854 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
855 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
856 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
857
858 <PcdsFixedAtBuild>
859 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
860 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
861 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
862 }
863
864 !if $(SECURE_BOOT_ENABLE) == TRUE
865 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
866 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
867 !endif
868
869 OvmfPkg/PlatformDxe/Platform.inf
870 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
871 <LibraryClasses>
872 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
873 }
874 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
875
876 !if $(SMM_REQUIRE) == TRUE
877 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
878 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
879 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
880
881 #
882 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
883 #
884 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
885
886 #
887 # SMM_CORE
888 #
889 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
890
891 #
892 # Privileged drivers (DXE_SMM_DRIVER modules)
893 #
894 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
895 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
896 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
897 <LibraryClasses>
898 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
899 }
900 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
901 <LibraryClasses>
902 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
903 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
904 }
905
906 #
907 # Variable driver stack (SMM)
908 #
909 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
910 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
911 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
912 <LibraryClasses>
913 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
914 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
915 }
916 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
917
918 !else
919
920 #
921 # Variable driver stack (non-SMM)
922 #
923 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
924 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
925 <LibraryClasses>
926 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
927 }
928 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
929 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
930 <LibraryClasses>
931 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
932 }
933 !endif
934
935 #
936 # TPM support
937 #
938 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc