blob: 7e2e4855e55ac6cb34fc142790f9b6999e666d8b [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
Star Zeng285542e2015-07-01 03:05:47 +0000128 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
Gary Lin36c64132014-12-19 19:13:44 +0000129!if $(NETWORK_IP6_ENABLE) == TRUE
130 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
131!endif
Star Zeng285542e2015-07-01 03:05:47 +0000132!else
133 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
134 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000135!endif
136
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000137 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
138 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Laszlo Ersek48cc4d02014-09-22 21:11:02 +0000139 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Laszlo Ersekdf040c02015-03-03 08:13:09 +0000140 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000141
jljusten8cee3de2012-03-09 17:38:53 +0000142[LibraryClasses.common]
143!if $(SECURE_BOOT_ENABLE) == TRUE
144 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
145!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000146
jljusten49ba9442009-05-27 21:10:18 +0000147[LibraryClasses.common.SEC]
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000148 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
Laszlo Ersekc90decb2014-01-03 19:57:36 +0000149 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000150!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000151 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000152!else
153 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
154!endif
xli24abec2e52009-12-29 09:10:05 +0000155 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000156 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000157!ifdef $(SOURCE_DEBUG_ENABLE)
158 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
159!endif
mdkinney42a83e82010-08-03 07:41:54 +0000160 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
161 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
162 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000164 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000165
166[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000167 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
168 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
169 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
170 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
171 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000172 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000173 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000174 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000175!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000176 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000177!else
178 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
179!endif
jljusten49ba9442009-05-27 21:10:18 +0000180 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
181
182[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000183 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
184 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
185 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
186 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
187 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000188 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000189 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000190 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000191!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000192 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000193!else
194 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
195!endif
jljusten49ba9442009-05-27 21:10:18 +0000196 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
197 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
198 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000199!ifdef $(SOURCE_DEBUG_ENABLE)
200 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
201!endif
jljusten49ba9442009-05-27 21:10:18 +0000202
203[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000204 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
205 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
206 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000207 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000208!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000209 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000210!else
211 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
212!endif
jljusten49ba9442009-05-27 21:10:18 +0000213 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000214!ifdef $(SOURCE_DEBUG_ENABLE)
215 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
216!endif
Jeff Fan85a32c72013-11-22 06:31:18 +0000217 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000218
219[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000220 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000221 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000222 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
223 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
224 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000225 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000226!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000227 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000228!else
229 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
230!endif
jljusten49ba9442009-05-27 21:10:18 +0000231 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000232!if $(SECURE_BOOT_ENABLE) == TRUE
233 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
234!endif
jljusten49ba9442009-05-27 21:10:18 +0000235
236[LibraryClasses.common.UEFI_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000237 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
238 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000239 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
240 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
241 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000242 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000243!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000244 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000245!else
246 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
247!endif
jljusten49ba9442009-05-27 21:10:18 +0000248 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
249
250[LibraryClasses.common.DXE_DRIVER]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000251 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000252 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000253 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000254 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000255 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000256 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000257!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000258 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000259!else
260 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261!endif
jljusten49ba9442009-05-27 21:10:18 +0000262 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
263 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
264 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
265 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
266 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
Jeff Fan85a32c72013-11-22 06:31:18 +0000267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000268 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
Jordan Justen34511262014-03-04 08:04:20 +0000269!ifdef $(SOURCE_DEBUG_ENABLE)
270 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
271!endif
Laszlo Ersekcca74752015-01-02 12:07:57 +0000272 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000273
jljusten86fef5b2009-06-30 15:57:29 +0000274[LibraryClasses.common.UEFI_APPLICATION]
Gabriel Somlo988e5982014-11-14 00:38:53 +0000275 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
276 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
jljusten86fef5b2009-06-30 15:57:29 +0000277 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
278 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000279!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000280 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000281!else
282 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
283!endif
jljusten86fef5b2009-06-30 15:57:29 +0000284
Gabriel Somlo988e5982014-11-14 00:38:53 +0000285[LibraryClasses.common.DXE_SMM_DRIVER]
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
287 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
288
289[LibraryClasses.common.SMM_CORE]
290 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
291 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
292
jljusten49ba9442009-05-27 21:10:18 +0000293################################################################################
294#
295# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
296#
297################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000298[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000299 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
300 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000301 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
302 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000303 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
304 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000305!if $(SECURE_BOOT_ENABLE) == TRUE
306 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
307!endif
lgao48fa729a2010-03-15 01:40:59 +0000308
lgao47b202cb2010-02-23 23:58:38 +0000309[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000310 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000311 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000312 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
313 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
314 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
Jordan Justenfd4ba542013-06-14 21:37:44 +0000315 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
jljusten49ba9442009-05-27 21:10:18 +0000316 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
Jordan Justen9a089972013-11-12 18:34:20 +0000317 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
jljusten49ba9442009-05-27 21:10:18 +0000318
jljusten49ba9442009-05-27 21:10:18 +0000319 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
320
jljusten49ba9442009-05-27 21:10:18 +0000321 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
322 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000323!ifdef $(SOURCE_DEBUG_ENABLE)
324 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
325!else
jljusten49ba9442009-05-27 21:10:18 +0000326 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000327!endif
328
gikidy670a64e2011-08-25 03:19:57 +0000329!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000330 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000331!endif
jljusten49ba9442009-05-27 21:10:18 +0000332
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000333!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000334 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
jljusten345a0c82011-06-26 18:58:41 +0000335!endif
336
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000337[PcdsFixedAtBuild.X64]
338!if $(SECURE_BOOT_ENABLE) == TRUE
339 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
Fu Siyuandb44ea62013-08-28 09:06:40 +0000340 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
341 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
342 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
leegrosenbaum171ea2e2012-05-23 00:22:50 +0000343!endif
344
jljusten7ca126f2012-09-12 07:19:39 +0000345 # IRQs 5, 9, 10, 11 are level-triggered
346 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
347
jljusten49ba9442009-05-27 21:10:18 +0000348################################################################################
349#
350# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
351#
352################################################################################
353
lgao47b202cb2010-02-23 23:58:38 +0000354[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000355 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000356 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000357 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
358 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Wei Liu447d2642013-12-08 01:36:25 +0000359 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000360 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
361 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
Gabriel Somlod55004d2014-11-14 00:37:39 +0000362 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
jljusten27f58ea2009-09-26 07:15:51 +0000363
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000364 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
jljusten49ba9442009-05-27 21:10:18 +0000365
Laszlo Ersek848834c2014-11-06 14:21:21 +0000366 # Set video resolution for text setup.
Ruiyu Ni86a9c7a2015-05-06 03:27:42 +0000367 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
Laszlo Ersek848834c2014-11-06 14:21:21 +0000369
Laszlo Ersek37baf062015-06-22 17:11:05 +0000370 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
371
jljusten49ba9442009-05-27 21:10:18 +0000372################################################################################
373#
374# Components Section - list of all EDK II Modules needed by this Platform.
375#
376################################################################################
377[Components.IA32]
Jordan Justen497cbb52014-08-18 23:04:00 +0000378 OvmfPkg/ResetVector/ResetVector.inf
379
jljusten49ba9442009-05-27 21:10:18 +0000380 #
381 # SEC Phase modules
382 #
jljustenc1c26692010-01-04 16:17:59 +0000383 OvmfPkg/Sec/SecMain.inf {
384 <LibraryClasses>
385 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
386 }
jljusten49ba9442009-05-27 21:10:18 +0000387
388 #
389 # PEI Phase modules
390 #
391 MdeModulePkg/Core/Pei/PeiMain.inf
392 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
393 <LibraryClasses>
394 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
395 }
396 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000397 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000398
399 OvmfPkg/PlatformPei/PlatformPei.inf {
400 <LibraryClasses>
401 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
402 }
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000403 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
404 <LibraryClasses>
405 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
406 }
jljusten49ba9442009-05-27 21:10:18 +0000407
408[Components.X64]
409 #
410 # DXE Phase modules
411 #
412 MdeModulePkg/Core/Dxe/DxeMain.inf {
413 <LibraryClasses>
414 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000415 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000416 }
417
418 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
419 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
420 <LibraryClasses>
421 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
422 }
423
424 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000425
426!if $(SECURE_BOOT_ENABLE) == TRUE
427 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
428 <LibraryClasses>
429 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000430 }
431!else
jljusten49ba9442009-05-27 21:10:18 +0000432 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000433!endif
434
xli24e6d3b272009-12-25 06:36:10 +0000435 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000436 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000437 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000438 UefiCpuPkg/CpuDxe/CpuDxe.inf
439 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
440 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Wei Liu447d2642013-12-08 01:36:25 +0000441 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
442 <LibraryClasses>
443 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
444 }
jljusten49ba9442009-05-27 21:10:18 +0000445 PcAtChipsetPkg/KbcResetDxe/Reset.inf
Gabriel Somlo170ef2d2014-11-14 00:38:17 +0000446 MdeModulePkg/Universal/Metronome/Metronome.inf
447 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000448 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000449 <LibraryClasses>
jljusten8016da22011-11-10 22:04:19 +0000450!ifdef $(CSM_ENABLE)
451 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
452!endif
jljusten49ba9442009-05-27 21:10:18 +0000453 }
454
jljustenefd82c52010-03-21 00:34:15 +0000455 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000456 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000457 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000458 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000459 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
Ard Biesheuveld9fdfd82015-02-28 20:33:11 +0000460 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
Anthony PERARDe65e8802014-10-29 06:48:50 +0000461 OvmfPkg/XenBusDxe/XenBusDxe.inf
Anthony PERARDde671da2014-10-29 06:51:42 +0000462 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000463 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
464 <LibraryClasses>
465 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
466 }
467 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
468 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000469 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
470 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
471 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
472 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
473 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Laszlo Ersekc4341e32014-03-22 07:12:36 +0000474 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
475 <LibraryClasses>
476 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
477 }
jljusten49ba9442009-05-27 21:10:18 +0000478 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +0000479 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
480 <LibraryClasses>
481 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
482 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
483 }
jljusten86fef5b2009-06-30 15:57:29 +0000484 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000485 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
486 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
487 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
488 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
489 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
490 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
491 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
492 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
493 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000494 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000495 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000496
jljusteneaf4f332011-04-12 15:08:51 +0000497 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
498 <LibraryClasses>
499 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
500 }
jljusten49ba9442009-05-27 21:10:18 +0000501
502 #
503 # ISA Support
504 #
505 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
506 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
507 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
508 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
509 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
510
511 #
jljustenfb511812011-08-13 22:54:37 +0000512 # SMBIOS Support
513 #
514 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
515 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
516
517 #
jljusten49ba9442009-05-27 21:10:18 +0000518 # ACPI Support
519 #
520 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000521 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000522 OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000523 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000524 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000525 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000526
527 #
528 # Network Support
529 #
mdkinney7416f4e2010-07-26 18:07:19 +0000530 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
531 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
532 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
533 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
534 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
535 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
536 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
537 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
538 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000539 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000540!if $(NETWORK_IP6_ENABLE) == TRUE
541 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
542 NetworkPkg/TcpDxe/TcpDxe.inf
543 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
544 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
545 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
546 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
547!if $(SECURE_BOOT_ENABLE) == TRUE
548 NetworkPkg/IScsiDxe/IScsiDxe.inf
549!else
550 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
551!endif
552!else
553 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000554 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
555 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Gary Lin36c64132014-12-19 19:13:44 +0000556!endif
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000557 OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten152d9a62010-10-13 07:07:42 +0000558
jljusten689562c2010-12-31 07:55:38 +0000559 #
560 # Usb Support
561 #
562 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
563 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Laszlo Ersek47e57f42015-03-16 19:57:34 +0000564 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
jljusten689562c2010-12-31 07:55:38 +0000565 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
566 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
567 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
568
jljusten4b3d6632011-11-10 22:04:49 +0000569!ifdef $(CSM_ENABLE)
Paolo Bonzinie04cca12014-03-31 20:36:15 +0000570 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
571 <LibraryClasses>
572 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
573 }
jljusten4b3d6632011-11-10 22:04:49 +0000574 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
575 OvmfPkg/Csm/Csm16/Csm16.inf
576!endif
577
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000578!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000579 ShellPkg/Application/Shell/Shell.inf {
580 <LibraryClasses>
581 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
582 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
583 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
584 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
585 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
586 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
587 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
588 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
589 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000590 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +0000591 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
592 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000593 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
594# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
595# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
Laszlo Ersek9fc9f4d2014-09-11 19:11:37 +0000596 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000597
598 <PcdsFixedAtBuild>
599 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
600 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
601 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
602 }
603!endif
604
jljusten8cee3de2012-03-09 17:38:53 +0000605!if $(SECURE_BOOT_ENABLE) == TRUE
606 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
607 <LibraryClasses>
608 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
609 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
610 }
Laszlo Ersek8714a632014-10-02 08:08:05 +0000611 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000612!endif
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000613
614 OvmfPkg/PlatformDxe/Platform.inf