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