VirtualBox

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

最後變更 在這個檔案從77678是 77678,由 vboxsync 提交於 6 年 前

EFI: Use resource compiler to avoid errors. 32-bit EFI now boots to shell with 440FX chipset.

  • 屬性 svn:eol-style 設為 native
檔案大小: 41.3 KB
 
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 # This PCD is used to set the base address of the PCI express hierarchy. It
529 # is only consulted when OVMF runs on Q35. In that case it is programmed into
530 # the PCIEXBAR register.
531 #
532 # On Q35 machine types that QEMU intends to support in the long term, QEMU
533 # never lets the RAM below 4 GB exceed 2 GB.
534 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
535
536!ifdef $(SOURCE_DEBUG_ENABLE)
537 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
538!endif
539
540!if $(HTTP_BOOT_ENABLE) == TRUE
541 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
542!endif
543
544!ifndef $(USE_OLD_SHELL)
545 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
546!endif
547
548!if $(SMM_REQUIRE) == TRUE
549 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
550!endif
551
552 # IRQs 5, 9, 10, 11 are level-triggered
553 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
554
555 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
556 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
557
558################################################################################
559#
560# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
561#
562################################################################################
563
564[PcdsDynamicDefault]
565 # only set when
566 # ($(SMM_REQUIRE) == FALSE)
567 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
568
569 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
570 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
571 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
573!ifndef $(VBOX)
574 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
575 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
576!else
577 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
578 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
579!endif
580 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
581 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
582 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
583 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
584 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
585 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
586
587 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
588
589 # Set video resolution for text setup.
590 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
591 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
592
593 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
594 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
595 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
596
597 # Noexec settings for DXE.
598 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
599 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
600
601 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
602 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
603 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
604
605 # Set memory encryption mask
606 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
607
608!if $(SMM_REQUIRE) == TRUE
609 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
610 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
611 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
612!endif
613
614 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
615
616################################################################################
617#
618# Components Section - list of all EDK II Modules needed by this Platform.
619#
620################################################################################
621[Components]
622 OvmfPkg/ResetVector/ResetVector.inf
623
624 #
625 # SEC Phase modules
626 #
627 OvmfPkg/Sec/SecMain.inf {
628 <LibraryClasses>
629 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
630 }
631
632 #
633 # PEI Phase modules
634 #
635 MdeModulePkg/Core/Pei/PeiMain.inf
636 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
637 <LibraryClasses>
638 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
639 }
640 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
641 <LibraryClasses>
642 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
643 }
644 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
645 <LibraryClasses>
646 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
647 }
648 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
649
650 OvmfPkg/PlatformPei/PlatformPei.inf
651 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
652 <LibraryClasses>
653!if $(SMM_REQUIRE) == TRUE
654 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
655!endif
656 }
657!if $(SMM_REQUIRE) == TRUE
658 OvmfPkg/SmmAccess/SmmAccessPei.inf
659!endif
660 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
661
662 #
663 # DXE Phase modules
664 #
665 MdeModulePkg/Core/Dxe/DxeMain.inf {
666 <LibraryClasses>
667 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
668 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
669 }
670
671 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
672 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
673 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
674 <LibraryClasses>
675 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
676 }
677
678 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
679
680!if $(SECURE_BOOT_ENABLE) == TRUE
681 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
682 <LibraryClasses>
683 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
684 }
685!else
686 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
687!endif
688
689 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
690 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
691 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
692 UefiCpuPkg/CpuDxe/CpuDxe.inf
693 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
694 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
695 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
696 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
697 <LibraryClasses>
698 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
699 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
700 }
701 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
702 <LibraryClasses>
703 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
704 }
705 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
706 MdeModulePkg/Universal/Metronome/Metronome.inf
707 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
708 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
709 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
710 <LibraryClasses>
711!ifdef $(CSM_ENABLE)
712 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
713 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
714!endif
715 }
716 MdeModulePkg/Logo/LogoDxe.inf
717 MdeModulePkg/Application/UiApp/UiApp.inf {
718 <LibraryClasses>
719 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
720 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
721 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
722!ifdef $(CSM_ENABLE)
723 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
724 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
725!endif
726 }
727 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
728 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
729 OvmfPkg/Virtio10Dxe/Virtio10.inf
730!ifndef $(VBOX)
731 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
732 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
733 OvmfPkg/VirtioRngDxe/VirtioRng.inf
734 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
735 OvmfPkg/XenBusDxe/XenBusDxe.inf
736 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
737!endif
738 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
739 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
740 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
741 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
742 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
743 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
744 <LibraryClasses>
745 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
746 }
747 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
748 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
749 <LibraryClasses>
750 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
751 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
752 }
753 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
754 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
755 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
756 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
757 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
758 FatPkg/EnhancedFatDxe/Fat.inf
759 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
760 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
761 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
762 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
763 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
764 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
765 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
766 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
767 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
768 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
769
770!ifndef $(VBOX)
771 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
772 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
773!else
774 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
775 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
776 VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
777 VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf {
778 <LibraryClasses>
779 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
780 }
781 VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
782 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
783 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
784 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
785 # we need it for VBoxAppleSim
786 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.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!else
818 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
819!endif
820 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
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 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
863 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
864 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
865 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
866 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
867 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
868
869!ifdef $(CSM_ENABLE)
870 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
871 <LibraryClasses>
872 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
873 }
874 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
875 OvmfPkg/Csm/Csm16/Csm16.inf
876!endif
877
878!ifndef $(USE_OLD_SHELL)
879 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
880 <PcdsFixedAtBuild>
881 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
882 }
883 ShellPkg/Application/Shell/Shell.inf {
884 <LibraryClasses>
885 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
886 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
887 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
888 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
889 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
890 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
891 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
892 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
893!if $(NETWORK_IP6_ENABLE) == TRUE
894 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
895!endif
896 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
897 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
898# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
899# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
900 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
901
902 <PcdsFixedAtBuild>
903 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
904 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
905 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
906 }
907!endif
908
909!if $(SECURE_BOOT_ENABLE) == TRUE
910 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
911!endif
912
913 OvmfPkg/PlatformDxe/Platform.inf
914 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
915
916!if $(SMM_REQUIRE) == TRUE
917 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
918 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
919 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
920
921 #
922 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
923 #
924 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
925
926 #
927 # SMM_CORE
928 #
929 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
930
931 #
932 # Privileged drivers (DXE_SMM_DRIVER modules)
933 #
934 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
935 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
936 <LibraryClasses>
937 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
938 }
939 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
940 <LibraryClasses>
941 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
942 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
943 }
944
945 #
946 # Variable driver stack (SMM)
947 #
948 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
949 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
950 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
951 <LibraryClasses>
952 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
953 }
954 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
955
956!else
957
958 #
959 # Variable driver stack (non-SMM)
960 #
961 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
962 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
963 <LibraryClasses>
964 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
965 }
966 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
967!ifndef $(VBOX)
968 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
969!else
970 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
971!endif
972
973 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
974 <LibraryClasses>
975 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
976 }
977!endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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