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