VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.dsc@ 78403

Last change on this file since 78403 was 63359, checked in by vboxsync, 8 years ago

EFI: Don't enable status code reporting through the serial port by default, remove another feature flag which is FALSE by default anyway, ticketref:12161

  • Property svn:eol-style set to native
File size: 28.6 KB
Line 
1## @file
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
4# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
5#
6# This program and the accompanying materials
7# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14##
15
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26!ifndef $(VBOX_OUTPUT_BASE_DIR)
27 OUTPUT_DIRECTORY = Build/OvmfIa32
28!else
29 OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/x86
30!endif
31 SUPPORTED_ARCHITECTURES = IA32
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
35
36 #
37 # Defines for default states. These can be changed on the command line.
38 # -D FLAG=VALUE
39 #
40 DEFINE SECURE_BOOT_ENABLE = FALSE
41
42[BuildOptions]
43 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
44 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
45 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
46 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
47 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
48
49!ifdef $(VBOX)
50[BuildOptions.Ia32]
51 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
52 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
53 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
54[BuildOptions.X64]
55 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
56 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
57 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
58!endif
59
60
61################################################################################
62#
63# SKU Identification section - list of all SKU IDs supported by this Platform.
64#
65################################################################################
66[SkuIds]
67 0|DEFAULT
68
69################################################################################
70#
71# Library Class section - list of all Library Classes needed by this Platform.
72#
73################################################################################
74[LibraryClasses]
75 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
76 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
77 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
78 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
79 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
80 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
81 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
82 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
83!ifndef $(VBOX)
84 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
85!else
86 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
87!endif
88 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
89 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
90 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
91 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
92 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
93 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
94 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
95 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
96 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
97 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
98 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
99 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
100 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
101 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
102 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
103 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
104 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
105 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
106 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
107 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
108 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
109 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
110 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
111 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
112 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
113 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
114 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
115 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
116 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
117 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
118 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
119 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
120 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
121 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
122 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
123 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
124
125!ifdef $(VBOX)
126 PeCoffExtraActionLib|VBoxPkg/Library/VBoxPeCoffExtraActionLib/VBoxPeCoffExtraActionLib.inf
127 DebugAgentLib|VBoxPkg/Library/VBoxDebugAgentLib/VBoxDebugAgentLib.inf
128!else
129!ifdef $(SOURCE_DEBUG_ENABLE)
130 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
131 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
132!else
133 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
134 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
135!endif
136!endif
137
138 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
139 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
140 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
141
142!if $(SECURE_BOOT_ENABLE) == TRUE
143 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
144 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
145 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
146 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
147!endif
148
149 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
150 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
151
152[LibraryClasses.common]
153!if $(SECURE_BOOT_ENABLE) == TRUE
154 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
155!endif
156
157[LibraryClasses.common.SEC]
158!ifndef $(VBOX)
159 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
160!ifdef $(DEBUG_ON_SERIAL_PORT)
161 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
162!else
163 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
164!endif
165!else
166 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
167!endif
168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
169 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
170!ifdef $(VBOX)
171!ifdef $(SOURCE_DEBUG_ENABLE)
172 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
173!endif
174!endif
175 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
176 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
177 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
178 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
179 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
180
181[LibraryClasses.common.PEI_CORE]
182 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
183 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
184 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
185 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
186 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
187 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
188 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
189 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
190!ifndef $(VBOX)
191!ifdef $(DEBUG_ON_SERIAL_PORT)
192 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
193!else
194 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
195!endif
196 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
197!else
198 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
199 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
200!endif
201
202[LibraryClasses.common.PEIM]
203 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
204 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
205 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
206 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
207 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
208 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
209 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
210 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
211!ifndef $(VBOX)
212 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
213 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
214!else
215 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
216 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
217!endif
218 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
219 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
220!ifdef $(VBOX)
221!ifdef $(SOURCE_DEBUG_ENABLE)
222 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
223!endif
224!endif
225
226[LibraryClasses.common.DXE_CORE]
227 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
228 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
229 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
230 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
231!ifndef $(VBOX)
232!ifdef $(DEBUG_ON_SERIAL_PORT)
233 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
234!else
235 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
236!endif
237!else
238 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
239!endif
240 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
241 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
242!ifdef $(SOURCE_DEBUG_ENABLE)
243 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
244!endif
245 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
246
247[LibraryClasses.common.DXE_RUNTIME_DRIVER]
248 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
249 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
251 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
252!ifndef $(VBOX)
253!ifdef $(DEBUG_ON_SERIAL_PORT)
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
255!else
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
257!endif
258!else
259 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
260!endif
261 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
262 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
263!if $(SECURE_BOOT_ENABLE) == TRUE
264 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
265!endif
266
267[LibraryClasses.common.UEFI_DRIVER]
268 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
269 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
270 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
271 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
272!ifndef $(VBOX)
273!ifdef $(DEBUG_ON_SERIAL_PORT)
274 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
275!else
276 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
277!endif
278!else
279 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
280!endif
281 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
282 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
283
284[LibraryClasses.common.DXE_DRIVER]
285 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
287 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
288 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
289 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
290!ifndef $(VBOX)
291!ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293!else
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295!endif
296!else
297 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
298!endif
299 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
300 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
301 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
302 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
303 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
304 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
305 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
306!ifdef $(SOURCE_DEBUG_ENABLE)
307 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
308!endif
309
310[LibraryClasses.common.UEFI_APPLICATION]
311 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
312 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
313!ifndef $(VBOX)
314!ifdef $(DEBUG_ON_SERIAL_PORT)
315 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316!else
317 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
318!endif
319!else
320 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
321!endif
322
323################################################################################
324#
325# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
326#
327################################################################################
328[PcdsFeatureFlag]
329 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
330 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
331 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
332 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
333 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
334 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
335!if $(SECURE_BOOT_ENABLE) == TRUE
336 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
337!endif
338
339[PcdsFixedAtBuild]
340 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
341 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
342 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
343 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
344 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
345 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
346 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
347 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
348
349 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
350
351 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
352 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
353!ifdef $(SOURCE_DEBUG_ENABLE)
354 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
355!else
356 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
357!endif
358
359!ifdef $(SOURCE_DEBUG_ENABLE)
360 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
361!endif
362
363!ifndef $(USE_OLD_SHELL)
364 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
365!endif
366
367!if $(SECURE_BOOT_ENABLE) == TRUE
368 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
369 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
370 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
371 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
372!endif
373
374 # IRQs 5, 9, 10, 11 are level-triggered
375 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
376
377################################################################################
378#
379# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
380#
381################################################################################
382
383[PcdsDynamicDefault]
384 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
385 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
386 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
387 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
388 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
389!ifndef $(VBOX)
390 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
391 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
392!else
393 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
394 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
395!endif
396
397################################################################################
398#
399# Components Section - list of all EDK II Modules needed by this Platform.
400#
401################################################################################
402[Components]
403 OvmfPkg/ResetVector/ResetVector.inf
404
405 #
406 # SEC Phase modules
407 #
408 OvmfPkg/Sec/SecMain.inf {
409 <LibraryClasses>
410 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
411 }
412
413 #
414 # PEI Phase modules
415 #
416 MdeModulePkg/Core/Pei/PeiMain.inf
417 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
418 <LibraryClasses>
419 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
420 }
421 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
422 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
423
424 OvmfPkg/PlatformPei/PlatformPei.inf {
425 <LibraryClasses>
426 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
427 }
428 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
429 <LibraryClasses>
430 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
431 }
432
433 #
434 # DXE Phase modules
435 #
436 MdeModulePkg/Core/Dxe/DxeMain.inf {
437 <LibraryClasses>
438 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
439 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
440 }
441
442 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
443 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
444 <LibraryClasses>
445 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
446 }
447
448 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
449
450!if $(SECURE_BOOT_ENABLE) == TRUE
451 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
452 <LibraryClasses>
453 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
454 }
455!else
456 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
457!endif
458
459 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
460 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
461 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
462 UefiCpuPkg/CpuDxe/CpuDxe.inf
463 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
464 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
465 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
466 <LibraryClasses>
467 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
468 }
469 PcAtChipsetPkg/KbcResetDxe/Reset.inf
470 MdeModulePkg/Universal/Metronome/Metronome.inf {
471 <LibraryClasses>
472 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
473 }
474
475 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
476 <LibraryClasses>
477 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
478 }
479
480 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
481 <LibraryClasses>
482 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
483!ifdef $(CSM_ENABLE)
484 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
485!endif
486 }
487
488 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
489 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
490!ifndef $(VBOX)
491 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
492 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
493 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
494!endif
495 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
496 <LibraryClasses>
497 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
498 }
499 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
500!ifndef $(VBOX)
501 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
502!else
503 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
504!endif
505 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
506 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
507 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
508 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
509 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
510 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
511 <LibraryClasses>
512 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
513 }
514 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
515 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
516 <LibraryClasses>
517 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
519 }
520 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
521 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
522 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
523 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
524 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
525 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
526 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
527 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
528 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
529 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
530 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
531 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
532
533!ifndef $(VBOX)
534 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
535 <LibraryClasses>
536 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
537 }
538!else
539 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
540 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
541 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
542 VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
543 VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf {
544 <LibraryClasses>
545 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
546 }
547 VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
548 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
549 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
550 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
551 # we need it for VBoxAppleSim
552 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
553 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
554 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
555 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
556!endif
557
558 #
559 # ISA Support
560 #
561 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
562 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
563 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
564 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
565 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
566 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
567
568 #
569 # SMBIOS Support
570 #
571 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
572 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
573
574 #
575 # ACPI Support
576 #
577 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
578!ifndef $(VBOX)
579 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
580 OvmfPkg/AcpiTables/AcpiTables.inf
581 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
582 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
583 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
584!else
585 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
586!endif
587
588 #
589 # Network Support
590 #
591 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
592 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
593 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
594 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
595 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
596 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
597 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
598 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
599 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
600 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
601 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
602 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
603 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
604 OvmfPkg/VirtioNetDxe/VirtioNet.inf
605
606 #
607 # Usb Support
608 #
609!ifndef $(VBOX)
610 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
611!else
612 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
613 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
614!endif
615 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
616 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
617 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
618
619!ifdef $(CSM_ENABLE)
620 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
621 <LibraryClasses>
622 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
623 }
624 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
625 OvmfPkg/Csm/Csm16/Csm16.inf
626!endif
627
628!ifndef $(USE_OLD_SHELL)
629 ShellPkg/Application/Shell/Shell.inf {
630 <LibraryClasses>
631 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
632 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
633 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
635 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
636 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
637 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
638 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
639 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
640 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
641 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
642 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
643 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
644 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
645# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
646# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
647 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
648
649 <PcdsFixedAtBuild>
650 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
651 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
652 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
653 }
654!endif
655
656!if $(SECURE_BOOT_ENABLE) == TRUE
657 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
658 <LibraryClasses>
659 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
660 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
661 }
662 OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
663!endif
664
665 OvmfPkg/PlatformDxe/Platform.inf
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