VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgIa32.dsc@ 77662

Last change on this file since 77662 was 77662, checked in by vboxsync, 6 years ago

EFI: First step in UDK2018 merge. Does not build yet.

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette