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