]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfXen.dsc
UefiPayloadPkg/UefiPayloadPkgIa*.dsc: Change some PCDs type
[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
b304d280
TL
231!if $(TOOL_CHAIN_TAG) == "XCODE5"\r
232 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r
233!else\r
75e85e33 234 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
b304d280 235!endif\r
75e85e33
AP
236\r
237[LibraryClasses.common.PEI_CORE]\r
238 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
239 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
240 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
241 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
242 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
243 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
244 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
245 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
75e85e33
AP
246 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
247\r
248[LibraryClasses.common.PEIM]\r
249 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
250 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
251 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
252 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
253 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
254 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
255 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
256 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
75e85e33
AP
257 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
258 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
259 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
46bb8120 260!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
261 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
262!endif\r
263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
264 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
265 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
266 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
267 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
268\r
269[LibraryClasses.common.DXE_CORE]\r
270 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
271 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
272 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
273 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
75e85e33 274 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
46bb8120 275!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
276 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
277!endif\r
278 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
279 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
280\r
281[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
93f6df5f 283 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
75e85e33
AP
284 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
285 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
286 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
287 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
75e85e33
AP
288 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
289 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
290 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
291 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
292\r
293[LibraryClasses.common.UEFI_DRIVER]\r
294 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
93f6df5f 295 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
75e85e33
AP
296 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
297 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
298 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
75e85e33
AP
300 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
301 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
302\r
303[LibraryClasses.common.DXE_DRIVER]\r
304 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
93f6df5f 305 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
75e85e33
AP
306 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
307 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
308 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
309 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
75e85e33
AP
310 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
311 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
312 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
313 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
314 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
46bb8120 315!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
316 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
317!endif\r
318 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
319 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
320 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
321\r
322[LibraryClasses.common.UEFI_APPLICATION]\r
323 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
93f6df5f 324 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
75e85e33
AP
325 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
326 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
327 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
75e85e33
AP
328 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
329\r
330################################################################################\r
331#\r
332# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
333#\r
334################################################################################\r
335[PcdsFeatureFlag]\r
336 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
337 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
338 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
339 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
340 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
341 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
342 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
343 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
50f911d2
LE
344!ifdef $(CSM_ENABLE)\r
345 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
346!endif\r
75e85e33
AP
347\r
348[PcdsFixedAtBuild]\r
349 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
350 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
351 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
352!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
353 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
355!if $(NETWORK_TLS_ENABLE) == FALSE\r
356 # match PcdFlashNvStorageVariableSize purely for convenience\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
358!endif\r
359!endif\r
360!if $(FD_SIZE_IN_KB) == 4096\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
363!if $(NETWORK_TLS_ENABLE) == FALSE\r
364 # match PcdFlashNvStorageVariableSize purely for convenience\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
366!endif\r
367!endif\r
368!if $(NETWORK_TLS_ENABLE) == TRUE\r
369 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
370 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
371!endif\r
372\r
373 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
374\r
375 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
376\r
377 # DEBUG_INIT 0x00000001 // Initialization\r
378 # DEBUG_WARN 0x00000002 // Warnings\r
379 # DEBUG_LOAD 0x00000004 // Load events\r
380 # DEBUG_FS 0x00000008 // EFI File system\r
381 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
382 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
383 # DEBUG_INFO 0x00000040 // Informational debug messages\r
384 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
385 # DEBUG_VARIABLE 0x00000100 // Variable\r
386 # DEBUG_BM 0x00000400 // Boot Manager\r
387 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
388 # DEBUG_NET 0x00004000 // SNP Driver\r
389 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
390 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
391 # DEBUG_EVENT 0x00080000 // Event messages\r
392 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
393 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
394 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
395 # // significantly impact boot performance\r
396 # DEBUG_ERROR 0x80000000 // Error\r
397 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
398\r
46bb8120 399!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
400 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
401!else\r
402 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
403!endif\r
404\r
405 # This PCD is used to set the base address of the PCI express hierarchy. It\r
406 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
407 # the PCIEXBAR register.\r
408 #\r
409 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
410 # never lets the RAM below 4 GB exceed 2816 MB.\r
411 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
412\r
46bb8120 413!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
75e85e33
AP
414 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
415!endif\r
416\r
417 #\r
418 # Network Pcds\r
419 #\r
420!include NetworkPkg/NetworkPcds.dsc.inc\r
421\r
3a402f96
AP
422!ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)\r
423 ## Set Xen's debug IO port for PlatformDebugLibIoPort\r
424 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0xe9\r
425!endif\r
426\r
75e85e33
AP
427 # IRQs 5, 9, 10, 11 are level-triggered\r
428 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
429\r
430 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
431 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
432\r
c8395d27
AP
433 ## Xen vlapic's frequence is 100 MHz\r
434 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000\r
435\r
75e85e33
AP
436################################################################################\r
437#\r
438# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
439#\r
440################################################################################\r
441\r
442[PcdsDynamicDefault]\r
443 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
446 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
448 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
449 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
450 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
451 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
452 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
453 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
454 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
455 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
456 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
457 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
458\r
459 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
460\r
461 # Set video resolution for text setup.\r
462 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
463 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
464\r
465 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
466 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
467 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
468\r
469 # Noexec settings for DXE.\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
75e85e33 471\r
75e85e33
AP
472 # Set memory encryption mask\r
473 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
474\r
475 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
476\r
477################################################################################\r
478#\r
479# Components Section - list of all EDK II Modules needed by this Platform.\r
480#\r
481################################################################################\r
482[Components]\r
c05de360 483 OvmfPkg/XenResetVector/XenResetVector.inf\r
75e85e33
AP
484\r
485 #\r
486 # SEC Phase modules\r
487 #\r
488 OvmfPkg/Sec/SecMain.inf {\r
489 <LibraryClasses>\r
490 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
491 }\r
492\r
493 #\r
494 # PEI Phase modules\r
495 #\r
496 MdeModulePkg/Core/Pei/PeiMain.inf\r
497 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
498 <LibraryClasses>\r
499 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
500 }\r
501 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
502 <LibraryClasses>\r
503 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
504 }\r
505 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
506 <LibraryClasses>\r
507 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
508 }\r
509 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
510\r
3b96221f 511 OvmfPkg/XenPlatformPei/XenPlatformPei.inf\r
75e85e33
AP
512 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
513 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
514\r
515 #\r
516 # DXE Phase modules\r
517 #\r
518 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
519 <LibraryClasses>\r
520 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
521 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
522 }\r
523\r
524 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
525 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
526 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
527 <LibraryClasses>\r
528 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
529 }\r
530\r
531 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
532\r
533 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
534\r
535 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
d668c8bc 536 OvmfPkg/XenTimerDxe/XenTimerDxe.inf\r
75e85e33
AP
537 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
538 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
75e85e33
AP
539 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
540 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
541 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
542 <LibraryClasses>\r
543 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
544 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
545 }\r
546 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
547 <LibraryClasses>\r
548 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
549 }\r
550 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
551 MdeModulePkg/Universal/Metronome/Metronome.inf\r
1237517b 552 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
75e85e33
AP
553 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
554 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
555 <LibraryClasses>\r
556!ifdef $(CSM_ENABLE)\r
557 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
558 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
559!endif\r
560 }\r
561 MdeModulePkg/Logo/LogoDxe.inf\r
562 MdeModulePkg/Application/UiApp/UiApp.inf {\r
563 <LibraryClasses>\r
564 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
565 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
566 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
567!ifdef $(CSM_ENABLE)\r
568 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
569 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
570!endif\r
571 }\r
833cd3e0 572 OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf\r
75e85e33
AP
573 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
574 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
575 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
05480e2f
AP
576 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
577 <LibraryClasses>\r
578 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
579 }\r
75e85e33
AP
580 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
581 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
582 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
583 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
584 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
585 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
586 <LibraryClasses>\r
587 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
588 }\r
589 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
590 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
591 <LibraryClasses>\r
592 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
593 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
594 }\r
595 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
596 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
597 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
598 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
599 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
600 FatPkg/EnhancedFatDxe/Fat.inf\r
601 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
602 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
603 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
604 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
605 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
606 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
607 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
608 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
609 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
610 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
611 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
612\r
613 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
614 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
615\r
616 #\r
617 # ISA Support\r
618 #\r
619 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
620 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
621 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
622\r
623 #\r
624 # SMBIOS Support\r
625 #\r
626 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
627 <LibraryClasses>\r
628 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
629 }\r
630 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
631\r
632 #\r
633 # ACPI Support\r
634 #\r
635 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
636 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
637 OvmfPkg/AcpiTables/AcpiTables.inf\r
638 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
639 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
640 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
641\r
642 #\r
643 # Network Support\r
644 #\r
645!include NetworkPkg/NetworkComponents.dsc.inc\r
646\r
647!if $(NETWORK_TLS_ENABLE) == TRUE\r
648 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
649 <LibraryClasses>\r
650 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
651 }\r
652!endif\r
653\r
654 #\r
655 # Usb Support\r
656 #\r
657 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
658 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
659 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
660 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
661 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
662 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
663\r
664!ifdef $(CSM_ENABLE)\r
665 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
666 <LibraryClasses>\r
667 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
668 }\r
669 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
670 OvmfPkg/Csm/Csm16/Csm16.inf\r
671!endif\r
672\r
673!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
674 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
675 <PcdsFixedAtBuild>\r
676 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
677 }\r
ec41733c
AB
678 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
679 <PcdsFixedAtBuild>\r
680 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
681 }\r
bcf181a3 682!endif\r
75e85e33
AP
683 ShellPkg/Application/Shell/Shell.inf {\r
684 <LibraryClasses>\r
685 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
686 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
687 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
688 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
689 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
690 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
691 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
692 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
693!if $(NETWORK_IP6_ENABLE) == TRUE\r
694 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
695!endif\r
696 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
697 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
698 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
699\r
700 <PcdsFixedAtBuild>\r
701 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
702 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
703 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
704 }\r
705\r
706 OvmfPkg/PlatformDxe/Platform.inf\r
707 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
708 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
709\r
710 #\r
711 # Variable driver stack (non-SMM)\r
712 #\r
713 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
714 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
715 <LibraryClasses>\r
716 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
717 }\r
718 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
719 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
720 <LibraryClasses>\r
721 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
722 }\r