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