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