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