]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Microvm/MicrovmX64.dsc
OvmfPkg: gather common NetworkComponents overrides in .dsc.inc file
[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 = FALSE
51 DEFINE MPT_SCSI_ENABLE = FALSE
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 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
187 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
188
189 !if $(SOURCE_DEBUG_ENABLE) == TRUE
190 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
191 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
192 !else
193 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
194 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
195 !endif
196
197 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
198 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
199
200 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
201 !if $(NETWORK_TLS_ENABLE) == TRUE
202 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
203 !else
204 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
205 !endif
206 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
207
208 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
209 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
210 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
211 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
212 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
213
214
215 #
216 # Network libraries
217 #
218 !include NetworkPkg/NetworkLibs.dsc.inc
219
220 !if $(NETWORK_TLS_ENABLE) == TRUE
221 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
222 !endif
223
224 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
225 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
226 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
227 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
228 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
229
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
231 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
232
233 [LibraryClasses.common]
234 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
235 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
236 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
237 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
238 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
239 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
240 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
241
242 [LibraryClasses.common.SEC]
243 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
244 !ifdef $(DEBUG_ON_SERIAL_PORT)
245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
246 !else
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
248 !endif
249 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
250 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
251 !if $(SOURCE_DEBUG_ENABLE) == TRUE
252 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
253 !endif
254 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
255 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
258 !if $(TOOL_CHAIN_TAG) == "XCODE5"
259 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
260 !else
261 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
262 !endif
263 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
264 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
265
266 [LibraryClasses.common.PEI_CORE]
267 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
268 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
269 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
270 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
271 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
272 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
273 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
274 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
275 !ifdef $(DEBUG_ON_SERIAL_PORT)
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
277 !else
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
279 !endif
280 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
281
282 [LibraryClasses.common.PEIM]
283 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
284 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
285 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
286 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
287 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
288 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
289 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
290 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
291 !ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293 !else
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295 !endif
296 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
297 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
298 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
301 !endif
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
303 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
304 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
305 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
306 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
307
308 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
309 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.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 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
331 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
332 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
333 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
334 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
335 !ifdef $(DEBUG_ON_SERIAL_PORT)
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
337 !else
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
339 !endif
340 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
341 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
342 # PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
343 # PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
344 # PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
345 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
346 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
347
348 [LibraryClasses.common.UEFI_DRIVER]
349 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
350 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
351 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
352 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
353 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
354 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
355 !ifdef $(DEBUG_ON_SERIAL_PORT)
356 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
357 !else
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
359 !endif
360 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
361 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
362 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
363 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
364
365 [LibraryClasses.common.DXE_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
372 !ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
374 !else
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
376 !endif
377 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
378 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
379 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
380 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
381 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
382 !if $(SOURCE_DEBUG_ENABLE) == TRUE
383 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
384 !endif
385 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
386 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
387 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
388 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
389 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
390 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
391
392 [LibraryClasses.common.UEFI_APPLICATION]
393 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
394 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
395 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
396 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
397 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
398 !ifdef $(DEBUG_ON_SERIAL_PORT)
399 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
400 !else
401 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
402 !endif
403 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
404 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
405 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
406
407 [LibraryClasses.common.DXE_SMM_DRIVER]
408 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
409 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
410 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
411 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
412 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
413 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
414 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
415 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
416 !ifdef $(DEBUG_ON_SERIAL_PORT)
417 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
418 !else
419 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
420 !endif
421 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
422 !if $(SOURCE_DEBUG_ENABLE) == TRUE
423 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
424 !endif
425 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
426 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
427 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
428 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
429
430 [LibraryClasses.common.SMM_CORE]
431 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
432 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
433 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
434 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
435 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
436 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
437 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
438 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
439 !ifdef $(DEBUG_ON_SERIAL_PORT)
440 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
441 !else
442 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
443 !endif
444 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
445 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
446 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
447
448 ################################################################################
449 #
450 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
451 #
452 ################################################################################
453 [PcdsFeatureFlag]
454 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
456 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
459 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
460
461 [PcdsFixedAtBuild]
462 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
463 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
464 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
465 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
466 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
467 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
468 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
469 !if $(NETWORK_TLS_ENABLE) == FALSE
470 # match PcdFlashNvStorageVariableSize purely for convenience
471 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
472 !endif
473 !endif
474 !if $(FD_SIZE_IN_KB) == 4096
475 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
476 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
477 !if $(NETWORK_TLS_ENABLE) == FALSE
478 # match PcdFlashNvStorageVariableSize purely for convenience
479 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
480 !endif
481 !endif
482 !if $(NETWORK_TLS_ENABLE) == TRUE
483 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
485 !endif
486
487 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
488 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
489 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
490
491 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
492
493 # DEBUG_INIT 0x00000001 // Initialization
494 # DEBUG_WARN 0x00000002 // Warnings
495 # DEBUG_LOAD 0x00000004 // Load events
496 # DEBUG_FS 0x00000008 // EFI File system
497 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
498 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
499 # DEBUG_INFO 0x00000040 // Informational debug messages
500 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
501 # DEBUG_VARIABLE 0x00000100 // Variable
502 # DEBUG_BM 0x00000400 // Boot Manager
503 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
504 # DEBUG_NET 0x00004000 // SNP Driver
505 # DEBUG_UNDI 0x00010000 // UNDI Driver
506 # DEBUG_LOADFILE 0x00020000 // LoadFile
507 # DEBUG_EVENT 0x00080000 // Event messages
508 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
509 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
510 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
511 # // significantly impact boot performance
512 # DEBUG_ERROR 0x80000000 // Error
513 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
514
515 !if $(SOURCE_DEBUG_ENABLE) == TRUE
516 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
517 !else
518 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
519 !endif
520
521 !if $(SOURCE_DEBUG_ENABLE) == TRUE
522 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
523 !endif
524
525 #
526 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
527 # best (please refer to git-blame for past updates). The values capture a set
528 # of BIN hints that made sense at a particular time, for some (now likely
529 # unknown) workloads / boot paths.
530 #
531 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
532 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
533 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
534 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
535 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
536
537 #
538 # Network Pcds
539 #
540 !include NetworkPkg/NetworkPcds.dsc.inc
541
542 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
543
544 # IRQs 5, 9, 10, 11 are level-triggered
545 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
546
547 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
548 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
549
550 # microvm serial port^M
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
552 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
553 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
554
555 ################################################################################
556 #
557 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
558 #
559 ################################################################################
560
561 [PcdsDynamicDefault]
562 # only set when
563 # ($(SMM_REQUIRE) == FALSE)
564 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
565
566 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
567 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
569 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
570 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
575 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
576 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
577 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
578 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
579 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
580 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
581 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
582 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
583 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
584
585 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
586 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
587
588 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
589 # PCD and PcdPciDisableBusEnumeration below have not been assigned yet
590 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
591 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
592 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
593
594 # Set video resolution for text setup.
595 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
596 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
597
598 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
599 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
600 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
601
602 # Noexec settings for DXE.
603 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
604
605 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
606 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
607 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
608
609 # Set memory encryption mask
610 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
611
612 # Set Tdx shared bit mask
613 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
614
615 # Set SEV-ES defaults
616 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
617 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
618 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
619
620 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
621
622 # IPv4 and IPv6 PXE Boot support.
623 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
624 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
625
626 # Set ConfidentialComputing defaults
627 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
628
629 ################################################################################
630 #
631 # Components Section - list of all EDK II Modules needed by this Platform.
632 #
633 ################################################################################
634 [Components]
635 OvmfPkg/ResetVector/ResetVector.inf
636
637 #
638 # SEC Phase modules
639 #
640 OvmfPkg/Sec/SecMain.inf {
641 <LibraryClasses>
642 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
643 }
644
645 #
646 # PEI Phase modules
647 #
648 MdeModulePkg/Core/Pei/PeiMain.inf
649 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
650 <LibraryClasses>
651 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
652 }
653 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
654 <LibraryClasses>
655 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
656 }
657 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
658 <LibraryClasses>
659 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
660 }
661 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
662
663 OvmfPkg/PlatformPei/PlatformPei.inf
664 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
665 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
666
667 #
668 # DXE Phase modules
669 #
670 MdeModulePkg/Core/Dxe/DxeMain.inf {
671 <LibraryClasses>
672 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
673 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
674 }
675
676 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
677 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
678 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
679 <LibraryClasses>
680 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
681 }
682
683 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
684
685 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
686 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
687 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
688 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
689 UefiCpuPkg/CpuDxe/CpuDxe.inf
690 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
691 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
692 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
693 <LibraryClasses>
694 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
695 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
696 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
697 }
698 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
699 <LibraryClasses>
700 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
701 }
702 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
703 MdeModulePkg/Universal/Metronome/Metronome.inf
704 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
705 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
706 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
707 <LibraryClasses>
708 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
709 }
710 MdeModulePkg/Logo/LogoDxe.inf
711 MdeModulePkg/Application/UiApp/UiApp.inf {
712 <LibraryClasses>
713 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
714 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
715 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
716 }
717 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
718 <LibraryClasses>
719 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
720 }
721 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
722 OvmfPkg/Virtio10Dxe/Virtio10.inf
723 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
724 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
725 OvmfPkg/VirtioRngDxe/VirtioRng.inf
726 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
727 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
728 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
729 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
730 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
731 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
732 <LibraryClasses>
733 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
734 }
735 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
736 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
737 <LibraryClasses>
738 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
739 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
740 }
741 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
742 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
743 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
744 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
745 FatPkg/EnhancedFatDxe/Fat.inf
746 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
747 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
748 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
749 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
750 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
751 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
752 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
753 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
754 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
755 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
756 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
757 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
758
759 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
760 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
761 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
762
763 #
764 # ISA Support
765 #
766 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
767
768 #
769 # device tree
770 #
771 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
772 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
773
774 #
775 # SMBIOS Support
776 #
777 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
778 <LibraryClasses>
779 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
780 }
781 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
782
783 #
784 # ACPI Support
785 #
786 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
787 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
788 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
789 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
790 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
791
792 #
793 # Network Support
794 #
795 !include NetworkPkg/NetworkComponents.dsc.inc
796 !include OvmfPkg/NetworkComponents.dsc.inc
797
798 OvmfPkg/VirtioNetDxe/VirtioNet.inf
799
800 #
801 # Usb Support
802 #
803 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
804 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
805 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
806 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
807 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
808 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
809
810 !if $(TOOL_CHAIN_TAG) != "XCODE5"
811 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
812 <PcdsFixedAtBuild>
813 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
814 }
815 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
816 <PcdsFixedAtBuild>
817 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
818 }
819 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
820 <PcdsFixedAtBuild>
821 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
822 }
823 !endif
824 ShellPkg/Application/Shell/Shell.inf {
825 <LibraryClasses>
826 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
827 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
828 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
829 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
830 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
831 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
832 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
833 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
834 !if $(NETWORK_IP6_ENABLE) == TRUE
835 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
836 !endif
837 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
838 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
839 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
840
841 <PcdsFixedAtBuild>
842 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
843 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
844 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
845 }
846
847 OvmfPkg/PlatformDxe/Platform.inf
848 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
849
850 #
851 # Variable driver stack (non-SMM)
852 #
853 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
854 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
855 <LibraryClasses>
856 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
857 }
858 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
859 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
860 <LibraryClasses>
861 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
862 }