blob: 15eb0e051041cc73cd19348b3afd376cb76cf19f [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
Laszlo Ersekc075d252015-09-15 08:35:08 +0000224 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000225
226[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000227 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000228 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000229 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
230 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
231 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000232 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000233!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000234 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000235!else
236 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
237!endif
jljusten49ba9442009-05-27 21:10:18 +0000238 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000239!if $(SECURE_BOOT_ENABLE) == TRUE
240 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
241!endif
jljusten49ba9442009-05-27 21:10:18 +0000242
243[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000244 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
245 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000246 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
247 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
248 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000249 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000250!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000251 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000252!else
253 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
254!endif
jljusten49ba9442009-05-27 21:10:18 +0000255 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
256
257[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000258 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000259 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000260 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000261 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000262 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000263 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000264!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000266!else
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268!endif
jljusten49ba9442009-05-27 21:10:18 +0000269 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
270 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
271 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
272 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
273 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000275 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000276!ifdef $(SOURCE_DEBUG_ENABLE)
277 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
278!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000279 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000280
jljusten86fef5b2009-06-30 15:57:29 +0000281[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
283 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000284 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
285 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000286!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000288!else
289 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
290!endif
jljusten86fef5b2009-06-30 15:57:29 +0000291
Gabriel Somlo988e5982014-11-14 00:38:53 +0000292[LibraryClasses.common.DXE_SMM_DRIVER]
293 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
294 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
295
296[LibraryClasses.common.SMM_CORE]
297 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
298 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
299
jljusten49ba9442009-05-27 21:10:18 +0000300################################################################################
301#
302# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
303#
304################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000305[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000306 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
307 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000308 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
309 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000310 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
311 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000312!if $(SECURE_BOOT_ENABLE) == TRUE
313 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
314!endif
lgao48fa729a2010-03-15 01:40:59 +0000315
lgao47b202cb2010-02-23 23:58:38 +0000316[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000317 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000318 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000319 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
320 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
321 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000323 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000324 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000325
jljusten49ba9442009-05-27 21:10:18 +0000326 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
327
jljusten49ba9442009-05-27 21:10:18 +0000328 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
329 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000330!ifdef $(SOURCE_DEBUG_ENABLE)
331 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
332!else
jljusten49ba9442009-05-27 21:10:18 +0000333 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000334!endif
335
gikidy670a64e2011-08-25 03:19:57 +0000336!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000337 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000338!endif
jljusten49ba9442009-05-27 21:10:18 +0000339
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000340!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000341 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000342!endif
343
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000344[PcdsFixedAtBuild.X64]
345!if $(SECURE_BOOT_ENABLE) == TRUE
346 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000347 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
348 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
349 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000350!endif
351
jljusten7ca126f2012-09-12 07:19:39 +0000352 # IRQs 5, 9, 10, 11 are level-triggered
353 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
354
jljusten49ba9442009-05-27 21:10:18 +0000355################################################################################
356#
357# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
358#
359################################################################################
360
lgao47b202cb2010-02-23 23:58:38 +0000361[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000362 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000363 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000364 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
365 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000366 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000367 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
368 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000369 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000370
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000371 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000372
Laszlo Ersek848834c2014-11-06 14:21:21 +0000373 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000374 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000376
Laszlo Ersek37baf062015-06-22 17:11:05 +0000377 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
Laszlo Ersekc3db5a82015-08-06 10:14:12 +0000378 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
Laszlo Ersek6fbef932015-08-06 10:13:55 +0000379 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
Laszlo Ersek37baf062015-06-22 17:11:05 +0000380
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000381 # Noexec settings for DXE.
Laszlo Ersekd20b06a2015-09-15 08:35:19 +0000382 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
Laszlo Ersekc075d252015-09-15 08:35:08 +0000383 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000384
jljusten49ba9442009-05-27 21:10:18 +0000385################################################################################
386#
387# Components Section - list of all EDK II Modules needed by this Platform.
388#
389################################################################################
390[Components.IA32]
Jordan Justen497cbb52014-08-18 23:04:00 +0000391 OvmfPkg/ResetVector/ResetVector.inf
392
jljusten49ba9442009-05-27 21:10:18 +0000393 #
394 # SEC Phase modules
395 #
jljustenc1c26692010-01-04 16:17:59 +0000396 OvmfPkg/Sec/SecMain.inf {
397 <LibraryClasses>
398 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
399 }
jljusten49ba9442009-05-27 21:10:18 +0000400
401 #
402 # PEI Phase modules
403 #
404 MdeModulePkg/Core/Pei/PeiMain.inf
405 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
406 <LibraryClasses>
407 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
408 }
409 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000410 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
411 <LibraryClasses>
412 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
413 }
jljusten77ba9932009-09-07 20:18:17 +0000414
415 OvmfPkg/PlatformPei/PlatformPei.inf {
416 <LibraryClasses>
417 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
418 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000419 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
420 <LibraryClasses>
421 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
422 }
jljusten49ba9442009-05-27 21:10:18 +0000423
424[Components.X64]
425 #
426 # DXE Phase modules
427 #
428 MdeModulePkg/Core/Dxe/DxeMain.inf {
429 <LibraryClasses>
430 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000431 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000432 }
433
434 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
435 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
436 <LibraryClasses>
437 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
438 }
439
440 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000441
442!if $(SECURE_BOOT_ENABLE) == TRUE
443 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
444 <LibraryClasses>
445 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000446 }
447!else
jljusten49ba9442009-05-27 21:10:18 +0000448 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000449!endif
450
xli24e6d3b272009-12-25 06:36:10 +0000451 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000452 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000453 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000454 UefiCpuPkg/CpuDxe/CpuDxe.inf
455 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
Laszlo Ersekd52bde12015-07-14 12:01:36 +0000456 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000457 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
458 <LibraryClasses>
459 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
460 }
jljusten49ba9442009-05-27 21:10:18 +0000461 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000462 MdeModulePkg/Universal/Metronome/Metronome.inf
463 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000464 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000465 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000466!ifdef $(CSM_ENABLE)
467 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
468!endif
jljusten49ba9442009-05-27 21:10:18 +0000469 }
470
jljustenefd82c52010-03-21 00:34:15 +0000471 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000472 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000473 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000474 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000475 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000476 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000477 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000478 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000479 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
480 <LibraryClasses>
481 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
482 }
483 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
Star Zengdd0ad622015-08-25 03:02:46 +0000484 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
485 <LibraryClasses>
486 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
487 }
jljusten49ba9442009-05-27 21:10:18 +0000488 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
489 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
490 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
491 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
492 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000493 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
494 <LibraryClasses>
495 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
496 }
jljusten49ba9442009-05-27 21:10:18 +0000497 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000498 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
499 <LibraryClasses>
500 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
501 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
502 }
jljusten86fef5b2009-06-30 15:57:29 +0000503 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000504 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
505 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
506 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
507 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
508 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
Reza Jelvehb82802b2015-09-22 11:18:45 +0000509 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
510 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
511 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000512 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
513 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000514 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000515 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000516
jljusteneaf4f332011-04-12 15:08:51 +0000517 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
518 <LibraryClasses>
519 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
520 }
jljusten49ba9442009-05-27 21:10:18 +0000521
522 #
523 # ISA Support
524 #
525 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
526 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
527 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
528 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
529 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
530
531 #
jljustenfb511812011-08-13 22:54:37 +0000532 # SMBIOS Support
533 #
Laszlo Ersek98937dc2015-08-06 10:13:42 +0000534 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
535 <LibraryClasses>
536 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
537 }
jljustenfb511812011-08-13 22:54:37 +0000538 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
539
540 #
jljusten49ba9442009-05-27 21:10:18 +0000541 # ACPI Support
542 #
543 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000544 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000545 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000546 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000547 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000548 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000549
550 #
551 # Network Support
552 #
mdkinney7416f4e2010-07-26 18:07:19 +0000553 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
554 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
555 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
556 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
557 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
558 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000559 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
560 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000561 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000562!if $(NETWORK_IP6_ENABLE) == TRUE
563 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
564 NetworkPkg/TcpDxe/TcpDxe.inf
565 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
566 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
567 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
568 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
569!if $(SECURE_BOOT_ENABLE) == TRUE
570 NetworkPkg/IScsiDxe/IScsiDxe.inf
571!else
572 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
573!endif
574!else
575 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000576 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
577 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000578!endif
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000579!if $(HTTP_BOOT_ENABLE) == TRUE
580 NetworkPkg/DnsDxe/DnsDxe.inf
Gary Ching-Pang Lin1a851392015-08-28 08:12:42 +0000581 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000582 NetworkPkg/HttpDxe/HttpDxe.inf
583 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
584!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000585 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000586
jljusten689562c2010-12-31 07:55:38 +0000587 #
588 # Usb Support
589 #
590 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
591 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000592 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000593 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
594 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
595 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
596
jljusten4b3d6632011-11-10 22:04:49 +0000597!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000598 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
599 <LibraryClasses>
600 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
601 }
jljusten4b3d6632011-11-10 22:04:49 +0000602 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
603 OvmfPkg/Csm/Csm16/Csm16.inf
604!endif
605
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000606!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000607 ShellPkg/Application/Shell/Shell.inf {
608 <LibraryClasses>
609 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
610 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
611 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
612 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
613 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
614 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
615 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
616 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
617 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000618 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000619 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
620 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000621 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
622# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
623# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000624 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000625
626 <PcdsFixedAtBuild>
627 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
628 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
629 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
630 }
631!endif
632
jljusten8cee3de2012-03-09 17:38:53 +0000633!if $(SECURE_BOOT_ENABLE) == TRUE
Laszlo Ersek8714a632014-10-02 08:08:05 +0000634 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000635!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000636
637 OvmfPkg/PlatformDxe/Platform.inf