blob: 5741eac330db6cc76502c6cd545b9bcda13bda4a [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#
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +00004# Copyright (c) 2006 - 2015, 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
Gary Lin36c64132014-12-19 19:13:44 +000037 DEFINE NETWORK_IP6_ENABLE = FALSE
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +000038 DEFINE HTTP_BOOT_ENABLE = FALSE
jljustene05061c2012-03-09 17:38:21 +000039
jljusten0bc7e562010-01-04 16:18:02 +000040[BuildOptions]
jljusten0b5a5022012-07-31 17:54:18 +000041 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
jljusten152d9a62010-10-13 07:07:42 +000042 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
43 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
44 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000045 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
jljusten0bc7e562010-01-04 16:18:02 +000046
jljusten49ba9442009-05-27 21:10:18 +000047################################################################################
48#
49# SKU Identification section - list of all SKU IDs supported by this Platform.
50#
51################################################################################
52[SkuIds]
53 0|DEFAULT
54
55################################################################################
56#
57# Library Class section - list of all Library Classes needed by this Platform.
58#
59################################################################################
lgao47b202cb2010-02-23 23:58:38 +000060[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000061 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +000062 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +000063 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000064 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000065 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
66 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
67 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
68 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
69 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000070 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
71 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
72 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
73 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000074 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
75 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
76 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000077 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000078 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
79 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
80 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
81 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000082 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000083 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
84 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000085 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
86 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
87 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
88 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
89 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +000090 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
jljusten14b21de2009-09-16 16:29:03 +000091 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +000092 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000093 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000094 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000095 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
96 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
97 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
98 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +000099 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000100 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000101 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000102 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljusten3c0a0512012-11-02 18:27:55 +0000103 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000104 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000105 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000106
vanjeffc6efcc22010-09-12 06:46:55 +0000107!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
118
119!if $(SECURE_BOOT_ENABLE) == TRUE
120 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
121 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
122 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
Laszlo Ersek0d28d282013-09-21 08:18:03 +0000123 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Star Zeng285542e2015-07-01 03:05:47 +0000124 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000125!if $(NETWORK_IP6_ENABLE) == TRUE
126 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
127!endif
Star Zeng285542e2015-07-01 03:05:47 +0000128!else
129 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
130 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000131!endif
Star Zeng68ef1ad2015-08-25 02:59:25 +0000132 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000133
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000134!if $(HTTP_BOOT_ENABLE) == TRUE
135 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
136!endif
137
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000138 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
139 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000140 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000141 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000142
jljusten8cee3de2012-03-09 17:38:53 +0000143[LibraryClasses.common]
144!if $(SECURE_BOOT_ENABLE) == TRUE
145 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
146!endif
jljusten152d9a62010-10-13 07:07:42 +0000147
jljusten49ba9442009-05-27 21:10:18 +0000148[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000149 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000150 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.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
xli24abec2e52009-12-29 09:10:05 +0000156 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000157 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000158!ifdef $(SOURCE_DEBUG_ENABLE)
159 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
160!endif
mdkinney42a83e82010-08-03 07:41:54 +0000161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
163 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
164 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000165 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000166
jljusten49ba9442009-05-27 21:10:18 +0000167[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000168 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
169 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
170 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
171 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
172 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000173 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000174 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000175 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000176!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000177 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000178!else
179 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
180!endif
jljusten49ba9442009-05-27 21:10:18 +0000181 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
182
183[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000184 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
185 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
186 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
187 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
188 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000189 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000190 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000191 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000192!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000193 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000194!else
195 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
196!endif
jljusten49ba9442009-05-27 21:10:18 +0000197 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
198 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
199 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000200!ifdef $(SOURCE_DEBUG_ENABLE)
201 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
202!endif
jljusten49ba9442009-05-27 21:10:18 +0000203
204[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000205 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
206 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
207 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000208 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000209!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000210 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000211!else
212 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
213!endif
jljusten49ba9442009-05-27 21:10:18 +0000214 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000215!ifdef $(SOURCE_DEBUG_ENABLE)
216 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
217!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000218 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000219
220[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000221 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000222 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000223 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
224 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
225 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000226 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000227!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000228 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000229!else
230 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
231!endif
jljusten49ba9442009-05-27 21:10:18 +0000232 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000233!if $(SECURE_BOOT_ENABLE) == TRUE
234 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
235!endif
jljusten49ba9442009-05-27 21:10:18 +0000236
237[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000238 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
239 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000240 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
241 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
242 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000243 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000244!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000246!else
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
248!endif
jljusten49ba9442009-05-27 21:10:18 +0000249 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
250
251[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000252 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000253 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000254 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000255 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000256 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000257 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000258!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000260!else
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
262!endif
jljusten49ba9442009-05-27 21:10:18 +0000263 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
264 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
265 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
266 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
267 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000268 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000269 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000270!ifdef $(SOURCE_DEBUG_ENABLE)
271 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
272!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000273 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000274
jljusten86fef5b2009-06-30 15:57:29 +0000275[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000276 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
277 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000278 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
279 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000280!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000282!else
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
284!endif
jljusten86fef5b2009-06-30 15:57:29 +0000285
Gabriel Somlo988e5982014-11-14 00:38:53 +0000286[LibraryClasses.common.DXE_SMM_DRIVER]
287 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
288 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
289
290[LibraryClasses.common.SMM_CORE]
291 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
292 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
293
jljusten49ba9442009-05-27 21:10:18 +0000294################################################################################
295#
296# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
297#
298################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000299[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000300 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
301 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000302 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
303 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
lgao48fa729a2010-03-15 01:40:59 +0000304 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
305 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000306!if $(SECURE_BOOT_ENABLE) == TRUE
307 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
308!endif
jljusten49ba9442009-05-27 21:10:18 +0000309
lgao47b202cb2010-02-23 23:58:38 +0000310[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000311 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000312 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000313 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
314 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
315 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000316 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000317 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000318 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000319
jljusten49ba9442009-05-27 21:10:18 +0000320 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
321
jljusten49ba9442009-05-27 21:10:18 +0000322 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
323 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000324!ifdef $(SOURCE_DEBUG_ENABLE)
325 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
326!else
jljusten49ba9442009-05-27 21:10:18 +0000327 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000328!endif
329
gikidy670a64e2011-08-25 03:19:57 +0000330!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000331 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000332!endif
jljusten49ba9442009-05-27 21:10:18 +0000333
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000334!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000335 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000336!endif
337
jljusten53de44a2012-07-31 17:54:39 +0000338!if $(SECURE_BOOT_ENABLE) == TRUE
339 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000340 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
341 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
342 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
jljusten53de44a2012-07-31 17:54:39 +0000343!endif
344
jljusten7ca126f2012-09-12 07:19:39 +0000345 # IRQs 5, 9, 10, 11 are level-triggered
346 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
347
jljusten49ba9442009-05-27 21:10:18 +0000348################################################################################
349#
350# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
351#
352################################################################################
353
lgao47b202cb2010-02-23 23:58:38 +0000354[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000355 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000356 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000357 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
358 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000359 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000360 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
361 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000362 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000363
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000364 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000365
Laszlo Ersek848834c2014-11-06 14:21:21 +0000366 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000367 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000369
Laszlo Ersek37baf062015-06-22 17:11:05 +0000370 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
Laszlo Ersekc3db5a82015-08-06 10:14:12 +0000371 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
Laszlo Ersek6fbef932015-08-06 10:13:55 +0000372 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
Laszlo Ersek37baf062015-06-22 17:11:05 +0000373
jljusten49ba9442009-05-27 21:10:18 +0000374################################################################################
375#
376# Components Section - list of all EDK II Modules needed by this Platform.
377#
378################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000379[Components]
Jordan Justen497cbb52014-08-18 23:04:00 +0000380 OvmfPkg/ResetVector/ResetVector.inf
381
jljusten49ba9442009-05-27 21:10:18 +0000382 #
383 # SEC Phase modules
384 #
jljustenc1c26692010-01-04 16:17:59 +0000385 OvmfPkg/Sec/SecMain.inf {
386 <LibraryClasses>
387 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
388 }
jljusten49ba9442009-05-27 21:10:18 +0000389
390 #
391 # PEI Phase modules
392 #
393 MdeModulePkg/Core/Pei/PeiMain.inf
394 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
395 <LibraryClasses>
396 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
397 }
398 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000399 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000400
401 OvmfPkg/PlatformPei/PlatformPei.inf {
402 <LibraryClasses>
403 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
404 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000405 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
406 <LibraryClasses>
407 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
408 }
jljusten49ba9442009-05-27 21:10:18 +0000409
410 #
411 # DXE Phase modules
412 #
413 MdeModulePkg/Core/Dxe/DxeMain.inf {
414 <LibraryClasses>
415 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000416 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000417 }
418
419 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
420 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
421 <LibraryClasses>
422 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
423 }
424
425 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000426
427!if $(SECURE_BOOT_ENABLE) == TRUE
428 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
429 <LibraryClasses>
430 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000431 }
432!else
jljusten49ba9442009-05-27 21:10:18 +0000433 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000434!endif
435
xli24e6d3b272009-12-25 06:36:10 +0000436 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000437 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000438 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000439 UefiCpuPkg/CpuDxe/CpuDxe.inf
440 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
Laszlo Ersekd52bde12015-07-14 12:01:36 +0000441 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000442 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
443 <LibraryClasses>
444 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
445 }
jljusten49ba9442009-05-27 21:10:18 +0000446 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000447 MdeModulePkg/Universal/Metronome/Metronome.inf
448 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000449 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000450 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000451!ifdef $(CSM_ENABLE)
452 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
453!endif
jljusten49ba9442009-05-27 21:10:18 +0000454 }
455
jljustenefd82c52010-03-21 00:34:15 +0000456 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000457 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000458 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000459 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000460 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000461 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000462 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000463 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000464 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
465 <LibraryClasses>
466 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
467 }
468 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
Star Zengdd0ad622015-08-25 03:02:46 +0000469 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
470 <LibraryClasses>
471 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
472 }
jljusten49ba9442009-05-27 21:10:18 +0000473 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
474 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
475 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
476 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
477 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000478 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
479 <LibraryClasses>
480 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
481 }
jljusten49ba9442009-05-27 21:10:18 +0000482 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000483 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
484 <LibraryClasses>
485 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
486 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
487 }
jljusten86fef5b2009-06-30 15:57:29 +0000488 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000489 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
490 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
491 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
492 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
493 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
494 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
495 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
496 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
497 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000498 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000499 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000500
jljusteneaf4f332011-04-12 15:08:51 +0000501 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
502 <LibraryClasses>
503 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
504 }
jljusten49ba9442009-05-27 21:10:18 +0000505
506 #
507 # ISA Support
508 #
509 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
510 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
511 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
512 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
513 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
514
515 #
jljustenfb511812011-08-13 22:54:37 +0000516 # SMBIOS Support
517 #
Laszlo Ersek98937dc2015-08-06 10:13:42 +0000518 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
519 <LibraryClasses>
520 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
521 }
jljustenfb511812011-08-13 22:54:37 +0000522 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
523
524 #
jljusten49ba9442009-05-27 21:10:18 +0000525 # ACPI Support
526 #
527 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000528 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000529 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000530 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000531 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000532 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000533
534 #
535 # Network Support
536 #
mdkinney7416f4e2010-07-26 18:07:19 +0000537 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
538 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
539 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
540 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
541 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
542 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000543 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
544 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000545 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000546!if $(NETWORK_IP6_ENABLE) == TRUE
547 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
548 NetworkPkg/TcpDxe/TcpDxe.inf
549 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
550 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
551 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
552 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
553!if $(SECURE_BOOT_ENABLE) == TRUE
554 NetworkPkg/IScsiDxe/IScsiDxe.inf
555!else
556 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
557!endif
558!else
559 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000560 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
561 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000562!endif
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000563!if $(HTTP_BOOT_ENABLE) == TRUE
564 NetworkPkg/DnsDxe/DnsDxe.inf
565 NetworkPkg/HttpDxe/HttpDxe.inf
566 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
567!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000568 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000569
jljusten689562c2010-12-31 07:55:38 +0000570 #
571 # Usb Support
572 #
573 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
574 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000575 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000576 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
577 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
578 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
579
jljusten4b3d6632011-11-10 22:04:49 +0000580!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000581 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
582 <LibraryClasses>
583 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
584 }
jljusten4b3d6632011-11-10 22:04:49 +0000585 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
586 OvmfPkg/Csm/Csm16/Csm16.inf
587!endif
588
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000589!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000590 ShellPkg/Application/Shell/Shell.inf {
591 <LibraryClasses>
592 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
593 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
594 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
595 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
596 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
597 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
598 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
599 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
600 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000601 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000602 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
603 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000604 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
605# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
606# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000607 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000608
609 <PcdsFixedAtBuild>
610 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
611 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
612 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
613 }
614!endif
615
jljusten8cee3de2012-03-09 17:38:53 +0000616!if $(SECURE_BOOT_ENABLE) == TRUE
Laszlo Ersek8714a632014-10-02 08:08:05 +0000617 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000618!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000619
620 OvmfPkg/PlatformDxe/Platform.inf