blob: 44b9c792e12ed805657e8722bd918ae0e00cd69d [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/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
mdkinney7416f4e2010-07-26 18:07:19 +000030 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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
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
jljusten0bc7e562010-01-04 16:18:02 +000051
Ard Biesheuvelddd89cd2015-09-30 08:53:00 +000052[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
53 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
54
jljusten49ba9442009-05-27 21:10:18 +000055################################################################################
56#
57# SKU Identification section - list of all SKU IDs supported by this Platform.
58#
59################################################################################
60[SkuIds]
61 0|DEFAULT
62
63################################################################################
64#
65# Library Class section - list of all Library Classes needed by this Platform.
66#
67################################################################################
lgao47b202cb2010-02-23 23:58:38 +000068[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000069 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +000070 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +000071 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000072 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000073 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
74 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
75 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
76 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
77 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000078 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
79 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
80 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
81 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000082 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
83 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
84 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000085 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000086 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
87 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
88 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
89 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000090 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000091 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
92 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000093 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
94 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
95 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
96 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
97 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +000098 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
jljusten14b21de2009-09-16 16:29:03 +000099 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000100 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +0000101 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +0000102 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000103 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
104 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
105 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
106 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +0000107 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000108 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000109 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000110 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljusten3c0a0512012-11-02 18:27:55 +0000111 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000112 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000113 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000114
115!ifdef $(SOURCE_DEBUG_ENABLE)
116 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
117 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
118!else
mdkinney42a83e82010-08-03 07:41:54 +0000119 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
120 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000121!endif
jljusten152d9a62010-10-13 07:07:42 +0000122
jljusten7ca30a62011-01-13 05:46:52 +0000123 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000124 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000125 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
126
127!if $(SECURE_BOOT_ENABLE) == TRUE
128 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
129 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
130 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
Laszlo Ersek0d28d282013-09-21 08:18:03 +0000131 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Star Zeng285542e2015-07-01 03:05:47 +0000132 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000133!if $(NETWORK_IP6_ENABLE) == TRUE
134 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
135!endif
Star Zeng285542e2015-07-01 03:05:47 +0000136!else
137 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
138 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000139!endif
Star Zeng68ef1ad2015-08-25 02:59:25 +0000140 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000141
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000142!if $(HTTP_BOOT_ENABLE) == TRUE
143 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
144!endif
145
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000146 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
147 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000148 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000149 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000150
jljusten8cee3de2012-03-09 17:38:53 +0000151[LibraryClasses.common]
152!if $(SECURE_BOOT_ENABLE) == TRUE
153 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
154!endif
jljusten152d9a62010-10-13 07:07:42 +0000155
jljusten49ba9442009-05-27 21:10:18 +0000156[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000157 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000158 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000159!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000160 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000161!else
162 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
163!endif
xli24abec2e52009-12-29 09:10:05 +0000164 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000165 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000166!ifdef $(SOURCE_DEBUG_ENABLE)
167 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
168!endif
mdkinney42a83e82010-08-03 07:41:54 +0000169 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
170 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
171 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
172 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000173 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000174
175[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000176 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
177 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
178 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
179 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
180 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000181 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000182 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000183 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000184!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000185 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000186!else
187 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
188!endif
jljusten49ba9442009-05-27 21:10:18 +0000189 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
190
191[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000192 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
193 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
194 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
195 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
196 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000197 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000198 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000199 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000200!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000201 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000202!else
203 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
204!endif
jljusten49ba9442009-05-27 21:10:18 +0000205 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
206 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
207 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000208!ifdef $(SOURCE_DEBUG_ENABLE)
209 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
210!endif
jljusten49ba9442009-05-27 21:10:18 +0000211
212[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000213 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
214 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
215 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000216 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000217!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000218 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000219!else
220 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
221!endif
jljusten49ba9442009-05-27 21:10:18 +0000222 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000223!ifdef $(SOURCE_DEBUG_ENABLE)
224 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
225!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000226 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersekc075d252015-09-15 08:35:08 +0000227 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000228
229[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000230 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000231 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000232 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
233 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
234 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000235 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000236!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000237 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000238!else
239 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
240!endif
jljusten49ba9442009-05-27 21:10:18 +0000241 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000242!if $(SECURE_BOOT_ENABLE) == TRUE
243 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
244!endif
jljusten49ba9442009-05-27 21:10:18 +0000245
246[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000247 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
250 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
251 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000252 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000253!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000255!else
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
257!endif
jljusten49ba9442009-05-27 21:10:18 +0000258 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
259
260[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000261 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000262 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000263 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000264 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000265 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000266 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000267!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000268 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000269!else
270 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
271!endif
jljusten49ba9442009-05-27 21:10:18 +0000272 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
273 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
274 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
275 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
276 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000277 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000278 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000279!ifdef $(SOURCE_DEBUG_ENABLE)
280 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
281!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000282 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000283
jljusten86fef5b2009-06-30 15:57:29 +0000284[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000285 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
286 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000287 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
288 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000289!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000290 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000291!else
292 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
293!endif
jljusten86fef5b2009-06-30 15:57:29 +0000294
Gabriel Somlo988e5982014-11-14 00:38:53 +0000295[LibraryClasses.common.DXE_SMM_DRIVER]
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
298
299[LibraryClasses.common.SMM_CORE]
300 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
301 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
302
jljusten49ba9442009-05-27 21:10:18 +0000303################################################################################
304#
305# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
306#
307################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000308[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000309 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
310 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000311 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
312 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
lgao48fa729a2010-03-15 01:40:59 +0000313 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
314 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000315!if $(SECURE_BOOT_ENABLE) == TRUE
316 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
317!endif
lgao48fa729a2010-03-15 01:40:59 +0000318
lgao47b202cb2010-02-23 23:58:38 +0000319[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000320 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000321 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000322 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
323 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
324 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000325 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000326 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000327 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000328
jljusten49ba9442009-05-27 21:10:18 +0000329 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
330
jljusten49ba9442009-05-27 21:10:18 +0000331 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
332 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000333!ifdef $(SOURCE_DEBUG_ENABLE)
334 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
335!else
jljusten49ba9442009-05-27 21:10:18 +0000336 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000337!endif
338
gikidy670a64e2011-08-25 03:19:57 +0000339!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000340 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000341!endif
jljusten49ba9442009-05-27 21:10:18 +0000342
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000343!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000344 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000345!endif
346
jljusten53de44a2012-07-31 17:54:39 +0000347!if $(SECURE_BOOT_ENABLE) == TRUE
348 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000349 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
350 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
351 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
jljusten53de44a2012-07-31 17:54:39 +0000352!endif
353
jljusten7ca126f2012-09-12 07:19:39 +0000354 # IRQs 5, 9, 10, 11 are level-triggered
355 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
356
jljusten49ba9442009-05-27 21:10:18 +0000357################################################################################
358#
359# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
360#
361################################################################################
362
lgao47b202cb2010-02-23 23:58:38 +0000363[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000364 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000365 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000366 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
367 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000368 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000369 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
370 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000371 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000372
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000373 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000374
Laszlo Ersek848834c2014-11-06 14:21:21 +0000375 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000376 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
377 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000378
Laszlo Ersek37baf062015-06-22 17:11:05 +0000379 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
Laszlo Ersekc3db5a82015-08-06 10:14:12 +0000380 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
Laszlo Ersek6fbef932015-08-06 10:13:55 +0000381 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
Laszlo Ersek37baf062015-06-22 17:11:05 +0000382
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000383 # Noexec settings for DXE.
Laszlo Ersekd20b06a2015-09-15 08:35:19 +0000384 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
Laszlo Ersekc075d252015-09-15 08:35:08 +0000385 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000386
jljusten49ba9442009-05-27 21:10:18 +0000387################################################################################
388#
389# Components Section - list of all EDK II Modules needed by this Platform.
390#
391################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000392[Components]
Jordan Justen497cbb52014-08-18 23:04:00 +0000393 OvmfPkg/ResetVector/ResetVector.inf
394
jljusten49ba9442009-05-27 21:10:18 +0000395 #
396 # SEC Phase modules
397 #
jljustenc1c26692010-01-04 16:17:59 +0000398 OvmfPkg/Sec/SecMain.inf {
399 <LibraryClasses>
400 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
401 }
jljusten49ba9442009-05-27 21:10:18 +0000402
403 #
404 # PEI Phase modules
405 #
406 MdeModulePkg/Core/Pei/PeiMain.inf
407 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
408 <LibraryClasses>
409 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
410 }
411 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
Laszlo Ersekd26753f2015-09-15 08:35:03 +0000412 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
413 <LibraryClasses>
414 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
415 }
jljusten77ba9932009-09-07 20:18:17 +0000416
417 OvmfPkg/PlatformPei/PlatformPei.inf {
418 <LibraryClasses>
419 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
420 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000421 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
422 <LibraryClasses>
423 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
424 }
jljusten49ba9442009-05-27 21:10:18 +0000425
426 #
427 # DXE Phase modules
428 #
429 MdeModulePkg/Core/Dxe/DxeMain.inf {
430 <LibraryClasses>
431 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000432 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000433 }
434
435 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
436 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
437 <LibraryClasses>
438 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
439 }
jljustenc1c26692010-01-04 16:17:59 +0000440
jljusten49ba9442009-05-27 21:10:18 +0000441 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000442
443!if $(SECURE_BOOT_ENABLE) == TRUE
444 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
445 <LibraryClasses>
446 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000447 }
448!else
jljusten49ba9442009-05-27 21:10:18 +0000449 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000450!endif
451
xli24e6d3b272009-12-25 06:36:10 +0000452 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000453 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000454 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000455 UefiCpuPkg/CpuDxe/CpuDxe.inf
456 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
Laszlo Ersekd52bde12015-07-14 12:01:36 +0000457 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000458 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
459 <LibraryClasses>
460 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
461 }
jljusten49ba9442009-05-27 21:10:18 +0000462 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000463 MdeModulePkg/Universal/Metronome/Metronome.inf
464 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000465 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000466 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000467!ifdef $(CSM_ENABLE)
468 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
469!endif
jljusten49ba9442009-05-27 21:10:18 +0000470 }
471
jljustenefd82c52010-03-21 00:34:15 +0000472 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000473 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000474 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000475 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000476 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000477 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000478 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000479 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000480 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
481 <LibraryClasses>
482 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
483 }
484 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
Star Zengdd0ad622015-08-25 03:02:46 +0000485 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
486 <LibraryClasses>
487 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
488 }
jljusten49ba9442009-05-27 21:10:18 +0000489 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
490 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
491 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
492 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
493 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000494 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
495 <LibraryClasses>
496 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
497 }
jljusten49ba9442009-05-27 21:10:18 +0000498 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000499 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
500 <LibraryClasses>
501 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
502 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
503 }
jljusten86fef5b2009-06-30 15:57:29 +0000504 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000505 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
506 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
507 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
508 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
509 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
Reza Jelvehb82802b2015-09-22 11:18:45 +0000510 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
511 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
512 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000513 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
514 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000515 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000516 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000517
jljusteneaf4f332011-04-12 15:08:51 +0000518 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
519 <LibraryClasses>
520 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
521 }
jljusten49ba9442009-05-27 21:10:18 +0000522
523 #
524 # ISA Support
525 #
526 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
527 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
528 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
529 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
530 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
531
532 #
jljustenfb511812011-08-13 22:54:37 +0000533 # SMBIOS Support
534 #
Laszlo Ersek98937dc2015-08-06 10:13:42 +0000535 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
536 <LibraryClasses>
537 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
538 }
jljustenfb511812011-08-13 22:54:37 +0000539 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
540
541 #
jljusten49ba9442009-05-27 21:10:18 +0000542 # ACPI Support
543 #
544 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000545 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000546 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000547 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000548 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000549 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000550
551 #
552 # Network Support
553 #
mdkinney7416f4e2010-07-26 18:07:19 +0000554 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
555 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
556 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
557 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
558 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
559 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000560 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
561 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000562 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000563!if $(NETWORK_IP6_ENABLE) == TRUE
564 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
565 NetworkPkg/TcpDxe/TcpDxe.inf
566 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
567 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
568 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
569 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
570!if $(SECURE_BOOT_ENABLE) == TRUE
571 NetworkPkg/IScsiDxe/IScsiDxe.inf
572!else
573 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
574!endif
575!else
576 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000577 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
578 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000579!endif
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000580!if $(HTTP_BOOT_ENABLE) == TRUE
581 NetworkPkg/DnsDxe/DnsDxe.inf
Gary Ching-Pang Lin1a851392015-08-28 08:12:42 +0000582 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
Gary Ching-Pang Linab44a6e2015-08-23 01:44:15 +0000583 NetworkPkg/HttpDxe/HttpDxe.inf
584 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
585!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000586 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000587
jljusten689562c2010-12-31 07:55:38 +0000588 #
589 # Usb Support
590 #
591 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
592 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000593 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000594 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
595 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
596 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
597
jljusten4b3d6632011-11-10 22:04:49 +0000598!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000599 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
600 <LibraryClasses>
601 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
602 }
jljusten4b3d6632011-11-10 22:04:49 +0000603 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
604 OvmfPkg/Csm/Csm16/Csm16.inf
605!endif
606
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000607!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000608 ShellPkg/Application/Shell/Shell.inf {
609 <LibraryClasses>
610 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
611 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
612 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
613 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
614 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
615 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
616 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
617 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
Laszlo Ersekb2f88ff2015-09-25 17:22:58 +0000618 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000619 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000620 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000621 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
622 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000623 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
624# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
625# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000626 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000627
628 <PcdsFixedAtBuild>
629 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
630 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
631 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
632 }
633!endif
634
jljusten8cee3de2012-03-09 17:38:53 +0000635!if $(SECURE_BOOT_ENABLE) == TRUE
Laszlo Ersek8714a632014-10-02 08:08:05 +0000636 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000637!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000638
639 OvmfPkg/PlatformDxe/Platform.inf