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