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