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