VirtualBox

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

Last change on this file since 58803 was 58786, checked in by vboxsync, 9 years ago

EFI/Firmware: Enable NVMe driver

  • 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!ifdef $(VBOX)
339 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE
340 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|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 VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
549 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
550 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
551 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
552 # we need it for VBoxAppleSim
553 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
554 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
555 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.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