blob: 753ab277799f94281589f2ff88cf80bb104797e5 [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/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
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
mdkinneybbcafc42012-10-03 21:00:26 +000046!ifdef $(SOURCE_DEBUG_ENABLE)
47 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
48 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50!endif
51
jljusten49ba9442009-05-27 21:10:18 +000052################################################################################
53#
54# SKU Identification section - list of all SKU IDs supported by this Platform.
55#
56################################################################################
57[SkuIds]
58 0|DEFAULT
59
60################################################################################
61#
62# Library Class section - list of all Library Classes needed by this Platform.
63#
64################################################################################
lgao47b202cb2010-02-23 23:58:38 +000065[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000066 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +000067 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +000068 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000069 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000070 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
71 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
72 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
73 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
74 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000075 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
76 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
77 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
78 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000079 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
80 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000082 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000083 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
84 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
85 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
86 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000087 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000088 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
89 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000090 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
91 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
92 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
93 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
94 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +000095 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
jljusten14b21de2009-09-16 16:29:03 +000096 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +000097 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000098 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000099 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000100 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
101 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
102 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
103 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +0000104 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000105 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000106 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000107 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljusten3c0a0512012-11-02 18:27:55 +0000108 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000109 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000110 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000111
112!ifdef $(SOURCE_DEBUG_ENABLE)
113 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
114 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
115!else
mdkinney42a83e82010-08-03 07:41:54 +0000116 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
117 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000118!endif
jljusten152d9a62010-10-13 07:07:42 +0000119
jljusten7ca30a62011-01-13 05:46:52 +0000120 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000121 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000122 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
123
124!if $(SECURE_BOOT_ENABLE) == TRUE
125 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
126 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
127 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
Laszlo Ersek0d28d282013-09-21 08:18:03 +0000128 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Star Zeng285542e2015-07-01 03:05:47 +0000129 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000130!if $(NETWORK_IP6_ENABLE) == TRUE
131 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
132!endif
Star Zeng285542e2015-07-01 03:05:47 +0000133!else
134 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
135 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000136!endif
Star Zeng68ef1ad2015-08-25 02:59:25 +0000137 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000138
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000139!if $(HTTP_BOOT_ENABLE) == TRUE
140 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
141!endif
142
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000143 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
144 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000145 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000146 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000147
jljusten8cee3de2012-03-09 17:38:53 +0000148[LibraryClasses.common]
149!if $(SECURE_BOOT_ENABLE) == TRUE
150 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
151!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000152
jljusten49ba9442009-05-27 21:10:18 +0000153[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000154 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000155 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.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
xli24abec2e52009-12-29 09:10:05 +0000161 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000162 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000163!ifdef $(SOURCE_DEBUG_ENABLE)
164 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
165!endif
mdkinney42a83e82010-08-03 07:41:54 +0000166 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
167 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
168 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
169 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000170 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000171
172[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000173 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
174 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
175 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
176 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
177 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000178 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000179 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000180 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000181!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000182 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000183!else
184 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
185!endif
jljusten49ba9442009-05-27 21:10:18 +0000186 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
187
188[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000189 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
190 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
191 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
192 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
193 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000194 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000195 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000196 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000197!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000198 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000199!else
200 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
201!endif
jljusten49ba9442009-05-27 21:10:18 +0000202 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
203 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
204 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000205!ifdef $(SOURCE_DEBUG_ENABLE)
206 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
207!endif
jljusten49ba9442009-05-27 21:10:18 +0000208
209[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000210 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
211 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
212 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000213 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000214!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000215 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000216!else
217 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
218!endif
jljusten49ba9442009-05-27 21:10:18 +0000219 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000220!ifdef $(SOURCE_DEBUG_ENABLE)
221 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
222!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000223 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000224
225[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000226 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000227 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000228 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
229 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
230 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000231 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000232!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000233 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000234!else
235 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
236!endif
jljusten49ba9442009-05-27 21:10:18 +0000237 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000238!if $(SECURE_BOOT_ENABLE) == TRUE
239 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
240!endif
jljusten49ba9442009-05-27 21:10:18 +0000241
242[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000243 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
244 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000245 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
246 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
247 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000248 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000249!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000251!else
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
253!endif
jljusten49ba9442009-05-27 21:10:18 +0000254 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
255
256[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000257 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000258 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000259 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000260 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000261 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000262 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000263!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000264 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000265!else
266 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
267!endif
jljusten49ba9442009-05-27 21:10:18 +0000268 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
269 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
270 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
271 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
272 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000273 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000274 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000275!ifdef $(SOURCE_DEBUG_ENABLE)
276 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
277!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000278 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000279
jljusten86fef5b2009-06-30 15:57:29 +0000280[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000281 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
282 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000283 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
284 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000285!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000287!else
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
289!endif
jljusten86fef5b2009-06-30 15:57:29 +0000290
Gabriel Somlo988e5982014-11-14 00:38:53 +0000291[LibraryClasses.common.DXE_SMM_DRIVER]
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
293 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
294
295[LibraryClasses.common.SMM_CORE]
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
298
jljusten49ba9442009-05-27 21:10:18 +0000299################################################################################
300#
301# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
302#
303################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000304[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000305 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
306 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000307 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
308 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000309 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
310 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000311!if $(SECURE_BOOT_ENABLE) == TRUE
312 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
313!endif
lgao48fa729a2010-03-15 01:40:59 +0000314
lgao47b202cb2010-02-23 23:58:38 +0000315[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000316 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000317 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000318 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
319 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
320 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000321 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000323 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000324
jljusten49ba9442009-05-27 21:10:18 +0000325 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
326
jljusten49ba9442009-05-27 21:10:18 +0000327 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
328 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000329!ifdef $(SOURCE_DEBUG_ENABLE)
330 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
331!else
jljusten49ba9442009-05-27 21:10:18 +0000332 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000333!endif
334
gikidy670a64e2011-08-25 03:19:57 +0000335!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000336 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000337!endif
jljusten49ba9442009-05-27 21:10:18 +0000338
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000339!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000340 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000341!endif
342
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000343[PcdsFixedAtBuild.X64]
344!if $(SECURE_BOOT_ENABLE) == TRUE
345 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000346 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
347 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
348 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000349!endif
350
jljusten7ca126f2012-09-12 07:19:39 +0000351 # IRQs 5, 9, 10, 11 are level-triggered
352 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
353
jljusten49ba9442009-05-27 21:10:18 +0000354################################################################################
355#
356# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
357#
358################################################################################
359
lgao47b202cb2010-02-23 23:58:38 +0000360[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000361 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000362 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000363 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
364 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000365 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000366 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
367 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000368 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000369
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000370 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000371
Laszlo Ersek848834c2014-11-06 14:21:21 +0000372 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000373 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000375
Laszlo Ersek37baf062015-06-22 17:11:05 +0000376 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
Laszlo Ersekc3db5a82015-08-06 10:14:12 +0000377 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
Laszlo Ersek6fbef932015-08-06 10:13:55 +0000378 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
Laszlo Ersek37baf062015-06-22 17:11:05 +0000379
jljusten49ba9442009-05-27 21:10:18 +0000380################################################################################
381#
382# Components Section - list of all EDK II Modules needed by this Platform.
383#
384################################################################################
385[Components.IA32]
Jordan Justen497cbb52014-08-18 23:04:00 +0000386 OvmfPkg/ResetVector/ResetVector.inf
387
jljusten49ba9442009-05-27 21:10:18 +0000388 #
389 # SEC Phase modules
390 #
jljustenc1c26692010-01-04 16:17:59 +0000391 OvmfPkg/Sec/SecMain.inf {
392 <LibraryClasses>
393 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
394 }
jljusten49ba9442009-05-27 21:10:18 +0000395
396 #
397 # PEI Phase modules
398 #
399 MdeModulePkg/Core/Pei/PeiMain.inf
400 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
401 <LibraryClasses>
402 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
403 }
404 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000405 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000406
407 OvmfPkg/PlatformPei/PlatformPei.inf {
408 <LibraryClasses>
409 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
410 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000411 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
412 <LibraryClasses>
413 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
414 }
jljusten49ba9442009-05-27 21:10:18 +0000415
416[Components.X64]
417 #
418 # DXE Phase modules
419 #
420 MdeModulePkg/Core/Dxe/DxeMain.inf {
421 <LibraryClasses>
422 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000423 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000424 }
425
426 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
427 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
428 <LibraryClasses>
429 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
430 }
431
432 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000433
434!if $(SECURE_BOOT_ENABLE) == TRUE
435 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
436 <LibraryClasses>
437 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000438 }
439!else
jljusten49ba9442009-05-27 21:10:18 +0000440 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000441!endif
442
xli24e6d3b272009-12-25 06:36:10 +0000443 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000444 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000445 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000446 UefiCpuPkg/CpuDxe/CpuDxe.inf
447 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
Laszlo Ersekd52bde12015-07-14 12:01:36 +0000448 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000449 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
450 <LibraryClasses>
451 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
452 }
jljusten49ba9442009-05-27 21:10:18 +0000453 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000454 MdeModulePkg/Universal/Metronome/Metronome.inf
455 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000456 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000457 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000458!ifdef $(CSM_ENABLE)
459 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
460!endif
jljusten49ba9442009-05-27 21:10:18 +0000461 }
462
jljustenefd82c52010-03-21 00:34:15 +0000463 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000464 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000465 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000466 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000467 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000468 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000469 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000470 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000471 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
472 <LibraryClasses>
473 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
474 }
475 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
Star Zengdd0ad622015-08-25 03:02:46 +0000476 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
477 <LibraryClasses>
478 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
479 }
jljusten49ba9442009-05-27 21:10:18 +0000480 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
481 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
482 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
483 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
484 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000485 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
486 <LibraryClasses>
487 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
488 }
jljusten49ba9442009-05-27 21:10:18 +0000489 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000490 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
491 <LibraryClasses>
492 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
493 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
494 }
jljusten86fef5b2009-06-30 15:57:29 +0000495 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000496 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
497 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
498 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
499 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
500 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
501 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
502 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
503 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
504 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000505 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000506 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000507
jljusteneaf4f332011-04-12 15:08:51 +0000508 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
509 <LibraryClasses>
510 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
511 }
jljusten49ba9442009-05-27 21:10:18 +0000512
513 #
514 # ISA Support
515 #
516 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
517 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
518 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
519 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
520 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
521
522 #
jljustenfb511812011-08-13 22:54:37 +0000523 # SMBIOS Support
524 #
Laszlo Ersek98937dc2015-08-06 10:13:42 +0000525 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
526 <LibraryClasses>
527 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
528 }
jljustenfb511812011-08-13 22:54:37 +0000529 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
530
531 #
jljusten49ba9442009-05-27 21:10:18 +0000532 # ACPI Support
533 #
534 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000535 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000536 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000537 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000538 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000539 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000540
541 #
542 # Network Support
543 #
mdkinney7416f4e2010-07-26 18:07:19 +0000544 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
545 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
546 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
547 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
548 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
549 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000550 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
551 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000552 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000553!if $(NETWORK_IP6_ENABLE) == TRUE
554 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
555 NetworkPkg/TcpDxe/TcpDxe.inf
556 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
557 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
558 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
559 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
560!if $(SECURE_BOOT_ENABLE) == TRUE
561 NetworkPkg/IScsiDxe/IScsiDxe.inf
562!else
563 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
564!endif
565!else
566 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000567 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
568 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000569!endif
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000570!if $(HTTP_BOOT_ENABLE) == TRUE
571 NetworkPkg/DnsDxe/DnsDxe.inf
572 NetworkPkg/HttpDxe/HttpDxe.inf
573 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
574!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000575 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000576
jljusten689562c2010-12-31 07:55:38 +0000577 #
578 # Usb Support
579 #
580 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
581 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000582 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000583 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
584 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
585 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
586
jljusten4b3d6632011-11-10 22:04:49 +0000587!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000588 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
589 <LibraryClasses>
590 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
591 }
jljusten4b3d6632011-11-10 22:04:49 +0000592 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
593 OvmfPkg/Csm/Csm16/Csm16.inf
594!endif
595
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000596!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000597 ShellPkg/Application/Shell/Shell.inf {
598 <LibraryClasses>
599 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
600 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
601 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
602 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
603 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
604 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
605 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
606 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
607 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000608 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000609 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
610 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000611 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
612# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
613# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000614 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000615
616 <PcdsFixedAtBuild>
617 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
618 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
619 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
620 }
621!endif
622
jljusten8cee3de2012-03-09 17:38:53 +0000623!if $(SECURE_BOOT_ENABLE) == TRUE
Laszlo Ersek8714a632014-10-02 08:08:05 +0000624 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000625!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000626
627 OvmfPkg/PlatformDxe/Platform.inf