VirtualBox

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

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

EFI: Experimentally removed ISO9660 FS support which appears redundant for any non-experimental EFI-capable OS.

  • Property svn:eol-style set to native
File size: 41.8 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
295 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
296!else
297 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
298 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
299!endif
300 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
301 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
302!ifdef $(SOURCE_DEBUG_ENABLE)
303 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
304!endif
305 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
306 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
307 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
308 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
309 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
310
311[LibraryClasses.common.DXE_CORE]
312 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
313 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
314 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
316!ifndef $(VBOX)
317!ifdef $(DEBUG_ON_SERIAL_PORT)
318 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
319!else
320 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
321!endif
322!else
323 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
324!endif
325 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
326!ifdef $(SOURCE_DEBUG_ENABLE)
327 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
328!endif
329 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
331
332[LibraryClasses.common.DXE_RUNTIME_DRIVER]
333 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
334 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
335 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
336 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
337 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
339!ifndef $(VBOX)
340!ifdef $(DEBUG_ON_SERIAL_PORT)
341 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
342!else
343 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
344!endif
345!else
346 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
347!endif
348 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
349 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
350 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
351 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
352
353[LibraryClasses.common.UEFI_DRIVER]
354 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
355 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
356 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
357 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
358 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
359 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
360!ifndef $(VBOX)
361!ifdef $(DEBUG_ON_SERIAL_PORT)
362 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
363!else
364 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
365!endif
366!else
367 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
368!endif
369 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
370 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
371
372[LibraryClasses.common.DXE_DRIVER]
373 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
374 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
378 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
379!ifndef $(VBOX)
380!ifdef $(DEBUG_ON_SERIAL_PORT)
381 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
382!else
383 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
384!endif
385!else
386 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
387!endif
388 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
389 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
390 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
391 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
392 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
393 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
394 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
395!if $(SMM_REQUIRE) == TRUE
396 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
397!else
398 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
399!endif
400!ifdef $(SOURCE_DEBUG_ENABLE)
401 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
402!endif
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
404 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
405 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
406
407[LibraryClasses.common.UEFI_APPLICATION]
408 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
409 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
410 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
411 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
412 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
413!ifndef $(VBOX)
414!ifdef $(DEBUG_ON_SERIAL_PORT)
415 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
416!else
417 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
418!endif
419!else
420 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
421!endif
422 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
423
424[LibraryClasses.common.DXE_SMM_DRIVER]
425 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.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 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
432!ifdef $(DEBUG_ON_SERIAL_PORT)
433 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
434!else
435 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
436!endif
437 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
438!ifdef $(SOURCE_DEBUG_ENABLE)
439 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
440!endif
441 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
442 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
443
444[LibraryClasses.common.SMM_CORE]
445 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
446 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
447 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
448 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
449 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
450 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
451 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
452 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
453!ifdef $(DEBUG_ON_SERIAL_PORT)
454 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
455!else
456 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
457!endif
458 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
459
460################################################################################
461#
462# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
463#
464################################################################################
465[PcdsFeatureFlag]
466 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
470 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
472 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
474!if $(SMM_REQUIRE) == TRUE
475 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
476 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
477!endif
478
479[PcdsFixedAtBuild]
480 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
481 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
482 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
483 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
484 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
485!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
486 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
487 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
489!endif
490!if $(FD_SIZE_IN_KB) == 4096
491 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
492 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
493 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
494!endif
495
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
497
498 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
499
500 # DEBUG_INIT 0x00000001 // Initialization
501 # DEBUG_WARN 0x00000002 // Warnings
502 # DEBUG_LOAD 0x00000004 // Load events
503 # DEBUG_FS 0x00000008 // EFI File system
504 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
505 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
506 # DEBUG_INFO 0x00000040 // Informational debug messages
507 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
508 # DEBUG_VARIABLE 0x00000100 // Variable
509 # DEBUG_BM 0x00000400 // Boot Manager
510 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
511 # DEBUG_NET 0x00004000 // SNP Driver
512 # DEBUG_UNDI 0x00010000 // UNDI Driver
513 # DEBUG_LOADFILE 0x00020000 // LoadFile
514 # DEBUG_EVENT 0x00080000 // Event messages
515 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
516 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
517 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
518 # // significantly impact boot performance
519 # DEBUG_ERROR 0x80000000 // Error
520 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
521
522!ifdef $(SOURCE_DEBUG_ENABLE)
523 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
524!else
525 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
526!endif
527
528!ifndef $(VBOX)
529 # This PCD is used to set the base address of the PCI express hierarchy. It
530 # is only consulted when OVMF runs on Q35. In that case it is programmed into
531 # the PCIEXBAR register.
532 #
533 # On Q35 machine types that QEMU intends to support in the long term, QEMU
534 # never lets the RAM below 4 GB exceed 2 GB.
535 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
536!endif
537
538!ifdef $(SOURCE_DEBUG_ENABLE)
539 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
540!endif
541
542!if $(HTTP_BOOT_ENABLE) == TRUE
543 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
544!endif
545
546!ifndef $(USE_OLD_SHELL)
547 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
548!endif
549
550!if $(SMM_REQUIRE) == TRUE
551 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
552!endif
553
554 # IRQs 5, 9, 10, 11 are level-triggered
555 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
556
557 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
558 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
559
560################################################################################
561#
562# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
563#
564################################################################################
565
566[PcdsDynamicDefault]
567 # only set when
568 # ($(SMM_REQUIRE) == FALSE)
569 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
570
571 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
573 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
575!ifndef $(VBOX)
576 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
577 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
578!else
579 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
580 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
581!endif
582 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
583 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
584 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
585 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
586 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
587 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
588
589 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
590
591 # Set video resolution for text setup.
592 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
593 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
594
595 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
596 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
597 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
598
599 # Noexec settings for DXE.
600 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
601 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
602
603 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
604 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
605 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
606
607 # Set memory encryption mask
608 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
609
610!if $(SMM_REQUIRE) == TRUE
611 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
612 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
613 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
614!endif
615
616 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
617
618!ifdef $(VBOX)
619 # This PCD is used to set the base address of the PCI express hierarchy. It
620 # is only consulted when OVMF runs on Q35. In that case it is programmed into
621 # the PCIEXBAR register.
622 #
623 # On Q35 machine types that QEMU intends to support in the long term, QEMU
624 # never lets the RAM below 4 GB exceed 2 GB.
625 #
626 # On VirtualBox it is dynamic.
627 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
628!endif
629
630################################################################################
631#
632# Components Section - list of all EDK II Modules needed by this Platform.
633#
634################################################################################
635[Components]
636 OvmfPkg/ResetVector/ResetVector.inf
637
638 #
639 # SEC Phase modules
640 #
641 OvmfPkg/Sec/SecMain.inf {
642 <LibraryClasses>
643 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
644 }
645
646 #
647 # PEI Phase modules
648 #
649 MdeModulePkg/Core/Pei/PeiMain.inf
650 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
651 <LibraryClasses>
652 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
653 }
654 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
655 <LibraryClasses>
656 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
657 }
658 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
659 <LibraryClasses>
660 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
661 }
662 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
663
664 OvmfPkg/PlatformPei/PlatformPei.inf
665 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
666 <LibraryClasses>
667!if $(SMM_REQUIRE) == TRUE
668 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
669!endif
670 }
671!if $(SMM_REQUIRE) == TRUE
672 OvmfPkg/SmmAccess/SmmAccessPei.inf
673!endif
674 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
675
676 #
677 # DXE Phase modules
678 #
679 MdeModulePkg/Core/Dxe/DxeMain.inf {
680 <LibraryClasses>
681 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
682 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
683 }
684
685 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
686 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
687 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
688 <LibraryClasses>
689 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
690 }
691
692 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
693
694!if $(SECURE_BOOT_ENABLE) == TRUE
695 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
696 <LibraryClasses>
697 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
698 }
699!else
700 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
701!endif
702
703 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
704 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
705 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
706 UefiCpuPkg/CpuDxe/CpuDxe.inf
707 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
708 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
709 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
710 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
711 <LibraryClasses>
712 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
713 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
714 }
715 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
716 <LibraryClasses>
717 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
718 }
719 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
720 MdeModulePkg/Universal/Metronome/Metronome.inf
721 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
722 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
723 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
724 <LibraryClasses>
725!ifdef $(CSM_ENABLE)
726 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
727 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
728!endif
729 }
730 MdeModulePkg/Logo/LogoDxe.inf
731 MdeModulePkg/Application/UiApp/UiApp.inf {
732 <LibraryClasses>
733 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
734 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
735 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
736!ifdef $(CSM_ENABLE)
737 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
738 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
739!endif
740 }
741 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
742 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
743 OvmfPkg/Virtio10Dxe/Virtio10.inf
744!ifndef $(VBOX)
745 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
746 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
747 OvmfPkg/VirtioRngDxe/VirtioRng.inf
748 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
749 OvmfPkg/XenBusDxe/XenBusDxe.inf
750 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
751!endif
752 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
753 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
754 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
755 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
756 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
757 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
758 <LibraryClasses>
759 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
760 }
761 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
762 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
763 <LibraryClasses>
764 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
765 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
766 }
767 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
768 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
769 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
770 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
771 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
772 FatPkg/EnhancedFatDxe/Fat.inf
773 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
774 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
775 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
776 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
777 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
778 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
779 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
780 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
781 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
782 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
783
784!ifndef $(VBOX)
785 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
786 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
787!else
788 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
789 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
790 VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
791 VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf {
792 <LibraryClasses>
793 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
794 }
795 #VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
796 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
797 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
798 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
799 # we need it for VBoxAppleSim
800 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
801!endif
802
803 #
804 # ISA Support
805 #
806 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
807 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
808 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
809 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
810 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
811 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
812
813 #
814 # SMBIOS Support
815 #
816 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
817 <LibraryClasses>
818 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
819 }
820 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
821
822 #
823 # ACPI Support
824 #
825 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
826!ifndef $(VBOX)
827 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
828 OvmfPkg/AcpiTables/AcpiTables.inf
829 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
830 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
831!else
832 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
833!endif
834 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
835
836 #
837 # Network Support
838 #
839 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
840 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
841 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
842 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
843 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
844 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
845 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
846 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
847 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
848!if $(NETWORK_IP6_ENABLE) == TRUE
849 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
850 NetworkPkg/TcpDxe/TcpDxe.inf
851 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
852 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
853 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
854 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
855 NetworkPkg/IScsiDxe/IScsiDxe.inf
856!else
857 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
858 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
859 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
860!endif
861!if $(HTTP_BOOT_ENABLE) == TRUE
862 NetworkPkg/DnsDxe/DnsDxe.inf
863 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
864 NetworkPkg/HttpDxe/HttpDxe.inf
865 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
866!endif
867!if $(TLS_ENABLE) == TRUE
868 NetworkPkg/TlsDxe/TlsDxe.inf
869 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
870!endif
871 OvmfPkg/VirtioNetDxe/VirtioNet.inf
872
873 #
874 # Usb Support
875 #
876 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
877 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
878 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
879 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
880 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
881 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
882
883!ifdef $(CSM_ENABLE)
884 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
885 <LibraryClasses>
886 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
887 }
888 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
889 OvmfPkg/Csm/Csm16/Csm16.inf
890!endif
891
892!ifndef $(USE_OLD_SHELL)
893 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
894 <PcdsFixedAtBuild>
895 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
896 }
897 ShellPkg/Application/Shell/Shell.inf {
898 <LibraryClasses>
899 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
900 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
901 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
902 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
903 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
904 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
905 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
906 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
907!if $(NETWORK_IP6_ENABLE) == TRUE
908 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
909!endif
910 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
911 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
912# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
913# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
914 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
915
916 <PcdsFixedAtBuild>
917 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
918 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
919 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
920 }
921!endif
922
923!if $(SECURE_BOOT_ENABLE) == TRUE
924 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
925!endif
926
927 OvmfPkg/PlatformDxe/Platform.inf
928 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
929
930!if $(SMM_REQUIRE) == TRUE
931 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
932 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
933 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
934
935 #
936 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
937 #
938 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
939
940 #
941 # SMM_CORE
942 #
943 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
944
945 #
946 # Privileged drivers (DXE_SMM_DRIVER modules)
947 #
948 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
949 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
950 <LibraryClasses>
951 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
952 }
953 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
954 <LibraryClasses>
955 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
956 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
957 }
958
959 #
960 # Variable driver stack (SMM)
961 #
962 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
963 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
964 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
965 <LibraryClasses>
966 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
967 }
968 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
969
970!else
971
972 #
973 # Variable driver stack (non-SMM)
974 #
975 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
976 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
977 <LibraryClasses>
978 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
979 }
980 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
981!ifndef $(VBOX)
982 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
983!else
984 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
985!endif
986
987 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
988 <LibraryClasses>
989 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
990 }
991!endif
Note: See TracBrowser for help on using the repository browser.

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