]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/PvScsiDxe: Create empty driver
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
... / ...
CommitLineData
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#\r
7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8#\r
9##\r
10\r
11################################################################################\r
12#\r
13# Defines Section - statements that will be processed to create a Makefile.\r
14#\r
15################################################################################\r
16[Defines]\r
17 PLATFORM_NAME = Ovmf\r
18 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
19 PLATFORM_VERSION = 0.1\r
20 DSC_SPECIFICATION = 0x00010005\r
21 OUTPUT_DIRECTORY = Build/OvmfIa32\r
22 SUPPORTED_ARCHITECTURES = IA32\r
23 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
24 SKUID_IDENTIFIER = DEFAULT\r
25 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf\r
26\r
27 #\r
28 # Defines for default states. These can be changed on the command line.\r
29 # -D FLAG=VALUE\r
30 #\r
31 DEFINE SECURE_BOOT_ENABLE = FALSE\r
32 DEFINE SMM_REQUIRE = FALSE\r
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
34 DEFINE TPM_ENABLE = FALSE\r
35 DEFINE TPM_CONFIG_ENABLE = FALSE\r
36 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE\r
37\r
38 #\r
39 # Network definition\r
40 #\r
41 DEFINE NETWORK_TLS_ENABLE = FALSE\r
42 DEFINE NETWORK_IP6_ENABLE = FALSE\r
43 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
44 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
45\r
46!include NetworkPkg/NetworkDefines.dsc.inc\r
47\r
48 #\r
49 # Device drivers\r
50 #\r
51 DEFINE PVSCSI_ENABLE = TRUE\r
52\r
53 #\r
54 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
55 # one of the supported values, in place of any of the convenience macros, is\r
56 # permitted.\r
57 #\r
58!ifdef $(FD_SIZE_1MB)\r
59 DEFINE FD_SIZE_IN_KB = 1024\r
60!else\r
61!ifdef $(FD_SIZE_2MB)\r
62 DEFINE FD_SIZE_IN_KB = 2048\r
63!else\r
64!ifdef $(FD_SIZE_4MB)\r
65 DEFINE FD_SIZE_IN_KB = 4096\r
66!else\r
67 DEFINE FD_SIZE_IN_KB = 4096\r
68!endif\r
69!endif\r
70!endif\r
71\r
72[BuildOptions]\r
73 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
74 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
75 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
76!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r
77 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
78!endif\r
79\r
80 #\r
81 # Disable deprecated APIs.\r
82 #\r
83 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
84 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
85 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
86\r
87[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
88 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
89 XCODE:*_*_*_DLINK_FLAGS =\r
90 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
91\r
92# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
93# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
94[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
95 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
96 XCODE:*_*_*_DLINK_FLAGS =\r
97 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
98\r
99################################################################################\r
100#\r
101# SKU Identification section - list of all SKU IDs supported by this Platform.\r
102#\r
103################################################################################\r
104[SkuIds]\r
105 0|DEFAULT\r
106\r
107################################################################################\r
108#\r
109# Library Class section - list of all Library Classes needed by this Platform.\r
110#\r
111################################################################################\r
112[LibraryClasses]\r
113 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
114 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
115 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
116 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
117 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
118 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
119 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
120 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
121 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
122 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
123 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
124 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
125 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
126 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
127 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
128 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
129 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
130 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
131 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
132 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
133 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
134 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
135 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
136 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
137 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
138 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
139 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
140 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
141 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
142 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
143 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
144 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
145 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
146 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
147 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
148 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
149 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
150 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
151 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
152 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
153 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
154 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
155 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
156 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
157 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
158 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
159 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
160 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
161 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
162 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf\r
163!if $(SMM_REQUIRE) == FALSE\r
164 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
165!endif\r
166 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
167 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
168\r
169!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
170 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
171 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
172!else\r
173 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
174 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
175!endif\r
176\r
177 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
178 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
179 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
180\r
181 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
182!if $(NETWORK_TLS_ENABLE) == TRUE\r
183 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
184!else\r
185 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
186!endif\r
187\r
188!if $(SECURE_BOOT_ENABLE) == TRUE\r
189 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
190 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
191!else\r
192 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
193!endif\r
194 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
195\r
196\r
197 #\r
198 # Network libraries\r
199 #\r
200!include NetworkPkg/NetworkLibs.dsc.inc\r
201\r
202!if $(NETWORK_TLS_ENABLE) == TRUE\r
203 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
204!endif\r
205\r
206 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
207 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
208 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
209 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
210 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
211 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
212 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
213\r
214!if $(TPM_ENABLE) == TRUE\r
215 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
216 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
217 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
218 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
219 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
220!else\r
221 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
222 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
223!endif\r
224\r
225[LibraryClasses.common]\r
226 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
227\r
228[LibraryClasses.common.SEC]\r
229 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
230 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
231!ifdef $(DEBUG_ON_SERIAL_PORT)\r
232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
233!else\r
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
235!endif\r
236 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
237 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
238!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
239 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
240!endif\r
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
242 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
243 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
245 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
246\r
247[LibraryClasses.common.PEI_CORE]\r
248 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
249 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
252 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
253 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
254 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
255 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
256!ifdef $(DEBUG_ON_SERIAL_PORT)\r
257 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
258!else\r
259 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
260!endif\r
261 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
262\r
263[LibraryClasses.common.PEIM]\r
264 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
265 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
266 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
267 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
268 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
269 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
270 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
271 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.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 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
278 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
279 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
280!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
281 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
282!endif\r
283 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
284 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
285 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
286 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
287 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
288\r
289!if $(TPM_ENABLE) == TRUE\r
290 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
291 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
292 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
293!endif\r
294\r
295[LibraryClasses.common.DXE_CORE]\r
296 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
297 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
298 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
300!ifdef $(DEBUG_ON_SERIAL_PORT)\r
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
302!else\r
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
304!endif\r
305 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
306!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
307 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
308!endif\r
309 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
311\r
312[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
314 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
315 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
316 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
317 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
318 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
319!ifdef $(DEBUG_ON_SERIAL_PORT)\r
320 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
321!else\r
322 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
323!endif\r
324 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
325 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
326 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
327 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
328\r
329[LibraryClasses.common.UEFI_DRIVER]\r
330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
331 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
333 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
334 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
336!ifdef $(DEBUG_ON_SERIAL_PORT)\r
337 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
338!else\r
339 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
340!endif\r
341 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
342 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
343\r
344[LibraryClasses.common.DXE_DRIVER]\r
345 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
346 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
347 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
348 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
349 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
350 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
351!ifdef $(DEBUG_ON_SERIAL_PORT)\r
352 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
353!else\r
354 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
355!endif\r
356 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
357 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
358 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
359 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
360!if $(SMM_REQUIRE) == TRUE\r
361 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
362!else\r
363 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
364!endif\r
365!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
366 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
367!endif\r
368 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
369 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
370 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
371!if $(SECURE_BOOT_ENABLE) == TRUE\r
372 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf\r
373!else\r
374 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r
375!endif\r
376!if $(TPM_ENABLE) == TRUE\r
377 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
378 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
379!endif\r
380\r
381[LibraryClasses.common.UEFI_APPLICATION]\r
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
383 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
384 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
385 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
386 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
387!ifdef $(DEBUG_ON_SERIAL_PORT)\r
388 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
389!else\r
390 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
391!endif\r
392 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
393\r
394[LibraryClasses.common.DXE_SMM_DRIVER]\r
395 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
396 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
397 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
398 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
399 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
400 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
401 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
402 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
403!ifdef $(DEBUG_ON_SERIAL_PORT)\r
404 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
405!else\r
406 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
407!endif\r
408 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
409!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
410 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
411!endif\r
412 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
413 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
414\r
415[LibraryClasses.common.SMM_CORE]\r
416 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
417 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
418 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
419 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
420 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
421 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
422 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
423 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
424!ifdef $(DEBUG_ON_SERIAL_PORT)\r
425 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
426!else\r
427 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
428!endif\r
429 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
430\r
431################################################################################\r
432#\r
433# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
434#\r
435################################################################################\r
436[PcdsFeatureFlag]\r
437 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
438 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
439 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
440 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
441 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
442 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
443 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
445!ifdef $(CSM_ENABLE)\r
446 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
447!endif\r
448!if $(SMM_REQUIRE) == TRUE\r
449 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
450 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE\r
451 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE\r
452!endif\r
453\r
454[PcdsFixedAtBuild]\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
456!if $(SMM_REQUIRE) == FALSE\r
457 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
458!endif\r
459 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
460!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
461 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
462 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
463!if $(NETWORK_TLS_ENABLE) == FALSE\r
464 # match PcdFlashNvStorageVariableSize purely for convenience\r
465 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
466!endif\r
467!endif\r
468!if $(FD_SIZE_IN_KB) == 4096\r
469 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
471!if $(NETWORK_TLS_ENABLE) == FALSE\r
472 # match PcdFlashNvStorageVariableSize purely for convenience\r
473 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
474!endif\r
475!endif\r
476!if $(NETWORK_TLS_ENABLE) == TRUE\r
477 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
478 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
479!endif\r
480\r
481 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
482\r
483 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
484\r
485 # DEBUG_INIT 0x00000001 // Initialization\r
486 # DEBUG_WARN 0x00000002 // Warnings\r
487 # DEBUG_LOAD 0x00000004 // Load events\r
488 # DEBUG_FS 0x00000008 // EFI File system\r
489 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
490 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
491 # DEBUG_INFO 0x00000040 // Informational debug messages\r
492 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
493 # DEBUG_VARIABLE 0x00000100 // Variable\r
494 # DEBUG_BM 0x00000400 // Boot Manager\r
495 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
496 # DEBUG_NET 0x00004000 // SNP Driver\r
497 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
498 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
499 # DEBUG_EVENT 0x00080000 // Event messages\r
500 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
501 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
502 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
503 # // significantly impact boot performance\r
504 # DEBUG_ERROR 0x80000000 // Error\r
505 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
506\r
507!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
508 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
509!else\r
510 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
511!endif\r
512\r
513 # This PCD is used to set the base address of the PCI express hierarchy. It\r
514 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
515 # the PCIEXBAR register.\r
516 #\r
517 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
518 # never lets the RAM below 4 GB exceed 2816 MB.\r
519 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
520\r
521!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
522 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
523!endif\r
524\r
525 #\r
526 # Network Pcds\r
527 #\r
528!include NetworkPkg/NetworkPcds.dsc.inc\r
529\r
530!if $(SMM_REQUIRE) == TRUE\r
531 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
532!endif\r
533\r
534 # IRQs 5, 9, 10, 11 are level-triggered\r
535 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
536\r
537 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
538 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
539\r
540################################################################################\r
541#\r
542# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
543#\r
544################################################################################\r
545\r
546[PcdsDynamicDefault]\r
547 # only set when\r
548 # ($(SMM_REQUIRE) == FALSE)\r
549 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
550\r
551!if $(SMM_REQUIRE) == FALSE\r
552 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
553 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
554 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
555!endif\r
556 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
557 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
558 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
559 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
560 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
561 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
562 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
563 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
564 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
565\r
566 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
567\r
568 # Set video resolution for text setup.\r
569 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
570 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
571\r
572 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
573 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
574 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
575\r
576 # Noexec settings for DXE.\r
577 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
578 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
579\r
580 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
581 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
582 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r
583\r
584 # Set memory encryption mask\r
585 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
586\r
587!if $(SMM_REQUIRE) == TRUE\r
588 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
589 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE\r
590 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
591 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
592!endif\r
593\r
594 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
595\r
596!if $(TPM_ENABLE) == TRUE\r
597 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
598!endif\r
599\r
600[PcdsDynamicHii]\r
601!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE\r
602 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
603 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
604!endif\r
605\r
606################################################################################\r
607#\r
608# Components Section - list of all EDK II Modules needed by this Platform.\r
609#\r
610################################################################################\r
611[Components]\r
612 OvmfPkg/ResetVector/ResetVector.inf\r
613\r
614 #\r
615 # SEC Phase modules\r
616 #\r
617 OvmfPkg/Sec/SecMain.inf {\r
618 <LibraryClasses>\r
619 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
620 }\r
621\r
622 #\r
623 # PEI Phase modules\r
624 #\r
625 MdeModulePkg/Core/Pei/PeiMain.inf\r
626 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
627 <LibraryClasses>\r
628 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
629 }\r
630 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
631 <LibraryClasses>\r
632 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
633 }\r
634 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
635 <LibraryClasses>\r
636 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
637 }\r
638 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
639\r
640 OvmfPkg/PlatformPei/PlatformPei.inf\r
641 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
642 <LibraryClasses>\r
643!if $(SMM_REQUIRE) == TRUE\r
644 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
645!endif\r
646 }\r
647!if $(SMM_REQUIRE) == TRUE\r
648 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
649 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
650 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
651!endif\r
652 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
653\r
654!if $(TPM_ENABLE) == TRUE\r
655 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
656 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
657 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
658 <LibraryClasses>\r
659 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
660 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
661 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
662 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
663 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
664 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
665 }\r
666!endif\r
667\r
668 #\r
669 # DXE Phase modules\r
670 #\r
671 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
672 <LibraryClasses>\r
673 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
674 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
675 }\r
676\r
677 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
678 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
679 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
680 <LibraryClasses>\r
681 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
682 }\r
683\r
684 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
685\r
686 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
687 <LibraryClasses>\r
688!if $(SECURE_BOOT_ENABLE) == TRUE\r
689 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
690!endif\r
691!if $(TPM_ENABLE) == TRUE\r
692 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
693 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
694!endif\r
695 }\r
696\r
697 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
698 OvmfPkg/8259InterruptControllerDxe/8259.inf\r
699 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
700 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
701 OvmfPkg/8254TimerDxe/8254Timer.inf\r
702 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
703 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
704 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
705 <LibraryClasses>\r
706 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
707 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
708 }\r
709 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
710 <LibraryClasses>\r
711 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
712 }\r
713 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
714 MdeModulePkg/Universal/Metronome/Metronome.inf\r
715 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
716 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
717 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
718 <LibraryClasses>\r
719!ifdef $(CSM_ENABLE)\r
720 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
721 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
722!endif\r
723 }\r
724 MdeModulePkg/Logo/LogoDxe.inf\r
725 MdeModulePkg/Application/UiApp/UiApp.inf {\r
726 <LibraryClasses>\r
727 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
728 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
729 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
730!ifdef $(CSM_ENABLE)\r
731 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
732 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
733!endif\r
734 }\r
735 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf\r
736 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
737 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
738 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
739 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
740 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
741 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
742 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
743 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
744!if $(PVSCSI_ENABLE) == TRUE\r
745 OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r
746!endif\r
747 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
748 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
749 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
750 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
751 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
752 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
753 <LibraryClasses>\r
754 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
755 }\r
756 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
757 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
758 <LibraryClasses>\r
759 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
760 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
761 }\r
762 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
763 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
764 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
765 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
766 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
767 FatPkg/EnhancedFatDxe/Fat.inf\r
768 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
769 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
770 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
771 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
772 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
773 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
774 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
775 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
776 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
777 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
778 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
779\r
780!ifndef $(CSM_ENABLE)\r
781 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
782!endif\r
783 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
784 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
785\r
786 #\r
787 # ISA Support\r
788 #\r
789 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
790 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
791 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
792\r
793 #\r
794 # SMBIOS Support\r
795 #\r
796 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
797 <LibraryClasses>\r
798 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
799 }\r
800 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
801\r
802 #\r
803 # ACPI Support\r
804 #\r
805 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
806 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
807 OvmfPkg/AcpiTables/AcpiTables.inf\r
808 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
809 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
810 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
811\r
812 #\r
813 # Network Support\r
814 #\r
815!include NetworkPkg/NetworkComponents.dsc.inc\r
816\r
817!if $(NETWORK_TLS_ENABLE) == TRUE\r
818 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
819 <LibraryClasses>\r
820 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
821 }\r
822!endif\r
823 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
824\r
825 #\r
826 # Usb Support\r
827 #\r
828 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
829 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
830 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
831 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
832 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
833 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
834\r
835!ifdef $(CSM_ENABLE)\r
836 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
837 <LibraryClasses>\r
838 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
839 }\r
840 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
841 OvmfPkg/Csm/Csm16/Csm16.inf\r
842!endif\r
843\r
844!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
845 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
846 <PcdsFixedAtBuild>\r
847 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
848 }\r
849!endif\r
850 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
851 <PcdsFixedAtBuild>\r
852 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
853 }\r
854 ShellPkg/Application/Shell/Shell.inf {\r
855 <LibraryClasses>\r
856 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
857 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
858 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
859 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
860 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
861 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
862 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
863 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
864!if $(NETWORK_IP6_ENABLE) == TRUE\r
865 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
866!endif\r
867 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
868 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
869 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
870\r
871 <PcdsFixedAtBuild>\r
872 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
873 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
874 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
875 }\r
876\r
877!if $(SECURE_BOOT_ENABLE) == TRUE\r
878 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
879 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
880!endif\r
881\r
882 OvmfPkg/PlatformDxe/Platform.inf\r
883 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
884\r
885!if $(SMM_REQUIRE) == TRUE\r
886 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
887 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
888 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
889\r
890 #\r
891 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
892 #\r
893 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
894\r
895 #\r
896 # SMM_CORE\r
897 #\r
898 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
899\r
900 #\r
901 # Privileged drivers (DXE_SMM_DRIVER modules)\r
902 #\r
903 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf\r
904 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
905 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
906 <LibraryClasses>\r
907 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
908 }\r
909 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
910 <LibraryClasses>\r
911 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf\r
912 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
913 }\r
914\r
915 #\r
916 # Variable driver stack (SMM)\r
917 #\r
918 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
919 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
920 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
921 <LibraryClasses>\r
922 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
923 }\r
924 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
925\r
926!else\r
927\r
928 #\r
929 # Variable driver stack (non-SMM)\r
930 #\r
931 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
932 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
933 <LibraryClasses>\r
934 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
935 }\r
936 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
937 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
938 <LibraryClasses>\r
939 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
940 }\r
941!endif\r
942\r
943 #\r
944 # TPM support\r
945 #\r
946!if $(TPM_ENABLE) == TRUE\r
947 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
948 <LibraryClasses>\r
949 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
950 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
951 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
952 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
953 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
954 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
955 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
956 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
957 }\r
958!if $(TPM_CONFIG_ENABLE) == TRUE\r
959 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
960!endif\r
961 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {\r
962 <LibraryClasses>\r
963 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
964 }\r
965!endif\r
966\r
967!if $(LOAD_X64_ON_IA32_ENABLE) == TRUE\r
968 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf\r
969!endif\r