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