blob: d0c632979dbd1fd34361c29621e83b8dc7c340f5 [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#
vanjeff55b17532012-03-15 05:54:00 +00004# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
klu2713b7b52009-10-22 06:30:20 +000025 DSC_SPECIFICATION = 0x00010005
jljusten49ba9442009-05-27 21:10:18 +000026 OUTPUT_DIRECTORY = Build/OvmfIa32
27 SUPPORTED_ARCHITECTURES = IA32
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
mdkinney7416f4e2010-07-26 18:07:19 +000030 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
jljusten49ba9442009-05-27 21:10:18 +000031
jljustene05061c2012-03-09 17:38:21 +000032 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37
jljusten0bc7e562010-01-04 16:18:02 +000038[BuildOptions]
jljusten0b5a5022012-07-31 17:54:18 +000039 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
jljusten152d9a62010-10-13 07:07:42 +000040 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
41 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
42 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000043 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
jljusten0bc7e562010-01-04 16:18:02 +000044
jljusten49ba9442009-05-27 21:10:18 +000045################################################################################
46#
47# SKU Identification section - list of all SKU IDs supported by this Platform.
48#
49################################################################################
50[SkuIds]
51 0|DEFAULT
52
53################################################################################
54#
55# Library Class section - list of all Library Classes needed by this Platform.
56#
57################################################################################
lgao47b202cb2010-02-23 23:58:38 +000058[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000059 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
60 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
61 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000062 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000063 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
64 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
65 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
66 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
67 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000068 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
69 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000072 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
73 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
74 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
jljustencd455662012-07-31 17:54:30 +000075 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +000076 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
77 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
78 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
79 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000080 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000081 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
82 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000083 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
84 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
85 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
86 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
87 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
88 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten14b21de2009-09-16 16:29:03 +000089 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
jljusten70520472011-03-31 23:17:07 +000090 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000091 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000092 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000093 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
94 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
95 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
96 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +000097 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +000098 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +000099 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
jljusten263559b2012-10-12 18:53:58 +0000100 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
jljustenf1ec65b2012-05-30 23:14:38 +0000101 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000102
vanjeffc6efcc22010-09-12 06:46:55 +0000103!ifdef $(SOURCE_DEBUG_ENABLE)
104 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
105 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
106!else
mdkinney42a83e82010-08-03 07:41:54 +0000107 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
108 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000109!endif
jljusten152d9a62010-10-13 07:07:42 +0000110
jljusten7ca30a62011-01-13 05:46:52 +0000111 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000112 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000113 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeff55b17532012-03-15 05:54:00 +0000114 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
jljusten8cee3de2012-03-09 17:38:53 +0000115
116!if $(SECURE_BOOT_ENABLE) == TRUE
117 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
118 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
119 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
120!endif
121
122[LibraryClasses.common]
123!if $(SECURE_BOOT_ENABLE) == TRUE
124 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
125!endif
jljusten152d9a62010-10-13 07:07:42 +0000126
jljusten49ba9442009-05-27 21:10:18 +0000127[LibraryClasses.common.SEC]
jljustenb90aefa2012-07-26 16:36:39 +0000128!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000129 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000130!else
131 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
132!endif
xli24abec2e52009-12-29 09:10:05 +0000133 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000134 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000135!ifdef $(SOURCE_DEBUG_ENABLE)
136 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
137!endif
mdkinney42a83e82010-08-03 07:41:54 +0000138 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
139 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
140 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
141 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljusten152d9a62010-10-13 07:07:42 +0000142
jljusten49ba9442009-05-27 21:10:18 +0000143[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000144 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
145 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
146 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
147 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
148 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000149 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000150 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000151 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000152!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000153 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000154!else
155 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
156!endif
jljusten49ba9442009-05-27 21:10:18 +0000157 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
158
159[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000160 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
161 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
164 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000165 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000166 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000167 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000168!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000169 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000170!else
171 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
172!endif
jljusten49ba9442009-05-27 21:10:18 +0000173 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
174 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
175 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000176!ifdef $(SOURCE_DEBUG_ENABLE)
177 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
178!endif
jljusten49ba9442009-05-27 21:10:18 +0000179
180[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000181 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
182 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
183 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000184 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000185!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000186 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000187!else
188 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
189!endif
jljusten49ba9442009-05-27 21:10:18 +0000190 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
191 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000192!ifdef $(SOURCE_DEBUG_ENABLE)
193 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
194!endif
jljusten49ba9442009-05-27 21:10:18 +0000195
196[LibraryClasses.common.DXE_RUNTIME_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000197 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
198 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
199 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000200 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000201!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000202 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000203!else
204 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
205!endif
jljusten49ba9442009-05-27 21:10:18 +0000206 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000207 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000208!if $(SECURE_BOOT_ENABLE) == TRUE
209 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
210!endif
jljusten49ba9442009-05-27 21:10:18 +0000211
212[LibraryClasses.common.UEFI_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000213 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
214 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.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 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000223 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
224
225[LibraryClasses.common.DXE_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000226 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
227 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
228 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000229 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000230 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000231!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten49ba9442009-05-27 21:10:18 +0000232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000233!else
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
235!endif
jljusten49ba9442009-05-27 21:10:18 +0000236 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
237 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
238 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
239 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
240 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
241
jljusten86fef5b2009-06-30 15:57:29 +0000242[LibraryClasses.common.UEFI_APPLICATION]
243 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
244 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
jljustenb90aefa2012-07-26 16:36:39 +0000245!ifdef $(DEBUG_ON_SERIAL_PORT)
jljusten86fef5b2009-06-30 15:57:29 +0000246 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
jljustenb90aefa2012-07-26 16:36:39 +0000247!else
248 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
249!endif
jljusten86fef5b2009-06-30 15:57:29 +0000250
jljusten49ba9442009-05-27 21:10:18 +0000251################################################################################
252#
253# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
254#
255################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000256[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000257 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
258 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000259 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
260 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
lgao48fa729a2010-03-15 01:40:59 +0000261 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
262 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
jljustene05061c2012-03-09 17:38:21 +0000263!if $(SECURE_BOOT_ENABLE) == TRUE
264 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
265!endif
jljusten49ba9442009-05-27 21:10:18 +0000266
lgao47b202cb2010-02-23 23:58:38 +0000267[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000268 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000269 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000270 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
271 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
272 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
jljusten8cee3de2012-03-09 17:38:53 +0000273!if $(SECURE_BOOT_ENABLE) == TRUE
274 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
275!else
jljusten49ba9442009-05-27 21:10:18 +0000276 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
jljusten8cee3de2012-03-09 17:38:53 +0000277!endif
jljusten49ba9442009-05-27 21:10:18 +0000278 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
jljusten27f58ea2009-09-26 07:15:51 +0000279 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
280 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
281 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
282 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
jljusten49ba9442009-05-27 21:10:18 +0000283
jljusten49ba9442009-05-27 21:10:18 +0000284 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
285
jljusten49ba9442009-05-27 21:10:18 +0000286 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
287 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000288!ifdef $(SOURCE_DEBUG_ENABLE)
289 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
290!else
jljusten49ba9442009-05-27 21:10:18 +0000291 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000292!endif
293
gikidy670a64e2011-08-25 03:19:57 +0000294!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000295 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000296!endif
jljusten49ba9442009-05-27 21:10:18 +0000297
jljusten345a0c82011-06-26 18:58:41 +0000298!if $(BUILD_NEW_SHELL)
299 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
300!else
301!if $(USE_NEW_SHELL)
302 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
303!endif
304!endif
305
jljusten53de44a2012-07-31 17:54:39 +0000306!if $(SECURE_BOOT_ENABLE) == TRUE
307 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
308 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
309 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
310 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
311!endif
312
jljusten7ca126f2012-09-12 07:19:39 +0000313 # IRQs 5, 9, 10, 11 are level-triggered
314 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
315
jljusten49ba9442009-05-27 21:10:18 +0000316################################################################################
317#
318# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
319#
320################################################################################
321
lgao47b202cb2010-02-23 23:58:38 +0000322[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000323 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000324 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000325 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
326 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
327
jljusten49ba9442009-05-27 21:10:18 +0000328
329################################################################################
330#
331# Components Section - list of all EDK II Modules needed by this Platform.
332#
333################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000334[Components]
jljusten49ba9442009-05-27 21:10:18 +0000335 #
336 # SEC Phase modules
337 #
jljustenc1c26692010-01-04 16:17:59 +0000338 OvmfPkg/Sec/SecMain.inf {
339 <LibraryClasses>
340 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
341 }
jljusten49ba9442009-05-27 21:10:18 +0000342
343 #
344 # PEI Phase modules
345 #
346 MdeModulePkg/Core/Pei/PeiMain.inf
347 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
348 <LibraryClasses>
349 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
350 }
351 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000352 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000353
354 OvmfPkg/PlatformPei/PlatformPei.inf {
355 <LibraryClasses>
356 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
357 }
jljusten49ba9442009-05-27 21:10:18 +0000358
359 #
360 # DXE Phase modules
361 #
362 MdeModulePkg/Core/Dxe/DxeMain.inf {
363 <LibraryClasses>
364 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
365 }
366
367 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
368 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
369 <LibraryClasses>
370 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
371 }
372
373 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000374
375!if $(SECURE_BOOT_ENABLE) == TRUE
376 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
377 <LibraryClasses>
378 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000379 }
380!else
jljusten49ba9442009-05-27 21:10:18 +0000381 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000382!endif
383
xli24e6d3b272009-12-25 06:36:10 +0000384 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000385 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000386 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000387 UefiCpuPkg/CpuDxe/CpuDxe.inf
388 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
389 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000390 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000391 PcAtChipsetPkg/KbcResetDxe/Reset.inf
392 MdeModulePkg/Universal/Metronome/Metronome.inf {
393 <LibraryClasses>
394 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
395 }
396
klu278e748b2009-07-07 03:21:07 +0000397 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000398 <LibraryClasses>
399 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
400 }
401
jljustenc1c26692010-01-04 16:17:59 +0000402 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000403 <LibraryClasses>
404 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000405!ifdef $(CSM_ENABLE)
406 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
407!endif
jljusten49ba9442009-05-27 21:10:18 +0000408 }
409
jljustenefd82c52010-03-21 00:34:15 +0000410 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljustenfd51d752012-10-08 07:32:59 +0000411 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten27f58ea2009-09-26 07:15:51 +0000412 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
413 <LibraryClasses>
414 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
415 }
416 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
417 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000418 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
419 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
420 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
421 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
422 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
423 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
424 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
425 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000426 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000427 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
428 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
429 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
430 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
431 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
432 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
433 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
434 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
435 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000436 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000437
jljusteneaf4f332011-04-12 15:08:51 +0000438 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
439 <LibraryClasses>
440 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
441 }
jljusten49ba9442009-05-27 21:10:18 +0000442
443 #
444 # ISA Support
445 #
446 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
447 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
448 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
449 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
450 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
451
452 #
jljustenfb511812011-08-13 22:54:37 +0000453 # SMBIOS Support
454 #
455 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
456 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
457
458 #
jljusten49ba9442009-05-27 21:10:18 +0000459 # ACPI Support
460 #
461 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000462 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000463 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000464
465 #
466 # Network Support
467 #
468!if $(NETWORK_ENABLE)
469 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
470 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
471 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
472 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
473 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
474 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
475 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
476 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
477 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
478 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
479 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
480 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
481 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
482!endif
jljusten152d9a62010-10-13 07:07:42 +0000483
jljusten689562c2010-12-31 07:55:38 +0000484 #
485 # Usb Support
486 #
487 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
488 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
489 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
490 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
491 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
492
jljusten4b3d6632011-11-10 22:04:49 +0000493!ifdef $(CSM_ENABLE)
494 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
495 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
496 OvmfPkg/Csm/Csm16/Csm16.inf
497!endif
498
jljusten345a0c82011-06-26 18:58:41 +0000499!if $(BUILD_NEW_SHELL)
500 ShellPkg/Application/Shell/Shell.inf {
501 <LibraryClasses>
502 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
503 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
504 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
505 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
506 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
507 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
508 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
509 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
510 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
511 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
512 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
513 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
514 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000515 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000516# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
517# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
518
519 <PcdsFixedAtBuild>
520 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
521 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
522 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
523 }
524!endif
525
jljusten8cee3de2012-03-09 17:38:53 +0000526!if $(SECURE_BOOT_ENABLE) == TRUE
527 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
528 <LibraryClasses>
529 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
530 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
531 }
jljusten8c71ec82012-08-15 00:03:59 +0000532 OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000533!endif