]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgX64.dsc
MdeModulePkg/SdMmcPciHcDxe: allow HC capabilities to be overridden
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Ovmf\r
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
25 PLATFORM_VERSION = 0.1\r
26 DSC_SPECIFICATION = 0x00010005\r
27 OUTPUT_DIRECTORY = Build/OvmfX64\r
28 SUPPORTED_ARCHITECTURES = X64\r
29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf\r
32\r
33 #\r
34 # Defines for default states. These can be changed on the command line.\r
35 # -D FLAG=VALUE\r
36 #\r
37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
38 DEFINE NETWORK_IP6_ENABLE = FALSE\r
39 DEFINE HTTP_BOOT_ENABLE = FALSE\r
40 DEFINE SMM_REQUIRE = FALSE\r
41 DEFINE TLS_ENABLE = FALSE\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 = 4096\r
58!endif\r
59!endif\r
60!endif\r
61\r
62[BuildOptions]\r
63 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\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
70!ifdef $(SOURCE_DEBUG_ENABLE)\r
71 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
72 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
73 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
74!endif\r
75\r
76 #\r
77 # Disable deprecated APIs.\r
78 #\r
79 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
80 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
81 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
82\r
83[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
84 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
85 XCODE:*_*_*_DLINK_FLAGS =\r
86\r
87# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
88# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
89[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
90 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
91 XCODE:*_*_*_DLINK_FLAGS =\r
92\r
93################################################################################\r
94#\r
95# SKU Identification section - list of all SKU IDs supported by this Platform.\r
96#\r
97################################################################################\r
98[SkuIds]\r
99 0|DEFAULT\r
100\r
101################################################################################\r
102#\r
103# Library Class section - list of all Library Classes needed by this Platform.\r
104#\r
105################################################################################\r
106[LibraryClasses]\r
107 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
108 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
109 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
110 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
111 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
112 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
114 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
115 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
116 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
117 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
118 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
119 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
120 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
121 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
122 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
123 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
124 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
125 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
126 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
127 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
128 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
129 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
130 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
131 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
132 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
133 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
134 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
135 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
136 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
137 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
138 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
139 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
140 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
141 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
142 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
143 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
144 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
145 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
146 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
147 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
148 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
149 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.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 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
154 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
155 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf\r
156!if $(SMM_REQUIRE) == FALSE\r
157 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
158!endif\r
159 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
160 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
161\r
162!ifdef $(SOURCE_DEBUG_ENABLE)\r
163 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
164 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
165!else\r
166 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
167 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
168!endif\r
169\r
170 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
171 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
172 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
173\r
174 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
175!if $(TLS_ENABLE) == TRUE\r
176 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
177!else\r
178 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
179!endif\r
180\r
181!if $(SECURE_BOOT_ENABLE) == TRUE\r
182 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
183 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
184 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
185!else\r
186 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
187 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
188!endif\r
189 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
190\r
191!if $(NETWORK_IP6_ENABLE) == TRUE\r
192 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
193!endif\r
194\r
195!if $(HTTP_BOOT_ENABLE) == TRUE\r
196 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
197!endif\r
198\r
199!if $(TLS_ENABLE) == TRUE\r
200 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
201!endif\r
202\r
203 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
204 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
205 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
206 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
207 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
208\r
209[LibraryClasses.common]\r
210 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
211\r
212[LibraryClasses.common.SEC]\r
213 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
214 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
215!ifdef $(DEBUG_ON_SERIAL_PORT)\r
216 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
217!else\r
218 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
219!endif\r
220 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
221 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
222!ifdef $(SOURCE_DEBUG_ENABLE)\r
223 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
224!endif\r
225 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
226 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
227 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
228 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
229 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
230\r
231[LibraryClasses.common.PEI_CORE]\r
232 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
233 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
234 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
235 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
236 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
237 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
238 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
239 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
240!ifdef $(DEBUG_ON_SERIAL_PORT)\r
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
242!else\r
243 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
244!endif\r
245 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
246\r
247[LibraryClasses.common.PEIM]\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 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.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 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
263 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
264!ifdef $(SOURCE_DEBUG_ENABLE)\r
265 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
266!endif\r
267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
268 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
269 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
270 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
271 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
272\r
273[LibraryClasses.common.DXE_CORE]\r
274 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
275 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
276 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
277 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
278!ifdef $(DEBUG_ON_SERIAL_PORT)\r
279 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
280!else\r
281 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
282!endif\r
283 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
284!ifdef $(SOURCE_DEBUG_ENABLE)\r
285 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
286!endif\r
287 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
288 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
289\r
290[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
291 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
292 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
293 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
294 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
295 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
296 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
297!ifdef $(DEBUG_ON_SERIAL_PORT)\r
298 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
299!else\r
300 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
301!endif\r
302 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
303 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
304 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
305 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
306\r
307[LibraryClasses.common.UEFI_DRIVER]\r
308 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
309 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
310 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
311 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
312 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
313 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
314!ifdef $(DEBUG_ON_SERIAL_PORT)\r
315 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
316!else\r
317 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
318!endif\r
319 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
320 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
321\r
322[LibraryClasses.common.DXE_DRIVER]\r
323 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
324 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
325 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
326 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
327 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
328 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
329!ifdef $(DEBUG_ON_SERIAL_PORT)\r
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
331!else\r
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
333!endif\r
334 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
335 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
336 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
337 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
338 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
339 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
340 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
341!if $(SMM_REQUIRE) == TRUE\r
342 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
343!else\r
344 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
345!endif\r
346!ifdef $(SOURCE_DEBUG_ENABLE)\r
347 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
348!endif\r
349 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
350 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
351 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
352\r
353[LibraryClasses.common.UEFI_APPLICATION]\r
354 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
355 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
356 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
357 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
358 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
359!ifdef $(DEBUG_ON_SERIAL_PORT)\r
360 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
361!else\r
362 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
363!endif\r
364 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
365\r
366[LibraryClasses.common.DXE_SMM_DRIVER]\r
367 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
368 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
369 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
371 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
372 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
373 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
374!ifdef $(DEBUG_ON_SERIAL_PORT)\r
375 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
376!else\r
377 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
378!endif\r
379 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
380!ifdef $(SOURCE_DEBUG_ENABLE)\r
381 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
382!endif\r
383 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
384 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
385\r
386[LibraryClasses.common.SMM_CORE]\r
387 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
388 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
389 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
390 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
391 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
392 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
393 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
394 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
395!ifdef $(DEBUG_ON_SERIAL_PORT)\r
396 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
397!else\r
398 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
399!endif\r
400 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
401\r
402################################################################################\r
403#\r
404# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
405#\r
406################################################################################\r
407[PcdsFeatureFlag]\r
408 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
409 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
410 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
411 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
412 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
413 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
414 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
415 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
416!if $(SMM_REQUIRE) == TRUE\r
417 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
418 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
419!endif\r
420\r
421[PcdsFixedAtBuild]\r
422 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
423 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
424 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
425 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
426 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
427!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
428 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
429 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
431!endif\r
432!if $(FD_SIZE_IN_KB) == 4096\r
433 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
434 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
435 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
436!endif\r
437\r
438 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
439\r
440 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
441\r
442 # DEBUG_INIT 0x00000001 // Initialization\r
443 # DEBUG_WARN 0x00000002 // Warnings\r
444 # DEBUG_LOAD 0x00000004 // Load events\r
445 # DEBUG_FS 0x00000008 // EFI File system\r
446 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
447 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
448 # DEBUG_INFO 0x00000040 // Informational debug messages\r
449 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
450 # DEBUG_VARIABLE 0x00000100 // Variable\r
451 # DEBUG_BM 0x00000400 // Boot Manager\r
452 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
453 # DEBUG_NET 0x00004000 // SNP Driver\r
454 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
455 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
456 # DEBUG_EVENT 0x00080000 // Event messages\r
457 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
458 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
459 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
460 # // significantly impact boot performance\r
461 # DEBUG_ERROR 0x80000000 // Error\r
462 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
463\r
464!ifdef $(SOURCE_DEBUG_ENABLE)\r
465 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
466!else\r
467 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
468!endif\r
469\r
470 # This PCD is used to set the base address of the PCI express hierarchy. It\r
471 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
472 # the PCIEXBAR register.\r
473 #\r
474 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
475 # never lets the RAM below 4 GB exceed 2 GB.\r
476 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
477\r
478!ifdef $(SOURCE_DEBUG_ENABLE)\r
479 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
480!endif\r
481\r
482!if $(HTTP_BOOT_ENABLE) == TRUE\r
483 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
484!endif\r
485\r
486!ifndef $(USE_OLD_SHELL)\r
487 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
488!endif\r
489\r
490!if $(SMM_REQUIRE) == TRUE\r
491 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
492!endif\r
493\r
494 # IRQs 5, 9, 10, 11 are level-triggered\r
495 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
496\r
497 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
498 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
499\r
500################################################################################\r
501#\r
502# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
503#\r
504################################################################################\r
505\r
506[PcdsDynamicDefault]\r
507 # only set when\r
508 # ($(SMM_REQUIRE) == FALSE)\r
509 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
510\r
511 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
512 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
513 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
514 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
515 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
516 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
517 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
518 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
519 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
520 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
521 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
522 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
523 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
524 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
525\r
526 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
527\r
528 # Set video resolution for text setup.\r
529 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
530 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
531\r
532 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
533 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
534 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
535\r
536 # Noexec settings for DXE.\r
537 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
538 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
539\r
540 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
541 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
542 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
543\r
544 # Set memory encryption mask\r
545 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
546\r
547!if $(SMM_REQUIRE) == TRUE\r
548 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
549 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
550 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
551!endif\r
552\r
553 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
554\r
555################################################################################\r
556#\r
557# Components Section - list of all EDK II Modules needed by this Platform.\r
558#\r
559################################################################################\r
560[Components]\r
561 OvmfPkg/ResetVector/ResetVector.inf\r
562\r
563 #\r
564 # SEC Phase modules\r
565 #\r
566 OvmfPkg/Sec/SecMain.inf {\r
567 <LibraryClasses>\r
568 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
569 }\r
570\r
571 #\r
572 # PEI Phase modules\r
573 #\r
574 MdeModulePkg/Core/Pei/PeiMain.inf\r
575 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
576 <LibraryClasses>\r
577 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
578 }\r
579 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
580 <LibraryClasses>\r
581 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
582 }\r
583 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
584 <LibraryClasses>\r
585 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
586 }\r
587 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
588\r
589 OvmfPkg/PlatformPei/PlatformPei.inf\r
590 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
591 <LibraryClasses>\r
592!if $(SMM_REQUIRE) == TRUE\r
593 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
594!endif\r
595 }\r
596!if $(SMM_REQUIRE) == TRUE\r
597 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
598!endif\r
599 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
600\r
601 #\r
602 # DXE Phase modules\r
603 #\r
604 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
605 <LibraryClasses>\r
606 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
607 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
608 }\r
609\r
610 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
611 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
612 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
613 <LibraryClasses>\r
614 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
615 }\r
616\r
617 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
618\r
619!if $(SECURE_BOOT_ENABLE) == TRUE\r
620 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
621 <LibraryClasses>\r
622 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
623 }\r
624!else\r
625 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
626!endif\r
627\r
628 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
629 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
630 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
631 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
632 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
633 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
634 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
635 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
636 <LibraryClasses>\r
637 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
638 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
639 }\r
640 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
641 <LibraryClasses>\r
642 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
643 }\r
644 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
645 MdeModulePkg/Universal/Metronome/Metronome.inf\r
646 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
647 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
648 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
649 <LibraryClasses>\r
650!ifdef $(CSM_ENABLE)\r
651 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
652 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
653!endif\r
654 }\r
655 MdeModulePkg/Logo/LogoDxe.inf\r
656 MdeModulePkg/Application/UiApp/UiApp.inf {\r
657 <LibraryClasses>\r
658 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
659 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
660 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
661!ifdef $(CSM_ENABLE)\r
662 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
663 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
664!endif\r
665 }\r
666 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
667 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
668 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
669 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
670 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
671 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
672 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
673 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
674 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
675 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
676 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
677 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
678 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
679 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
680 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
681 <LibraryClasses>\r
682 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
683 }\r
684 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
685 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
686 <LibraryClasses>\r
687 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
688 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
689 }\r
690 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
691 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
692 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
693 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
694 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
695 FatPkg/EnhancedFatDxe/Fat.inf\r
696 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
697 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
698 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
699 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
700 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
701 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
702 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
703 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
704 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
705 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
706 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
707\r
708 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
709 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
710\r
711 #\r
712 # ISA Support\r
713 #\r
714 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
715 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
716 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
717 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
718 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
719\r
720 #\r
721 # SMBIOS Support\r
722 #\r
723 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
724 <LibraryClasses>\r
725 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
726 }\r
727 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
728\r
729 #\r
730 # ACPI Support\r
731 #\r
732 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
733 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
734 OvmfPkg/AcpiTables/AcpiTables.inf\r
735 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
736 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
737 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
738\r
739 #\r
740 # Network Support\r
741 #\r
742 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
743 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
744 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
745 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
746 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
747 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
748 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
749 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
750 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
751!if $(NETWORK_IP6_ENABLE) == TRUE\r
752 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
753 NetworkPkg/TcpDxe/TcpDxe.inf\r
754 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
755 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
756 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
757 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
758 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
759!else\r
760 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
761 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
762 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
763!endif\r
764!if $(HTTP_BOOT_ENABLE) == TRUE\r
765 NetworkPkg/DnsDxe/DnsDxe.inf\r
766 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
767 NetworkPkg/HttpDxe/HttpDxe.inf\r
768 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
769!endif\r
770!if $(TLS_ENABLE) == TRUE\r
771 NetworkPkg/TlsDxe/TlsDxe.inf\r
772 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
773!endif\r
774 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
775\r
776 #\r
777 # Usb Support\r
778 #\r
779 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
780 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
781 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
782 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
783 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
784 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
785\r
786!ifdef $(CSM_ENABLE)\r
787 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
788 <LibraryClasses>\r
789 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
790 }\r
791 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
792 OvmfPkg/Csm/Csm16/Csm16.inf\r
793!endif\r
794\r
795!ifndef $(USE_OLD_SHELL)\r
796 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
797 <PcdsFixedAtBuild>\r
798 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
799 }\r
800 ShellPkg/Application/Shell/Shell.inf {\r
801 <LibraryClasses>\r
802 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
803 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
804 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
805 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
806 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
807 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
808 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
809 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
810!if $(NETWORK_IP6_ENABLE) == TRUE\r
811 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
812!endif\r
813 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
814 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
815# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
816# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
817 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
818\r
819 <PcdsFixedAtBuild>\r
820 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
821 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
822 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
823 }\r
824!endif\r
825\r
826!if $(SECURE_BOOT_ENABLE) == TRUE\r
827 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
828!endif\r
829\r
830 OvmfPkg/PlatformDxe/Platform.inf\r
831 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
832 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
833\r
834!if $(SMM_REQUIRE) == TRUE\r
835 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
836 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
837 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
838\r
839 #\r
840 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
841 #\r
842 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
843\r
844 #\r
845 # SMM_CORE\r
846 #\r
847 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
848\r
849 #\r
850 # Privileged drivers (DXE_SMM_DRIVER modules)\r
851 #\r
852 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
853 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
854 <LibraryClasses>\r
855 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
856 }\r
857 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
858 <LibraryClasses>\r
859 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
860 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
861 }\r
862\r
863 #\r
864 # Variable driver stack (SMM)\r
865 #\r
866 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
867 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
868 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
869 <LibraryClasses>\r
870 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
871 }\r
872 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
873\r
874!else\r
875\r
876 #\r
877 # Variable driver stack (non-SMM)\r
878 #\r
879 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
880 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
881 <LibraryClasses>\r
882 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
883 }\r
884 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
885 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
886 <LibraryClasses>\r
887 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
888 }\r
889!endif\r