]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfXen.dsc
OvmfPkg: Move XenRealTimeClockLib from ArmVirtPkg
[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
f496443e 197 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
833cd3e0 198 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r
75e85e33
AP
199\r
200 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
201 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
202\r
203[LibraryClasses.common]\r
204 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
205\r
206[LibraryClasses.common.SEC]\r
75e85e33
AP
207 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
208!ifdef $(DEBUG_ON_SERIAL_PORT)\r
209 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
210!else\r
211 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
212!endif\r
213 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
214 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
215!ifdef $(SOURCE_DEBUG_ENABLE)\r
216 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
217!endif\r
218 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
219 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
220 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
221 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
222 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
223\r
224[LibraryClasses.common.PEI_CORE]\r
225 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
226 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
227 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
228 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
229 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
230 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
231 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
232 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
233!ifdef $(DEBUG_ON_SERIAL_PORT)\r
234 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
235!else\r
236 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
237!endif\r
238 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
239\r
240[LibraryClasses.common.PEIM]\r
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
242 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
243 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
245 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
246 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
247 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
248 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
249!ifdef $(DEBUG_ON_SERIAL_PORT)\r
250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
251!else\r
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
253!endif\r
254 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
255 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
256 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
257!ifdef $(SOURCE_DEBUG_ENABLE)\r
258 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
259!endif\r
260 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
261 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
262 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
263 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
264 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
265\r
266[LibraryClasses.common.DXE_CORE]\r
267 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
268 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
269 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
270 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
271!ifdef $(DEBUG_ON_SERIAL_PORT)\r
272 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
273!else\r
274 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
275!endif\r
276 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
277!ifdef $(SOURCE_DEBUG_ENABLE)\r
278 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
279!endif\r
280 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
281 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
282\r
283[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
284 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
75e85e33
AP
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
75e85e33
AP
301 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
302 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
303 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
304 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
305!ifdef $(DEBUG_ON_SERIAL_PORT)\r
306 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
307!else\r
308 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
309!endif\r
310 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
311 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
312\r
313[LibraryClasses.common.DXE_DRIVER]\r
314 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.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
318 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
319!ifdef $(DEBUG_ON_SERIAL_PORT)\r
320 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
321!else\r
322 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
323!endif\r
324 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
325 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
326 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
327 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
328 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
329!ifdef $(SOURCE_DEBUG_ENABLE)\r
330 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
331!endif\r
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
333 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
334 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
335\r
336[LibraryClasses.common.UEFI_APPLICATION]\r
337 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
75e85e33
AP
338 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
339 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
340 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
341!ifdef $(DEBUG_ON_SERIAL_PORT)\r
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
343!else\r
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
345!endif\r
346 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
347\r
348################################################################################\r
349#\r
350# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
351#\r
352################################################################################\r
353[PcdsFeatureFlag]\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
355 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
356 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
358 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
359 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
360 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
362\r
363[PcdsFixedAtBuild]\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
366 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
367!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
368 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
369 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
370!if $(NETWORK_TLS_ENABLE) == FALSE\r
371 # match PcdFlashNvStorageVariableSize purely for convenience\r
372 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
373!endif\r
374!endif\r
375!if $(FD_SIZE_IN_KB) == 4096\r
376 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
378!if $(NETWORK_TLS_ENABLE) == FALSE\r
379 # match PcdFlashNvStorageVariableSize purely for convenience\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
381!endif\r
382!endif\r
383!if $(NETWORK_TLS_ENABLE) == TRUE\r
384 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
385 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
386!endif\r
387\r
388 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
389\r
390 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
391\r
392 # DEBUG_INIT 0x00000001 // Initialization\r
393 # DEBUG_WARN 0x00000002 // Warnings\r
394 # DEBUG_LOAD 0x00000004 // Load events\r
395 # DEBUG_FS 0x00000008 // EFI File system\r
396 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
397 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
398 # DEBUG_INFO 0x00000040 // Informational debug messages\r
399 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
400 # DEBUG_VARIABLE 0x00000100 // Variable\r
401 # DEBUG_BM 0x00000400 // Boot Manager\r
402 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
403 # DEBUG_NET 0x00004000 // SNP Driver\r
404 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
405 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
406 # DEBUG_EVENT 0x00080000 // Event messages\r
407 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
408 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
409 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
410 # // significantly impact boot performance\r
411 # DEBUG_ERROR 0x80000000 // Error\r
412 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
413\r
414!ifdef $(SOURCE_DEBUG_ENABLE)\r
415 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
416!else\r
417 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
418!endif\r
419\r
420 # This PCD is used to set the base address of the PCI express hierarchy. It\r
421 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
422 # the PCIEXBAR register.\r
423 #\r
424 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
425 # never lets the RAM below 4 GB exceed 2816 MB.\r
426 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
427\r
428!ifdef $(SOURCE_DEBUG_ENABLE)\r
429 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
430!endif\r
431\r
432 #\r
433 # Network Pcds\r
434 #\r
435!include NetworkPkg/NetworkPcds.dsc.inc\r
436\r
437 # IRQs 5, 9, 10, 11 are level-triggered\r
438 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
439\r
440 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
441 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
442\r
c8395d27
AP
443 ## Xen vlapic's frequence is 100 MHz\r
444 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000\r
445\r
75e85e33
AP
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
d668c8bc 551 OvmfPkg/XenTimerDxe/XenTimerDxe.inf\r
75e85e33
AP
552 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
553 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
75e85e33
AP
554 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
555 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
556 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
557 <LibraryClasses>\r
558 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
559 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
560 }\r
561 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
562 <LibraryClasses>\r
563 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
564 }\r
565 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
566 MdeModulePkg/Universal/Metronome/Metronome.inf\r
567 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
568 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
569 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
570 <LibraryClasses>\r
571!ifdef $(CSM_ENABLE)\r
572 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
573 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
574!endif\r
575 }\r
576 MdeModulePkg/Logo/LogoDxe.inf\r
577 MdeModulePkg/Application/UiApp/UiApp.inf {\r
578 <LibraryClasses>\r
579 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
580 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
581 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
582!ifdef $(CSM_ENABLE)\r
583 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
584 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
585!endif\r
586 }\r
833cd3e0 587 OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf\r
75e85e33
AP
588 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
589 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
590 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
05480e2f
AP
591 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
592 <LibraryClasses>\r
593 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
594 }\r
75e85e33
AP
595 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
596 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
597 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
598 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
599 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
600 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
601 <LibraryClasses>\r
602 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
603 }\r
604 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
605 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
606 <LibraryClasses>\r
607 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
609 }\r
610 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
611 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
612 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
613 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
614 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
615 FatPkg/EnhancedFatDxe/Fat.inf\r
616 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
617 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
618 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
619 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
620 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
621 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
622 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
623 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
624 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
625 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
626 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
627\r
628 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
629 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
630\r
631 #\r
632 # ISA Support\r
633 #\r
634 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
635 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
636 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
637\r
638 #\r
639 # SMBIOS Support\r
640 #\r
641 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
642 <LibraryClasses>\r
643 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
644 }\r
645 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
646\r
647 #\r
648 # ACPI Support\r
649 #\r
650 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
651 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
652 OvmfPkg/AcpiTables/AcpiTables.inf\r
653 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
654 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
655 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
656\r
657 #\r
658 # Network Support\r
659 #\r
660!include NetworkPkg/NetworkComponents.dsc.inc\r
661\r
662!if $(NETWORK_TLS_ENABLE) == TRUE\r
663 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
664 <LibraryClasses>\r
665 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
666 }\r
667!endif\r
668\r
669 #\r
670 # Usb Support\r
671 #\r
672 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
673 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
674 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
675 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
676 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
677 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
678\r
679!ifdef $(CSM_ENABLE)\r
680 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
681 <LibraryClasses>\r
682 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
683 }\r
684 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
685 OvmfPkg/Csm/Csm16/Csm16.inf\r
686!endif\r
687\r
688!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
689 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
690 <PcdsFixedAtBuild>\r
691 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
692 }\r
693!endif\r
694 ShellPkg/Application/Shell/Shell.inf {\r
695 <LibraryClasses>\r
696 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
697 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
698 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
699 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
700 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
701 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
702 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
703 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
704!if $(NETWORK_IP6_ENABLE) == TRUE\r
705 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
706!endif\r
707 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
708 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
709 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
710\r
711 <PcdsFixedAtBuild>\r
712 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
713 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
714 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
715 }\r
716\r
717 OvmfPkg/PlatformDxe/Platform.inf\r
718 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
719 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
720\r
721 #\r
722 # Variable driver stack (non-SMM)\r
723 #\r
724 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
725 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
726 <LibraryClasses>\r
727 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
728 }\r
729 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
730 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
731 <LibraryClasses>\r
732 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
733 }\r