blob: 2dc92047eff828dc4ba78b63db3f0f548e4a9d1f [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
jljustene05061c2012-03-09 17:38:21 +000038
jljusten0bc7e562010-01-04 16:18:02 +000039[BuildOptions]
jljusten0b5a5022012-07-31 17:54:18 +000040 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
jljusten152d9a62010-10-13 07:07:42 +000041 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
42 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
43 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000044 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
mdkinneybbcafc42012-10-03 21:00:26 +000045!ifdef $(SOURCE_DEBUG_ENABLE)
46 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
47 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
48 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49!endif
50
jljusten49ba9442009-05-27 21:10:18 +000051################################################################################
52#
53# SKU Identification section - list of all SKU IDs supported by this Platform.
54#
55################################################################################
56[SkuIds]
57 0|DEFAULT
58
59################################################################################
60#
61# Library Class section - list of all Library Classes needed by this Platform.
62#
63################################################################################
lgao47b202cb2010-02-23 23:58:38 +000064[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000065 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +000066 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +000067 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000068 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000069 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
70 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
71 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
72 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
73 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000074 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
75 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
76 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000078 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
79 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
80 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000081 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000082 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
83 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
84 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
85 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000086 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000087 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
88 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000089 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
90 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
91 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
92 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
93 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +000094 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
jljusten14b21de2009-09-16 16:29:03 +000095 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +000096 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000097 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000098 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000099 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
100 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
101 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
102 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +0000103 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +0000104 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000105 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000106 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljusten3c0a0512012-11-02 18:27:55 +0000107 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000108 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000109 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000110
111!ifdef $(SOURCE_DEBUG_ENABLE)
112 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
113 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
114!else
mdkinney42a83e82010-08-03 07:41:54 +0000115 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000117!endif
jljusten152d9a62010-10-13 07:07:42 +0000118
jljusten7ca30a62011-01-13 05:46:52 +0000119 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000120 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000121 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
122
123!if $(SECURE_BOOT_ENABLE) == TRUE
124 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
125 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
126 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
Laszlo Ersek0d28d282013-09-21 08:18:03 +0000127 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000128!if $(NETWORK_IP6_ENABLE) == TRUE
129 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
130!endif
jljusten8cee3de2012-03-09 17:38:53 +0000131!endif
132
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000133 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
134 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000135 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000136 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000137
jljusten8cee3de2012-03-09 17:38:53 +0000138[LibraryClasses.common]
139!if $(SECURE_BOOT_ENABLE) == TRUE
140 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
141!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000142
jljusten49ba9442009-05-27 21:10:18 +0000143[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000144 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000145 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000146!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000147 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000148!else
149 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
150!endif
xli24abec2e52009-12-29 09:10:05 +0000151 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000152 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000153!ifdef $(SOURCE_DEBUG_ENABLE)
154 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
155!endif
mdkinney42a83e82010-08-03 07:41:54 +0000156 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
157 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
158 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
159 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000160 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000161
162[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000163 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
164 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
165 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
166 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
167 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000169 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000170 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000171!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000172 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000173!else
174 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
175!endif
jljusten49ba9442009-05-27 21:10:18 +0000176 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
177
178[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000179 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
180 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
181 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
182 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
183 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000184 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000185 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000186 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000187!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000188 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000189!else
190 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
191!endif
jljusten49ba9442009-05-27 21:10:18 +0000192 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
193 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
194 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000195!ifdef $(SOURCE_DEBUG_ENABLE)
196 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
197!endif
jljusten49ba9442009-05-27 21:10:18 +0000198
199[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000200 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
201 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
202 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000203 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000204!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000206!else
207 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
208!endif
jljusten49ba9442009-05-27 21:10:18 +0000209 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000210!ifdef $(SOURCE_DEBUG_ENABLE)
211 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
212!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000213 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000214
215[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000216 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000217 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000218 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
219 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
220 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000221 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000222!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000224!else
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
226!endif
jljusten49ba9442009-05-27 21:10:18 +0000227 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000228!if $(SECURE_BOOT_ENABLE) == TRUE
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
230!endif
jljusten49ba9442009-05-27 21:10:18 +0000231
232[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000233 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
234 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000235 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
236 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000238 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000239!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000241!else
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
243!endif
jljusten49ba9442009-05-27 21:10:18 +0000244 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
245
246[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000247 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000248 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000251 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000252 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.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 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
259 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
260 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
261 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
262 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000264 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000265!ifdef $(SOURCE_DEBUG_ENABLE)
266 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
267!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000268 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000269
jljusten86fef5b2009-06-30 15:57:29 +0000270[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000271 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
272 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000273 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
274 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000275!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000277!else
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
279!endif
jljusten86fef5b2009-06-30 15:57:29 +0000280
Gabriel Somlo988e5982014-11-14 00:38:53 +0000281[LibraryClasses.common.DXE_SMM_DRIVER]
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
283 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
284
285[LibraryClasses.common.SMM_CORE]
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
287 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
288
jljusten49ba9442009-05-27 21:10:18 +0000289################################################################################
290#
291# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
292#
293################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000294[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000295 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
296 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000297 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
298 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000299 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
300 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000301!if $(SECURE_BOOT_ENABLE) == TRUE
302 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
303!endif
lgao48fa729a2010-03-15 01:40:59 +0000304
lgao47b202cb2010-02-23 23:58:38 +0000305[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000306 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000307 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000308 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
309 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
310 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000311 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000312 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000313 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000314
jljusten49ba9442009-05-27 21:10:18 +0000315 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
316
jljusten49ba9442009-05-27 21:10:18 +0000317 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000319!ifdef $(SOURCE_DEBUG_ENABLE)
320 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
321!else
jljusten49ba9442009-05-27 21:10:18 +0000322 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000323!endif
324
gikidy670a64e2011-08-25 03:19:57 +0000325!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000326 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000327!endif
jljusten49ba9442009-05-27 21:10:18 +0000328
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000329!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000330 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000331!endif
332
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000333[PcdsFixedAtBuild.X64]
334!if $(SECURE_BOOT_ENABLE) == TRUE
335 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000336 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
337 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
338 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000339!endif
340
jljusten7ca126f2012-09-12 07:19:39 +0000341 # IRQs 5, 9, 10, 11 are level-triggered
342 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
343
jljusten49ba9442009-05-27 21:10:18 +0000344################################################################################
345#
346# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
347#
348################################################################################
349
lgao47b202cb2010-02-23 23:58:38 +0000350[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000351 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000352 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000353 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
354 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000355 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000356 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000358 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000359
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000360 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000361
Laszlo Ersek848834c2014-11-06 14:21:21 +0000362 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000363 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
364 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000365
jljusten49ba9442009-05-27 21:10:18 +0000366################################################################################
367#
368# Components Section - list of all EDK II Modules needed by this Platform.
369#
370################################################################################
371[Components.IA32]
Jordan Justen497cbb52014-08-18 23:04:00 +0000372 OvmfPkg/ResetVector/ResetVector.inf
373
jljusten49ba9442009-05-27 21:10:18 +0000374 #
375 # SEC Phase modules
376 #
jljustenc1c26692010-01-04 16:17:59 +0000377 OvmfPkg/Sec/SecMain.inf {
378 <LibraryClasses>
379 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
380 }
jljusten49ba9442009-05-27 21:10:18 +0000381
382 #
383 # PEI Phase modules
384 #
385 MdeModulePkg/Core/Pei/PeiMain.inf
386 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
387 <LibraryClasses>
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
389 }
390 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000391 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000392
393 OvmfPkg/PlatformPei/PlatformPei.inf {
394 <LibraryClasses>
395 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
396 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000397 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
398 <LibraryClasses>
399 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
400 }
jljusten49ba9442009-05-27 21:10:18 +0000401
402[Components.X64]
403 #
404 # DXE Phase modules
405 #
406 MdeModulePkg/Core/Dxe/DxeMain.inf {
407 <LibraryClasses>
408 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000409 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000410 }
411
412 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
413 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
414 <LibraryClasses>
415 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
416 }
417
418 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000419
420!if $(SECURE_BOOT_ENABLE) == TRUE
421 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
422 <LibraryClasses>
423 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000424 }
425!else
jljusten49ba9442009-05-27 21:10:18 +0000426 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000427!endif
428
xli24e6d3b272009-12-25 06:36:10 +0000429 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000430 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000431 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000432 UefiCpuPkg/CpuDxe/CpuDxe.inf
433 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
434 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000435 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
436 <LibraryClasses>
437 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
438 }
jljusten49ba9442009-05-27 21:10:18 +0000439 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000440 MdeModulePkg/Universal/Metronome/Metronome.inf
441 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000442 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000443 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000444!ifdef $(CSM_ENABLE)
445 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
446!endif
jljusten49ba9442009-05-27 21:10:18 +0000447 }
448
jljustenefd82c52010-03-21 00:34:15 +0000449 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000450 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000451 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000452 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000453 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000454 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000455 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000456 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000457 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
458 <LibraryClasses>
459 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
460 }
461 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
462 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000463 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
464 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
465 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
466 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
467 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000468 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
469 <LibraryClasses>
470 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
471 }
jljusten49ba9442009-05-27 21:10:18 +0000472 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000473 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
474 <LibraryClasses>
475 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
476 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
477 }
jljusten86fef5b2009-06-30 15:57:29 +0000478 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000479 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
480 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
481 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
482 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
483 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
484 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
485 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
486 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
487 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000488 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000489 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000490
jljusteneaf4f332011-04-12 15:08:51 +0000491 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
492 <LibraryClasses>
493 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
494 }
jljusten49ba9442009-05-27 21:10:18 +0000495
496 #
497 # ISA Support
498 #
499 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
500 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
501 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
502 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
503 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
504
505 #
jljustenfb511812011-08-13 22:54:37 +0000506 # SMBIOS Support
507 #
508 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
509 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
510
511 #
jljusten49ba9442009-05-27 21:10:18 +0000512 # ACPI Support
513 #
514 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000515 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000516 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000517 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000518 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000519 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000520
521 #
522 # Network Support
523 #
mdkinney7416f4e2010-07-26 18:07:19 +0000524 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
525 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
526 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
527 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
528 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
529 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
530 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
531 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
532 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000533 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000534!if $(NETWORK_IP6_ENABLE) == TRUE
535 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
536 NetworkPkg/TcpDxe/TcpDxe.inf
537 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
538 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
539 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
540 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
541!if $(SECURE_BOOT_ENABLE) == TRUE
542 NetworkPkg/IScsiDxe/IScsiDxe.inf
543!else
544 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
545!endif
546!else
547 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000548 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
549 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000550!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000551 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000552
jljusten689562c2010-12-31 07:55:38 +0000553 #
554 # Usb Support
555 #
556 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
557 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000558 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000559 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
560 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
561 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
562
jljusten4b3d6632011-11-10 22:04:49 +0000563!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000564 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
565 <LibraryClasses>
566 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
567 }
jljusten4b3d6632011-11-10 22:04:49 +0000568 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
569 OvmfPkg/Csm/Csm16/Csm16.inf
570!endif
571
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000572!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000573 ShellPkg/Application/Shell/Shell.inf {
574 <LibraryClasses>
575 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
576 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
577 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
578 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
579 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
580 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
581 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
582 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
583 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000584 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000585 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
586 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000587 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
588# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
589# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000590 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000591
592 <PcdsFixedAtBuild>
593 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
594 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
595 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
596 }
597!endif
598
jljusten8cee3de2012-03-09 17:38:53 +0000599!if $(SECURE_BOOT_ENABLE) == TRUE
600 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
601 <LibraryClasses>
602 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
603 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
604 }
Laszlo Ersek8714a632014-10-02 08:08:05 +0000605 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000606!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000607
608 OvmfPkg/PlatformDxe/Platform.inf