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