blob: 16037b37721d24647f98e691cf65d0cf6bd11338 [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/OvmfIa32
27 SUPPORTED_ARCHITECTURES = IA32
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
mdkinney7416f4e2010-07-26 18:07:19 +000030 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
jljusten49ba9442009-05-27 21:10:18 +000031
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
100 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000101
vanjeffc6efcc22010-09-12 06:46:55 +0000102!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
jljusten152d9a62010-10-13 07:07:42 +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
jljusten152d9a62010-10-13 07:07:42 +0000141
jljusten49ba9442009-05-27 21:10:18 +0000142[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|FALSE
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
jljusten49ba9442009-05-27 21:10:18 +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
jljusten53de44a2012-07-31 17:54:39 +0000305!if $(SECURE_BOOT_ENABLE) == TRUE
306 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
307 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
308 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
309 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
310!endif
311
jljusten7ca126f2012-09-12 07:19:39 +0000312 # IRQs 5, 9, 10, 11 are level-triggered
313 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
314
jljusten49ba9442009-05-27 21:10:18 +0000315################################################################################
316#
317# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
318#
319################################################################################
320
lgao47b202cb2010-02-23 23:58:38 +0000321[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000323 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000324 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
325 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
326
jljusten49ba9442009-05-27 21:10:18 +0000327
328################################################################################
329#
330# Components Section - list of all EDK II Modules needed by this Platform.
331#
332################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000333[Components]
jljusten49ba9442009-05-27 21:10:18 +0000334 #
335 # SEC Phase modules
336 #
jljustenc1c26692010-01-04 16:17:59 +0000337 OvmfPkg/Sec/SecMain.inf {
338 <LibraryClasses>
339 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
340 }
jljusten49ba9442009-05-27 21:10:18 +0000341
342 #
343 # PEI Phase modules
344 #
345 MdeModulePkg/Core/Pei/PeiMain.inf
346 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
347 <LibraryClasses>
348 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
349 }
350 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000351 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000352
353 OvmfPkg/PlatformPei/PlatformPei.inf {
354 <LibraryClasses>
355 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
356 }
jljusten49ba9442009-05-27 21:10:18 +0000357
358 #
359 # DXE Phase modules
360 #
361 MdeModulePkg/Core/Dxe/DxeMain.inf {
362 <LibraryClasses>
363 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
364 }
365
366 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
367 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
368 <LibraryClasses>
369 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
370 }
371
372 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000373
374!if $(SECURE_BOOT_ENABLE) == TRUE
375 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
376 <LibraryClasses>
377 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000378 }
379!else
jljusten49ba9442009-05-27 21:10:18 +0000380 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000381!endif
382
xli24e6d3b272009-12-25 06:36:10 +0000383 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000384 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000385 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000386 UefiCpuPkg/CpuDxe/CpuDxe.inf
387 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
388 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000389 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000390 PcAtChipsetPkg/KbcResetDxe/Reset.inf
391 MdeModulePkg/Universal/Metronome/Metronome.inf {
392 <LibraryClasses>
393 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
394 }
395
klu278e748b2009-07-07 03:21:07 +0000396 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000397 <LibraryClasses>
398 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
399 }
400
jljustenc1c26692010-01-04 16:17:59 +0000401 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000402 <LibraryClasses>
403 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000404!ifdef $(CSM_ENABLE)
405 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
406!endif
jljusten49ba9442009-05-27 21:10:18 +0000407 }
408
jljustenefd82c52010-03-21 00:34:15 +0000409 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljustenfd51d752012-10-08 07:32:59 +0000410 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten27f58ea2009-09-26 07:15:51 +0000411 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
412 <LibraryClasses>
413 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
414 }
415 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
416 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000417 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
418 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
419 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
420 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
421 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
422 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
423 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
424 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000425 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000426 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
427 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
428 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
429 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
430 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
431 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
432 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
433 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
434 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000435 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000436
jljusteneaf4f332011-04-12 15:08:51 +0000437 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
438 <LibraryClasses>
439 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
440 }
jljusten49ba9442009-05-27 21:10:18 +0000441
442 #
443 # ISA Support
444 #
445 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
446 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
447 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
448 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
449 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
450
451 #
jljustenfb511812011-08-13 22:54:37 +0000452 # SMBIOS Support
453 #
454 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
455 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
456
457 #
jljusten49ba9442009-05-27 21:10:18 +0000458 # ACPI Support
459 #
460 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000461 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000462 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000463
464 #
465 # Network Support
466 #
467!if $(NETWORK_ENABLE)
468 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
469 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
470 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
471 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
472 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
473 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
474 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
475 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
476 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
477 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
478 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
479 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
480 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
481!endif
jljusten152d9a62010-10-13 07:07:42 +0000482
jljusten689562c2010-12-31 07:55:38 +0000483 #
484 # Usb Support
485 #
486 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
487 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
488 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
489 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
490 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
491
jljusten4b3d6632011-11-10 22:04:49 +0000492!ifdef $(CSM_ENABLE)
493 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
494 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
495 OvmfPkg/Csm/Csm16/Csm16.inf
496!endif
497
jljusten345a0c82011-06-26 18:58:41 +0000498!if $(BUILD_NEW_SHELL)
499 ShellPkg/Application/Shell/Shell.inf {
500 <LibraryClasses>
501 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
502 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
503 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
504 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
505 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
506 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
507 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
508 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
509 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
510 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
511 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
512 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
513 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000514 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000515# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
516# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
517
518 <PcdsFixedAtBuild>
519 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
520 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
521 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
522 }
523!endif
524
jljusten8cee3de2012-03-09 17:38:53 +0000525!if $(SECURE_BOOT_ENABLE) == TRUE
526 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
527 <LibraryClasses>
528 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
529 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
530 }
jljusten8c71ec82012-08-15 00:03:59 +0000531 OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000532!endif