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