blob: 123ac31e01ea14b844e01962f459320b16faff18 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
jljusten49ba9442009-05-27 21:10:18 +00002# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
vanjeff55b17532012-03-15 05:54:00 +00004# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# 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#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
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
klu2713b7b52009-10-22 06:30:20 +000025 DSC_SPECIFICATION = 0x00010005
jljusten49ba9442009-05-27 21:10:18 +000026 OUTPUT_DIRECTORY = Build/Ovmf3264
27 SUPPORTED_ARCHITECTURES = IA32|X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
31
jljustene05061c2012-03-09 17:38:21 +000032 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37
jljusten0bc7e562010-01-04 16:18:02 +000038[BuildOptions]
jljusten0b5a5022012-07-31 17:54:18 +000039 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
jljusten152d9a62010-10-13 07:07:42 +000040 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
41 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
42 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000043 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
jljusten0bc7e562010-01-04 16:18:02 +000044
jljusten49ba9442009-05-27 21:10:18 +000045################################################################################
46#
47# SKU Identification section - list of all SKU IDs supported by this Platform.
48#
49################################################################################
50[SkuIds]
51 0|DEFAULT
52
53################################################################################
54#
55# Library Class section - list of all Library Classes needed by this Platform.
56#
57################################################################################
lgao47b202cb2010-02-23 23:58:38 +000058[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000059 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
60 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
61 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000062 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000063 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
64 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
65 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
66 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
67 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000068 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
69 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000072 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
73 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
74 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000075 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000076 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
77 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
78 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
79 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000080 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000081 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
82 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000083 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
84 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
85 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
86 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
87 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
88 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten14b21de2009-09-16 16:29:03 +000089 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
jljusten70520472011-03-31 23:17:07 +000090 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000091 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000092 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000093 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
94 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
95 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
96 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +000097 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +000098 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +000099 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
hhtiand33db922011-09-02 13:31:24 +0000100 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000101
102!ifdef $(SOURCE_DEBUG_ENABLE)
103 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
104 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
105!else
mdkinney42a83e82010-08-03 07:41:54 +0000106 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
107 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000108!endif
jljusten152d9a62010-10-13 07:07:42 +0000109
jljusten7ca30a62011-01-13 05:46:52 +0000110 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000111 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000112 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeff55b17532012-03-15 05:54:00 +0000113 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000114
115!if $(SECURE_BOOT_ENABLE) == TRUE
116 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
117 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
118 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
119!endif
120
121[LibraryClasses.common]
122!if $(SECURE_BOOT_ENABLE) == TRUE
123 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
124!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000125
jljusten49ba9442009-05-27 21:10:18 +0000126[LibraryClasses.common.SEC]
jljustenb90aefa2012-07-26 16:36:39 +0000127!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000128 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000129!else
130 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
131!endif
xli24abec2e52009-12-29 09:10:05 +0000132 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000133 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000134!ifdef $(SOURCE_DEBUG_ENABLE)
135 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
136!endif
mdkinney42a83e82010-08-03 07:41:54 +0000137 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
138 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
139 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
140 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000141
142[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000143 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
144 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
145 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
146 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
147 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000148 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000149 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000150 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000151!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000152 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000153!else
154 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
155!endif
jljusten49ba9442009-05-27 21:10:18 +0000156 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
157
158[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000159 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
160 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
161 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
162 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
163 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000164 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000165 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000166 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000167!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000168 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000169!else
170 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
171!endif
jljusten49ba9442009-05-27 21:10:18 +0000172 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
173 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
174 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000175!ifdef $(SOURCE_DEBUG_ENABLE)
176 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
177!endif
jljusten49ba9442009-05-27 21:10:18 +0000178
179[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000180 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
181 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
182 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000183 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000184!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000185 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000186!else
187 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
188!endif
jljusten49ba9442009-05-27 21:10:18 +0000189 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
190 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000191!ifdef $(SOURCE_DEBUG_ENABLE)
192 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
193!endif
jljusten49ba9442009-05-27 21:10:18 +0000194
195[LibraryClasses.common.DXE_RUNTIME_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000196 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
197 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
198 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000199 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000200!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000201 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000202!else
203 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
204!endif
jljusten49ba9442009-05-27 21:10:18 +0000205 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000206 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000207!if $(SECURE_BOOT_ENABLE) == TRUE
208 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
209!endif
jljusten49ba9442009-05-27 21:10:18 +0000210
211[LibraryClasses.common.UEFI_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000212 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
213 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
214 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000215 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000216!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000217 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000218!else
219 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
220!endif
jljusten49ba9442009-05-27 21:10:18 +0000221 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000222 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
223
224[LibraryClasses.common.DXE_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000225 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
226 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
227 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000228 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000229 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000230!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000231 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000232!else
233 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
234!endif
jljusten49ba9442009-05-27 21:10:18 +0000235 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
236 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
237 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
238 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
239 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
240
jljusten86fef5b2009-06-30 15:57:29 +0000241[LibraryClasses.common.UEFI_APPLICATION]
242 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
243 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000244!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000246!else
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
248!endif
jljusten86fef5b2009-06-30 15:57:29 +0000249
jljusten49ba9442009-05-27 21:10:18 +0000250################################################################################
251#
252# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
253#
254################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000255[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000256 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
257 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000258 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
259 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000260 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
261 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000262!if $(SECURE_BOOT_ENABLE) == TRUE
263 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
264!endif
lgao48fa729a2010-03-15 01:40:59 +0000265
lgao47b202cb2010-02-23 23:58:38 +0000266[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000267 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000268 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000269 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
270 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
271 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
jljusten8cee3de2012-03-09 17:38:53 +0000272!if $(SECURE_BOOT_ENABLE) == TRUE
273 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
274!else
jljusten49ba9442009-05-27 21:10:18 +0000275 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
jljusten8cee3de2012-03-09 17:38:53 +0000276!endif
jljusten49ba9442009-05-27 21:10:18 +0000277 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
jljusten27f58ea2009-09-26 07:15:51 +0000278 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
279 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
280 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
281 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
jljusten49ba9442009-05-27 21:10:18 +0000282
jljusten49ba9442009-05-27 21:10:18 +0000283 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
284
jljusten49ba9442009-05-27 21:10:18 +0000285 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
286 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000287!ifdef $(SOURCE_DEBUG_ENABLE)
288 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
289!else
jljusten49ba9442009-05-27 21:10:18 +0000290 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000291!endif
292
gikidy670a64e2011-08-25 03:19:57 +0000293!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000294 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000295!endif
jljusten49ba9442009-05-27 21:10:18 +0000296
jljusten345a0c82011-06-26 18:58:41 +0000297!if $(BUILD_NEW_SHELL)
298 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
299!else
300!if $(USE_NEW_SHELL)
301 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
302!endif
303!endif
304
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000305[PcdsFixedAtBuild.X64]
306!if $(SECURE_BOOT_ENABLE) == TRUE
307 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
308 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
309 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
310 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
311!endif
312
jljusten49ba9442009-05-27 21:10:18 +0000313################################################################################
314#
315# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
316#
317################################################################################
318
lgao47b202cb2010-02-23 23:58:38 +0000319[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000320 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000321 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
323 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
324
jljusten49ba9442009-05-27 21:10:18 +0000325
326################################################################################
327#
328# Components Section - list of all EDK II Modules needed by this Platform.
329#
330################################################################################
331[Components.IA32]
332 #
333 # SEC Phase modules
334 #
jljustenc1c26692010-01-04 16:17:59 +0000335 OvmfPkg/Sec/SecMain.inf {
336 <LibraryClasses>
337 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
338 }
jljusten49ba9442009-05-27 21:10:18 +0000339
340 #
341 # PEI Phase modules
342 #
343 MdeModulePkg/Core/Pei/PeiMain.inf
344 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
345 <LibraryClasses>
346 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
347 }
348 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000349 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000350
351 OvmfPkg/PlatformPei/PlatformPei.inf {
352 <LibraryClasses>
353 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
354 }
jljusten49ba9442009-05-27 21:10:18 +0000355
356[Components.X64]
357 #
358 # DXE Phase modules
359 #
360 MdeModulePkg/Core/Dxe/DxeMain.inf {
361 <LibraryClasses>
362 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
363 }
364
365 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
366 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
367 <LibraryClasses>
368 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
369 }
370
371 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000372
373!if $(SECURE_BOOT_ENABLE) == TRUE
374 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
375 <LibraryClasses>
376 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000377 }
378!else
jljusten49ba9442009-05-27 21:10:18 +0000379 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000380!endif
381
xli24e6d3b272009-12-25 06:36:10 +0000382 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000383 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000384 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000385 UefiCpuPkg/CpuDxe/CpuDxe.inf
386 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
387 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000388 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000389 PcAtChipsetPkg/KbcResetDxe/Reset.inf
390 MdeModulePkg/Universal/Metronome/Metronome.inf {
391 <LibraryClasses>
392 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
393 }
394
klu278e748b2009-07-07 03:21:07 +0000395 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000396 <LibraryClasses>
397 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
398 }
399
jljustenc1c26692010-01-04 16:17:59 +0000400 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000401 <LibraryClasses>
402 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000403!ifdef $(CSM_ENABLE)
404 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
405!endif
jljusten49ba9442009-05-27 21:10:18 +0000406 }
407
jljustenefd82c52010-03-21 00:34:15 +0000408 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljusten27f58ea2009-09-26 07:15:51 +0000409 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
410 <LibraryClasses>
411 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
412 }
413 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
414 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000415 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
416 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
417 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
418 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
419 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
420 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
421 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
422 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000423 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000424 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
425 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
426 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
427 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
428 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
429 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
430 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
431 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
432 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000433 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000434
jljusteneaf4f332011-04-12 15:08:51 +0000435 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
436 <LibraryClasses>
437 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
438 }
jljusten49ba9442009-05-27 21:10:18 +0000439
440 #
441 # ISA Support
442 #
443 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
444 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
445 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
446 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
447 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
448
449 #
jljustenfb511812011-08-13 22:54:37 +0000450 # SMBIOS Support
451 #
452 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
453 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
454
455 #
jljusten49ba9442009-05-27 21:10:18 +0000456 # ACPI Support
457 #
458 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000459 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000460 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000461
462 #
463 # Network Support
464 #
465!if $(NETWORK_ENABLE)
466 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
467 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
468 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
469 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
470 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
471 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
472 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
473 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
474 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
475 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
476 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
477 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
478 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
479!endif
jljusten152d9a62010-10-13 07:07:42 +0000480
jljusten689562c2010-12-31 07:55:38 +0000481 #
482 # Usb Support
483 #
484 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
485 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
486 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
487 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
488 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
489
jljusten4b3d6632011-11-10 22:04:49 +0000490!ifdef $(CSM_ENABLE)
491 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
492 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
493 OvmfPkg/Csm/Csm16/Csm16.inf
494!endif
495
jljusten345a0c82011-06-26 18:58:41 +0000496!if $(BUILD_NEW_SHELL)
497 ShellPkg/Application/Shell/Shell.inf {
498 <LibraryClasses>
499 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
500 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
501 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
502 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
503 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
504 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
505 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
506 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
507 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
508 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
509 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
510 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
511 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000512 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000513# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
514# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
515
516 <PcdsFixedAtBuild>
517 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
518 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
519 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
520 }
521!endif
522
jljusten8cee3de2012-03-09 17:38:53 +0000523!if $(SECURE_BOOT_ENABLE) == TRUE
524 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
525 <LibraryClasses>
526 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
527 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
528 }
leegrosenbaum7a616e52012-04-04 17:35:06 +0000529 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000530!endif