]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfXen.dsc
OvmfPkg/XenAcpiPlatformDxe: create from AcpiPlatformDxe
[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
e68c2a22
ID
450 # We populate DXE IPL tables with 1G pages preferably on Xen\r
451 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
452\r
75e85e33
AP
453################################################################################\r
454#\r
455# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
456#\r
457################################################################################\r
458\r
459[PcdsDynamicDefault]\r
460 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
461 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
462 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
463 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
464 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
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/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
558 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
559 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
560 <LibraryClasses>\r
561 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
7a6172f8 562 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
75e85e33
AP
563 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
564 }\r
565 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
566 <LibraryClasses>\r
567 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
568 }\r
569 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
570 MdeModulePkg/Universal/Metronome/Metronome.inf\r
1237517b 571 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
75e85e33
AP
572 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
573 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
574 <LibraryClasses>\r
575!ifdef $(CSM_ENABLE)\r
576 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
577 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
578!endif\r
579 }\r
580 MdeModulePkg/Logo/LogoDxe.inf\r
581 MdeModulePkg/Application/UiApp/UiApp.inf {\r
582 <LibraryClasses>\r
583 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
584 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
585 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
586!ifdef $(CSM_ENABLE)\r
587 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
588 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
589!endif\r
590 }\r
833cd3e0 591 OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf\r
75e85e33
AP
592 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
593 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
594 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
05480e2f
AP
595 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
596 <LibraryClasses>\r
597 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
598 }\r
75e85e33
AP
599 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
600 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
601 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
602 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
603 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
604 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
605 <LibraryClasses>\r
606 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
607 }\r
608 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
609 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
610 <LibraryClasses>\r
611 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
613 }\r
614 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
615 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
616 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
617 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
618 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
619 FatPkg/EnhancedFatDxe/Fat.inf\r
620 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
621 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
622 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
623 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
624 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
625 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
626 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
627 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
628 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
629 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
630 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
631\r
632 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
633 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
634\r
635 #\r
636 # ISA Support\r
637 #\r
638 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
639 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
640 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
641\r
642 #\r
643 # SMBIOS Support\r
644 #\r
645 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
646 <LibraryClasses>\r
647 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
648 }\r
649 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
650\r
651 #\r
652 # ACPI Support\r
653 #\r
654 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
c9bba52f 655 OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf\r
75e85e33
AP
656 OvmfPkg/AcpiTables/AcpiTables.inf\r
657 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
658 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
659 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
660\r
661 #\r
662 # Network Support\r
663 #\r
664!include NetworkPkg/NetworkComponents.dsc.inc\r
665\r
666!if $(NETWORK_TLS_ENABLE) == TRUE\r
667 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
668 <LibraryClasses>\r
669 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
670 }\r
671!endif\r
672\r
673 #\r
674 # Usb Support\r
675 #\r
676 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
677 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
678 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
679 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
680 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
681 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
682\r
683!ifdef $(CSM_ENABLE)\r
684 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
685 <LibraryClasses>\r
686 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
687 }\r
688 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
689 OvmfPkg/Csm/Csm16/Csm16.inf\r
690!endif\r
691\r
692!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
693 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
694 <PcdsFixedAtBuild>\r
695 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
696 }\r
2d8ca4f9
VO
697 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r
698 <PcdsFixedAtBuild>\r
699 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
700 }\r
ec41733c
AB
701 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
702 <PcdsFixedAtBuild>\r
703 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
704 }\r
bcf181a3 705!endif\r
75e85e33
AP
706 ShellPkg/Application/Shell/Shell.inf {\r
707 <LibraryClasses>\r
708 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
709 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
710 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
711 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
712 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
713 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
714 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
715 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
716!if $(NETWORK_IP6_ENABLE) == TRUE\r
717 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
718!endif\r
719 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
720 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
721 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
722\r
723 <PcdsFixedAtBuild>\r
724 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
725 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
726 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
727 }\r
728\r
729 OvmfPkg/PlatformDxe/Platform.inf\r
730 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
731 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
732\r
733 #\r
734 # Variable driver stack (non-SMM)\r
735 #\r
736 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
737 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
738 <LibraryClasses>\r
739 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
740 }\r
741 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
742 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
743 <LibraryClasses>\r
744 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
745 }\r