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