blob: f73f079d07fcbc029e64983a87196f944da0d367 [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
mdkinneybbcafc42012-10-03 21:00:26 +000044!ifdef $(SOURCE_DEBUG_ENABLE)
45 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
46 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
47 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
48!endif
49
jljusten49ba9442009-05-27 21:10:18 +000050################################################################################
51#
52# SKU Identification section - list of all SKU IDs supported by this Platform.
53#
54################################################################################
55[SkuIds]
56 0|DEFAULT
57
58################################################################################
59#
60# Library Class section - list of all Library Classes needed by this Platform.
61#
62################################################################################
lgao47b202cb2010-02-23 23:58:38 +000063[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000064 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
65 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
66 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000067 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000068 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
69 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
70 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
71 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
72 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000073 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
74 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000077 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
78 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
79 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000080 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000081 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
82 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
83 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
84 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000085 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000086 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
87 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000088 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
89 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
90 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
91 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
92 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
93 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten14b21de2009-09-16 16:29:03 +000094 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
jljusten70520472011-03-31 23:17:07 +000095 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000096 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000097 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000098 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
99 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
100 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
101 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +0000102 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000103 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000104 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
hhtiand33db922011-09-02 13:31:24 +0000105 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000106
107!ifdef $(SOURCE_DEBUG_ENABLE)
108 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
109 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
110!else
mdkinney42a83e82010-08-03 07:41:54 +0000111 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
112 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000113!endif
jljusten152d9a62010-10-13 07:07:42 +0000114
jljusten7ca30a62011-01-13 05:46:52 +0000115 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000116 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000117 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeff55b17532012-03-15 05:54:00 +0000118 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000119
120!if $(SECURE_BOOT_ENABLE) == TRUE
121 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
122 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
123 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
124!endif
125
126[LibraryClasses.common]
127!if $(SECURE_BOOT_ENABLE) == TRUE
128 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
129!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000130
jljusten49ba9442009-05-27 21:10:18 +0000131[LibraryClasses.common.SEC]
jljustenb90aefa2012-07-26 16:36:39 +0000132!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000133 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000134!else
135 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
136!endif
xli24abec2e52009-12-29 09:10:05 +0000137 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000138 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000139!ifdef $(SOURCE_DEBUG_ENABLE)
140 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
141!endif
mdkinney42a83e82010-08-03 07:41:54 +0000142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
144 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
145 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000146
147[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
150 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
152 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000153 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000155 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000156!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000157 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000158!else
159 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
160!endif
jljusten49ba9442009-05-27 21:10:18 +0000161 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
162
163[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000164 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
165 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
166 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
167 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
168 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000169 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000170 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000171 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000172!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000173 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000174!else
175 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
176!endif
jljusten49ba9442009-05-27 21:10:18 +0000177 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
178 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
179 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000180!ifdef $(SOURCE_DEBUG_ENABLE)
181 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
182!endif
jljusten49ba9442009-05-27 21:10:18 +0000183
184[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000185 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
186 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
187 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000188 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000189!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000190 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000191!else
192 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
193!endif
jljusten49ba9442009-05-27 21:10:18 +0000194 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
195 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000196!ifdef $(SOURCE_DEBUG_ENABLE)
197 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
198!endif
jljusten49ba9442009-05-27 21:10:18 +0000199
200[LibraryClasses.common.DXE_RUNTIME_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000201 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
202 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000204 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000205!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000206 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000207!else
208 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
209!endif
jljusten49ba9442009-05-27 21:10:18 +0000210 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000211 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000212!if $(SECURE_BOOT_ENABLE) == TRUE
213 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
214!endif
jljusten49ba9442009-05-27 21:10:18 +0000215
216[LibraryClasses.common.UEFI_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000217 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
218 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
219 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000220 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000221!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000222 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000223!else
224 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
225!endif
jljusten49ba9442009-05-27 21:10:18 +0000226 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000227 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
228
229[LibraryClasses.common.DXE_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000230 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
231 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
232 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000233 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000234 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000235!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000236 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000237!else
238 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
239!endif
jljusten49ba9442009-05-27 21:10:18 +0000240 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
241 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
242 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
243 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
244 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
245
jljusten86fef5b2009-06-30 15:57:29 +0000246[LibraryClasses.common.UEFI_APPLICATION]
247 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
248 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000249!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000251!else
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
253!endif
jljusten86fef5b2009-06-30 15:57:29 +0000254
jljusten49ba9442009-05-27 21:10:18 +0000255################################################################################
256#
257# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
258#
259################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000260[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000261 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
262 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000263 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
264 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000265 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
266 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000267!if $(SECURE_BOOT_ENABLE) == TRUE
268 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
269!endif
lgao48fa729a2010-03-15 01:40:59 +0000270
lgao47b202cb2010-02-23 23:58:38 +0000271[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000272 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000273 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000274 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
275 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
276 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
jljusten8cee3de2012-03-09 17:38:53 +0000277!if $(SECURE_BOOT_ENABLE) == TRUE
278 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
279!else
jljusten49ba9442009-05-27 21:10:18 +0000280 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
jljusten8cee3de2012-03-09 17:38:53 +0000281!endif
jljusten49ba9442009-05-27 21:10:18 +0000282 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
jljusten27f58ea2009-09-26 07:15:51 +0000283 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
284 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
285 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
286 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
jljusten49ba9442009-05-27 21:10:18 +0000287
jljusten49ba9442009-05-27 21:10:18 +0000288 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
289
jljusten49ba9442009-05-27 21:10:18 +0000290 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
291 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000292!ifdef $(SOURCE_DEBUG_ENABLE)
293 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
294!else
jljusten49ba9442009-05-27 21:10:18 +0000295 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000296!endif
297
gikidy670a64e2011-08-25 03:19:57 +0000298!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000299 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000300!endif
jljusten49ba9442009-05-27 21:10:18 +0000301
jljusten345a0c82011-06-26 18:58:41 +0000302!if $(BUILD_NEW_SHELL)
303 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
304!else
305!if $(USE_NEW_SHELL)
306 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
307!endif
308!endif
309
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000310[PcdsFixedAtBuild.X64]
311!if $(SECURE_BOOT_ENABLE) == TRUE
312 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
313 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
314 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
315 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
316!endif
317
jljusten7ca126f2012-09-12 07:19:39 +0000318 # IRQs 5, 9, 10, 11 are level-triggered
319 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
320
jljusten49ba9442009-05-27 21:10:18 +0000321################################################################################
322#
323# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
324#
325################################################################################
326
lgao47b202cb2010-02-23 23:58:38 +0000327[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000328 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000329 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000330 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
331 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
332
jljusten49ba9442009-05-27 21:10:18 +0000333
334################################################################################
335#
336# Components Section - list of all EDK II Modules needed by this Platform.
337#
338################################################################################
339[Components.IA32]
340 #
341 # SEC Phase modules
342 #
jljustenc1c26692010-01-04 16:17:59 +0000343 OvmfPkg/Sec/SecMain.inf {
344 <LibraryClasses>
345 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
346 }
jljusten49ba9442009-05-27 21:10:18 +0000347
348 #
349 # PEI Phase modules
350 #
351 MdeModulePkg/Core/Pei/PeiMain.inf
352 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
353 <LibraryClasses>
354 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
355 }
356 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000357 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000358
359 OvmfPkg/PlatformPei/PlatformPei.inf {
360 <LibraryClasses>
361 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
362 }
jljusten49ba9442009-05-27 21:10:18 +0000363
364[Components.X64]
365 #
366 # DXE Phase modules
367 #
368 MdeModulePkg/Core/Dxe/DxeMain.inf {
369 <LibraryClasses>
370 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
371 }
372
373 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
374 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
375 <LibraryClasses>
376 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
377 }
378
379 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000380
381!if $(SECURE_BOOT_ENABLE) == TRUE
382 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
383 <LibraryClasses>
384 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000385 }
386!else
jljusten49ba9442009-05-27 21:10:18 +0000387 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000388!endif
389
xli24e6d3b272009-12-25 06:36:10 +0000390 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000391 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000392 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000393 UefiCpuPkg/CpuDxe/CpuDxe.inf
394 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
395 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000396 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000397 PcAtChipsetPkg/KbcResetDxe/Reset.inf
398 MdeModulePkg/Universal/Metronome/Metronome.inf {
399 <LibraryClasses>
400 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
401 }
402
klu278e748b2009-07-07 03:21:07 +0000403 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000404 <LibraryClasses>
405 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
406 }
407
jljustenc1c26692010-01-04 16:17:59 +0000408 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000409 <LibraryClasses>
410 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000411!ifdef $(CSM_ENABLE)
412 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
413!endif
jljusten49ba9442009-05-27 21:10:18 +0000414 }
415
jljustenefd82c52010-03-21 00:34:15 +0000416 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljustenfd51d752012-10-08 07:32:59 +0000417 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten27f58ea2009-09-26 07:15:51 +0000418 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
419 <LibraryClasses>
420 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
421 }
422 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
423 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000424 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
425 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
426 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
427 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
428 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
429 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
430 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
431 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000432 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000433 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
434 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
435 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
436 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
437 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
438 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
439 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
440 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
441 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000442 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000443
jljusteneaf4f332011-04-12 15:08:51 +0000444 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
445 <LibraryClasses>
446 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
447 }
jljusten49ba9442009-05-27 21:10:18 +0000448
449 #
450 # ISA Support
451 #
452 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
453 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
454 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
455 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
456 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
457
458 #
jljustenfb511812011-08-13 22:54:37 +0000459 # SMBIOS Support
460 #
461 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
462 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
463
464 #
jljusten49ba9442009-05-27 21:10:18 +0000465 # ACPI Support
466 #
467 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000468 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000469 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000470
471 #
472 # Network Support
473 #
474!if $(NETWORK_ENABLE)
475 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
476 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
477 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
478 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
479 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
480 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
481 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
482 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
483 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
484 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
485 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
486 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
487 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
488!endif
jljusten152d9a62010-10-13 07:07:42 +0000489
jljusten689562c2010-12-31 07:55:38 +0000490 #
491 # Usb Support
492 #
493 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
494 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
495 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
496 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
497 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
498
jljusten4b3d6632011-11-10 22:04:49 +0000499!ifdef $(CSM_ENABLE)
500 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
501 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
502 OvmfPkg/Csm/Csm16/Csm16.inf
503!endif
504
jljusten345a0c82011-06-26 18:58:41 +0000505!if $(BUILD_NEW_SHELL)
506 ShellPkg/Application/Shell/Shell.inf {
507 <LibraryClasses>
508 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
509 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
510 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
511 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
512 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
513 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
514 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
515 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
516 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
517 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
518 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
519 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
520 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000521 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000522# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
523# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
524
525 <PcdsFixedAtBuild>
526 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
527 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
528 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
529 }
530!endif
531
jljusten8cee3de2012-03-09 17:38:53 +0000532!if $(SECURE_BOOT_ENABLE) == TRUE
533 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
534 <LibraryClasses>
535 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
536 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
537 }
jljusten8c71ec82012-08-15 00:03:59 +0000538 OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000539!endif