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