VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgX64.dsc@ 63359

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