blob: 77fd21cd59683152bf5ccee5fa41f75817cf26fc [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
Ard Biesheuvelddd89cd2015-09-30 08:53:00 +000047[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
48 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
49
jljusten49ba9442009-05-27 21:10:18 +000050################################################################################
51#
52# SKU Identification section - list of all SKU IDs supported by this Platform.
53#
54################################################################################
55[SkuIds]
56 0|DEFAULT
57
58################################################################################
59#
60# Library Class section - list of all Library Classes needed by this Platform.
61#
62################################################################################
lgao47b202cb2010-02-23 23:58:38 +000063[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000064 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +000065 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +000066 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000067 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000068 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
69 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
70 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
71 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
72 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000073 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
74 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000077 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
78 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
79 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000080 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000081 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
82 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
83 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
84 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000085 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000086 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
87 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000088 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
89 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
90 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
91 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
92 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +000093 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
jljusten14b21de2009-09-16 16:29:03 +000094 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +000095 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000096 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000097 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000098 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
99 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
100 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
101 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +0000102 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000103 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000104 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000105 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljusten3c0a0512012-11-02 18:27:55 +0000106 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000107 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000108 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000109
vanjeffc6efcc22010-09-12 06:46:55 +0000110!ifdef $(SOURCE_DEBUG_ENABLE)
111 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
112 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
113!else
mdkinney42a83e82010-08-03 07:41:54 +0000114 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
115 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000116!endif
jljusten152d9a62010-10-13 07:07:42 +0000117
jljusten7ca30a62011-01-13 05:46:52 +0000118 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000119 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000120 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
121
122!if $(SECURE_BOOT_ENABLE) == TRUE
123 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
124 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
125 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
Laszlo Ersek0d28d282013-09-21 08:18:03 +0000126 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Star Zeng285542e2015-07-01 03:05:47 +0000127 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000128!if $(NETWORK_IP6_ENABLE) == TRUE
129 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
130!endif
Star Zeng285542e2015-07-01 03:05:47 +0000131!else
132 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
133 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000134!endif
Star Zeng68ef1ad2015-08-25 02:59:25 +0000135 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000136
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000137!if $(HTTP_BOOT_ENABLE) == TRUE
138 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
139!endif
140
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000141 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
142 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000143 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000144 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000145
jljusten8cee3de2012-03-09 17:38:53 +0000146[LibraryClasses.common]
147!if $(SECURE_BOOT_ENABLE) == TRUE
148 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
149!endif
jljusten152d9a62010-10-13 07:07:42 +0000150
jljusten49ba9442009-05-27 21:10:18 +0000151[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000152 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000153 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000154!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000155 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000156!else
157 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
158!endif
xli24abec2e52009-12-29 09:10:05 +0000159 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000160 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000161!ifdef $(SOURCE_DEBUG_ENABLE)
162 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
163!endif
mdkinney42a83e82010-08-03 07:41:54 +0000164 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
165 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
166 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
167 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000168 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000169
jljusten49ba9442009-05-27 21:10:18 +0000170[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000171 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
172 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
173 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
174 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
175 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000176 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000177 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000178 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000179!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000180 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000181!else
182 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
183!endif
jljusten49ba9442009-05-27 21:10:18 +0000184 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
185
186[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000187 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
188 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
189 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
190 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
191 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000192 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000193 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000194 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000195!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000196 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000197!else
198 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
199!endif
jljusten49ba9442009-05-27 21:10:18 +0000200 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
201 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
202 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000203!ifdef $(SOURCE_DEBUG_ENABLE)
204 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
205!endif
jljusten49ba9442009-05-27 21:10:18 +0000206
207[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000208 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
209 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
210 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000211 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000212!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000213 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000214!else
215 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
216!endif
jljusten49ba9442009-05-27 21:10:18 +0000217 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000218!ifdef $(SOURCE_DEBUG_ENABLE)
219 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
220!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000221 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersekc075d252015-09-15 08:35:08 +0000222 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000223
224[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000225 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000226 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000227 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
228 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
229 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000230 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000231!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000233!else
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
235!endif
jljusten49ba9442009-05-27 21:10:18 +0000236 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000237!if $(SECURE_BOOT_ENABLE) == TRUE
238 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
239!endif
jljusten49ba9442009-05-27 21:10:18 +0000240
241[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000242 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
243 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000244 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
245 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
246 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000247 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000248!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000249 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000250!else
251 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252!endif
jljusten49ba9442009-05-27 21:10:18 +0000253 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
254
255[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000257 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000258 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000259 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000260 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000261 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000262!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000263 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000264!else
265 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
266!endif
jljusten49ba9442009-05-27 21:10:18 +0000267 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
268 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
269 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
270 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
271 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000272 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000273 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000274!ifdef $(SOURCE_DEBUG_ENABLE)
275 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
276!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000277 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000278
jljusten86fef5b2009-06-30 15:57:29 +0000279[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000280 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
281 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000282 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
283 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000284!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000286!else
287 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
288!endif
jljusten86fef5b2009-06-30 15:57:29 +0000289
Gabriel Somlo988e5982014-11-14 00:38:53 +0000290[LibraryClasses.common.DXE_SMM_DRIVER]
291 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
292 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
293
294[LibraryClasses.common.SMM_CORE]
295 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
296 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
297
jljusten49ba9442009-05-27 21:10:18 +0000298################################################################################
299#
300# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
301#
302################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000303[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000304 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
305 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000306 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
307 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
lgao48fa729a2010-03-15 01:40:59 +0000308 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
309 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000310!if $(SECURE_BOOT_ENABLE) == TRUE
311 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
312!endif
jljusten49ba9442009-05-27 21:10:18 +0000313
lgao47b202cb2010-02-23 23:58:38 +0000314[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000315 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000316 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000317 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
318 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
319 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000320 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000321 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000323
jljusten49ba9442009-05-27 21:10:18 +0000324 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
325
jljusten49ba9442009-05-27 21:10:18 +0000326 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
327 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000328!ifdef $(SOURCE_DEBUG_ENABLE)
329 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
330!else
jljusten49ba9442009-05-27 21:10:18 +0000331 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000332!endif
333
gikidy670a64e2011-08-25 03:19:57 +0000334!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000335 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000336!endif
jljusten49ba9442009-05-27 21:10:18 +0000337
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000338!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000339 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000340!endif
341
jljusten53de44a2012-07-31 17:54:39 +0000342!if $(SECURE_BOOT_ENABLE) == TRUE
343 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000344 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
345 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
346 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
jljusten53de44a2012-07-31 17:54:39 +0000347!endif
348
jljusten7ca126f2012-09-12 07:19:39 +0000349 # IRQs 5, 9, 10, 11 are level-triggered
350 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
351
jljusten49ba9442009-05-27 21:10:18 +0000352################################################################################
353#
354# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
355#
356################################################################################
357
lgao47b202cb2010-02-23 23:58:38 +0000358[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000359 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000360 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000361 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
362 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000363 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000364 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
365 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000366 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000367
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000368 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000369
Laszlo Ersek848834c2014-11-06 14:21:21 +0000370 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000371 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000373
Laszlo Ersek37baf062015-06-22 17:11:05 +0000374 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
Laszlo Ersekc3db5a82015-08-06 10:14:12 +0000375 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
Laszlo Ersek6fbef932015-08-06 10:13:55 +0000376 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
Laszlo Ersek37baf062015-06-22 17:11:05 +0000377
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000378 # Noexec settings for DXE.
Laszlo Ersekd20b06a2015-09-15 08:35:19 +0000379 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
Laszlo Ersekc075d252015-09-15 08:35:08 +0000380 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000381
jljusten49ba9442009-05-27 21:10:18 +0000382################################################################################
383#
384# Components Section - list of all EDK II Modules needed by this Platform.
385#
386################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000387[Components]
Jordan Justen497cbb52014-08-18 23:04:00 +0000388 OvmfPkg/ResetVector/ResetVector.inf
389
jljusten49ba9442009-05-27 21:10:18 +0000390 #
391 # SEC Phase modules
392 #
jljustenc1c26692010-01-04 16:17:59 +0000393 OvmfPkg/Sec/SecMain.inf {
394 <LibraryClasses>
395 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
396 }
jljusten49ba9442009-05-27 21:10:18 +0000397
398 #
399 # PEI Phase modules
400 #
401 MdeModulePkg/Core/Pei/PeiMain.inf
402 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
403 <LibraryClasses>
404 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
405 }
406 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000407 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
408 <LibraryClasses>
409 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
410 }
jljusten77ba9932009-09-07 20:18:17 +0000411
412 OvmfPkg/PlatformPei/PlatformPei.inf {
413 <LibraryClasses>
414 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
415 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000416 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
417 <LibraryClasses>
418 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
419 }
jljusten49ba9442009-05-27 21:10:18 +0000420
421 #
422 # DXE Phase modules
423 #
424 MdeModulePkg/Core/Dxe/DxeMain.inf {
425 <LibraryClasses>
426 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000427 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000428 }
429
430 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
431 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
432 <LibraryClasses>
433 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
434 }
435
436 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000437
438!if $(SECURE_BOOT_ENABLE) == TRUE
439 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
440 <LibraryClasses>
441 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000442 }
443!else
jljusten49ba9442009-05-27 21:10:18 +0000444 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000445!endif
446
xli24e6d3b272009-12-25 06:36:10 +0000447 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000448 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000449 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000450 UefiCpuPkg/CpuDxe/CpuDxe.inf
451 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
Laszlo Ersekd52bde12015-07-14 12:01:36 +0000452 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000453 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
454 <LibraryClasses>
455 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
456 }
jljusten49ba9442009-05-27 21:10:18 +0000457 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000458 MdeModulePkg/Universal/Metronome/Metronome.inf
459 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000460 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000461 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000462!ifdef $(CSM_ENABLE)
463 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
464!endif
jljusten49ba9442009-05-27 21:10:18 +0000465 }
466
jljustenefd82c52010-03-21 00:34:15 +0000467 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000468 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000469 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000470 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000471 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000472 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000473 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000474 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000475 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
476 <LibraryClasses>
477 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
478 }
479 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
Star Zengdd0ad622015-08-25 03:02:46 +0000480 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
481 <LibraryClasses>
482 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
483 }
jljusten49ba9442009-05-27 21:10:18 +0000484 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
485 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
486 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
487 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
488 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000489 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
490 <LibraryClasses>
491 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
492 }
jljusten49ba9442009-05-27 21:10:18 +0000493 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000494 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
495 <LibraryClasses>
496 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
497 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
498 }
jljusten86fef5b2009-06-30 15:57:29 +0000499 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000500 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
501 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
502 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
503 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
504 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
Reza Jelvehb82802b2015-09-22 11:18:45 +0000505 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
506 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
507 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000508 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
509 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000510 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000511 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000512
jljusteneaf4f332011-04-12 15:08:51 +0000513 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
514 <LibraryClasses>
515 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
516 }
jljusten49ba9442009-05-27 21:10:18 +0000517
518 #
519 # ISA Support
520 #
521 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
522 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
523 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
524 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
525 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
526
527 #
jljustenfb511812011-08-13 22:54:37 +0000528 # SMBIOS Support
529 #
Laszlo Ersek98937dc2015-08-06 10:13:42 +0000530 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
531 <LibraryClasses>
532 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
533 }
jljustenfb511812011-08-13 22:54:37 +0000534 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
535
536 #
jljusten49ba9442009-05-27 21:10:18 +0000537 # ACPI Support
538 #
539 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000540 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000541 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000542 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000543 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000544 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000545
546 #
547 # Network Support
548 #
mdkinney7416f4e2010-07-26 18:07:19 +0000549 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
550 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
551 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
552 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
553 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
554 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000555 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
556 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000557 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000558!if $(NETWORK_IP6_ENABLE) == TRUE
559 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
560 NetworkPkg/TcpDxe/TcpDxe.inf
561 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
562 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
563 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
564 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
565!if $(SECURE_BOOT_ENABLE) == TRUE
566 NetworkPkg/IScsiDxe/IScsiDxe.inf
567!else
568 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
569!endif
570!else
571 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000572 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
573 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000574!endif
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000575!if $(HTTP_BOOT_ENABLE) == TRUE
576 NetworkPkg/DnsDxe/DnsDxe.inf
Gary Ching-Pang Lin1a851392015-08-28 08:12:42 +0000577 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000578 NetworkPkg/HttpDxe/HttpDxe.inf
579 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
580!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000581 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000582
jljusten689562c2010-12-31 07:55:38 +0000583 #
584 # Usb Support
585 #
586 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
587 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000588 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000589 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
590 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
591 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
592
jljusten4b3d6632011-11-10 22:04:49 +0000593!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000594 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
595 <LibraryClasses>
596 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
597 }
jljusten4b3d6632011-11-10 22:04:49 +0000598 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
599 OvmfPkg/Csm/Csm16/Csm16.inf
600!endif
601
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000602!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000603 ShellPkg/Application/Shell/Shell.inf {
604 <LibraryClasses>
605 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
606 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
607 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
608 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
609 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
610 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
611 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
612 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
Laszlo Ersekb2f88ff2015-09-25 17:22:58 +0000613 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000614 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000615 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000616 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
617 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000618 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
619# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
620# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000621 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000622
623 <PcdsFixedAtBuild>
624 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
625 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
626 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
627 }
628!endif
629
jljusten8cee3de2012-03-09 17:38:53 +0000630!if $(SECURE_BOOT_ENABLE) == TRUE
Laszlo Ersek8714a632014-10-02 08:08:05 +0000631 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000632!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000633
634 OvmfPkg/PlatformDxe/Platform.inf