]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfXen.dsc
OvmfPkg: Add MicrocodeLib in DSC files.
[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
363 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
365 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
d3f3c942 366 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
75e85e33
AP
367!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
368 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
369 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
370!if $(NETWORK_TLS_ENABLE) == FALSE\r
371 # match PcdFlashNvStorageVariableSize purely for convenience\r
372 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
373!endif\r
374!endif\r
375!if $(FD_SIZE_IN_KB) == 4096\r
376 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
378!if $(NETWORK_TLS_ENABLE) == FALSE\r
379 # match PcdFlashNvStorageVariableSize purely for convenience\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
381!endif\r
382!endif\r
383!if $(NETWORK_TLS_ENABLE) == TRUE\r
384 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
385 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
386!endif\r
387\r
388 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
7fe5022f
MT
389 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
390 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
75e85e33
AP
391\r
392 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
393\r
394 # DEBUG_INIT 0x00000001 // Initialization\r
395 # DEBUG_WARN 0x00000002 // Warnings\r
396 # DEBUG_LOAD 0x00000004 // Load events\r
397 # DEBUG_FS 0x00000008 // EFI File system\r
398 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
399 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
400 # DEBUG_INFO 0x00000040 // Informational debug messages\r
401 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
402 # DEBUG_VARIABLE 0x00000100 // Variable\r
403 # DEBUG_BM 0x00000400 // Boot Manager\r
404 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
405 # DEBUG_NET 0x00004000 // SNP Driver\r
406 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
407 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
408 # DEBUG_EVENT 0x00080000 // Event messages\r
409 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
410 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
411 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
412 # // significantly impact boot performance\r
413 # DEBUG_ERROR 0x80000000 // Error\r
414 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
415\r
46bb8120 416!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
417 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
418!else\r
419 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
420!endif\r
421\r
422 # This PCD is used to set the base address of the PCI express hierarchy. It\r
423 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
424 # the PCIEXBAR register.\r
425 #\r
426 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
427 # never lets the RAM below 4 GB exceed 2816 MB.\r
428 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
429\r
46bb8120 430!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
431 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
432!endif\r
433\r
434 #\r
435 # Network Pcds\r
436 #\r
437!include NetworkPkg/NetworkPcds.dsc.inc\r
438\r
3a402f96
AP
439!ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)\r
440 ## Set Xen's debug IO port for PlatformDebugLibIoPort\r
441 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0xe9\r
442!endif\r
443\r
75e85e33
AP
444 # IRQs 5, 9, 10, 11 are level-triggered\r
445 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
446\r
447 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
448 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
449\r
c8395d27
AP
450 ## Xen vlapic's frequence is 100 MHz\r
451 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000\r
452\r
e68c2a22
ID
453 # We populate DXE IPL tables with 1G pages preferably on Xen\r
454 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
455\r
75e85e33
AP
456################################################################################\r
457#\r
458# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
459#\r
460################################################################################\r
461\r
462[PcdsDynamicDefault]\r
463 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
464 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
465 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
466 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
467 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
468 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
469 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
471 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
472 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
473 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
474 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
475 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
476 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
477 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
478\r
479 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
480\r
481 # Set video resolution for text setup.\r
482 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
483 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
484\r
485 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
486 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
487 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
488\r
489 # Noexec settings for DXE.\r
490 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
75e85e33 491\r
75e85e33
AP
492 # Set memory encryption mask\r
493 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
494\r
495 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
496\r
497################################################################################\r
498#\r
499# Components Section - list of all EDK II Modules needed by this Platform.\r
500#\r
501################################################################################\r
502[Components]\r
c05de360 503 OvmfPkg/XenResetVector/XenResetVector.inf\r
75e85e33
AP
504\r
505 #\r
506 # SEC Phase modules\r
507 #\r
508 OvmfPkg/Sec/SecMain.inf {\r
509 <LibraryClasses>\r
510 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
511 }\r
512\r
513 #\r
514 # PEI Phase modules\r
515 #\r
516 MdeModulePkg/Core/Pei/PeiMain.inf\r
517 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
518 <LibraryClasses>\r
519 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
520 }\r
521 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
522 <LibraryClasses>\r
523 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
524 }\r
525 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
526 <LibraryClasses>\r
527 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
528 }\r
529 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
530\r
3b96221f 531 OvmfPkg/XenPlatformPei/XenPlatformPei.inf\r
75e85e33
AP
532 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
533 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
534\r
535 #\r
536 # DXE Phase modules\r
537 #\r
538 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
539 <LibraryClasses>\r
540 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
541 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
542 }\r
543\r
544 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
545 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
546 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
547 <LibraryClasses>\r
548 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
549 }\r
550\r
551 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
552\r
553 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
554\r
555 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
d668c8bc 556 OvmfPkg/XenTimerDxe/XenTimerDxe.inf\r
75e85e33
AP
557 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
558 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
75e85e33
AP
559 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
560 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
561 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
562 <LibraryClasses>\r
563 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
7a6172f8 564 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
75e85e33
AP
565 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
566 }\r
567 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
568 <LibraryClasses>\r
569 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
570 }\r
571 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
572 MdeModulePkg/Universal/Metronome/Metronome.inf\r
1237517b 573 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
75e85e33
AP
574 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
575 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
576 <LibraryClasses>\r
577!ifdef $(CSM_ENABLE)\r
578 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
579 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
580!endif\r
581 }\r
582 MdeModulePkg/Logo/LogoDxe.inf\r
583 MdeModulePkg/Application/UiApp/UiApp.inf {\r
584 <LibraryClasses>\r
585 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
586 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
587 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
588!ifdef $(CSM_ENABLE)\r
589 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
590 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
591!endif\r
592 }\r
833cd3e0 593 OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf\r
75e85e33
AP
594 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
595 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
596 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
05480e2f
AP
597 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
598 <LibraryClasses>\r
599 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
600 }\r
75e85e33
AP
601 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
602 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
603 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
604 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
605 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
606 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
607 <LibraryClasses>\r
608 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
609 }\r
610 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
611 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
612 <LibraryClasses>\r
613 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
614 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
615 }\r
616 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
617 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
618 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
619 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
620 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
621 FatPkg/EnhancedFatDxe/Fat.inf\r
622 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
623 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
624 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
625 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
626 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
627 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
628 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
629 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
630 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
631 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
632 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
633\r
634 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
635 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
636\r
637 #\r
638 # ISA Support\r
639 #\r
640 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
641 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
642 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
643\r
644 #\r
645 # SMBIOS Support\r
646 #\r
647 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
648 <LibraryClasses>\r
649 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
650 }\r
651 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
652\r
653 #\r
654 # ACPI Support\r
655 #\r
656 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
657 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
658 OvmfPkg/AcpiTables/AcpiTables.inf\r
659 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
660 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
661 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
662\r
663 #\r
664 # Network Support\r
665 #\r
666!include NetworkPkg/NetworkComponents.dsc.inc\r
667\r
668!if $(NETWORK_TLS_ENABLE) == TRUE\r
669 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
670 <LibraryClasses>\r
671 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
672 }\r
673!endif\r
674\r
675 #\r
676 # Usb Support\r
677 #\r
678 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
679 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
680 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
681 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
682 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
683 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
684\r
685!ifdef $(CSM_ENABLE)\r
686 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
687 <LibraryClasses>\r
688 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
689 }\r
690 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
691 OvmfPkg/Csm/Csm16/Csm16.inf\r
692!endif\r
693\r
694!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
695 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
696 <PcdsFixedAtBuild>\r
697 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
698 }\r
2d8ca4f9
VO
699 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r
700 <PcdsFixedAtBuild>\r
701 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
702 }\r
ec41733c
AB
703 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
704 <PcdsFixedAtBuild>\r
705 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
706 }\r
bcf181a3 707!endif\r
75e85e33
AP
708 ShellPkg/Application/Shell/Shell.inf {\r
709 <LibraryClasses>\r
710 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
711 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
712 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
713 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
714 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
715 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
716 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
717 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
718!if $(NETWORK_IP6_ENABLE) == TRUE\r
719 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
720!endif\r
721 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
722 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
723 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
724\r
725 <PcdsFixedAtBuild>\r
726 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
727 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
728 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
729 }\r
730\r
731 OvmfPkg/PlatformDxe/Platform.inf\r
732 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
733 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
734\r
735 #\r
736 # Variable driver stack (non-SMM)\r
737 #\r
738 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
739 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
740 <LibraryClasses>\r
741 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
742 }\r
743 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
744 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
745 <LibraryClasses>\r
746 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
747 }\r