blob: f4a5eec107b528ee9d981cfcc04ceec1c8be12f2 [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#
jljusten7ca30a62011-01-13 05:46:52 +00004# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
klu2713b7b52009-10-22 06:30:20 +000025 DSC_SPECIFICATION = 0x00010005
jljusten49ba9442009-05-27 21:10:18 +000026 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
mdkinney7416f4e2010-07-26 18:07:19 +000030 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
jljusten49ba9442009-05-27 21:10:18 +000031
jljustene05061c2012-03-09 17:38:21 +000032 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37
jljusten0bc7e562010-01-04 16:18:02 +000038[BuildOptions]
jljusten152d9a62010-10-13 07:07:42 +000039 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
40 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
41 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
jljusten4a8266f2010-12-31 07:55:51 +000042 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
jljusten0bc7e562010-01-04 16:18:02 +000043
jljusten49ba9442009-05-27 21:10:18 +000044################################################################################
45#
46# SKU Identification section - list of all SKU IDs supported by this Platform.
47#
48################################################################################
49[SkuIds]
50 0|DEFAULT
51
52################################################################################
53#
54# Library Class section - list of all Library Classes needed by this Platform.
55#
56################################################################################
lgao47b202cb2010-02-23 23:58:38 +000057[LibraryClasses]
jljusten49ba9442009-05-27 21:10:18 +000058 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
59 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
60 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljusten4a8266f2010-12-31 07:55:51 +000061 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
jljusten49ba9442009-05-27 21:10:18 +000062 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
63 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
64 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
65 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
jljusten49ba9442009-05-27 21:10:18 +000067 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
69 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
70 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jljusten49ba9442009-05-27 21:10:18 +000071 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
72 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
73 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
74 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
75 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
76 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
77 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
xli241630c6d2009-12-29 09:36:05 +000078 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +000079 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
80 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
jljusten86fef5b2009-06-30 15:57:29 +000081 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
82 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
83 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
84 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
85 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
86 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
jljusten14b21de2009-09-16 16:29:03 +000087 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
jljusten70520472011-03-31 23:17:07 +000088 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
qhuang8284af942009-11-25 04:26:09 +000089 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
lgao48273af42009-11-26 01:33:07 +000090 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
mdkinney7416f4e2010-07-26 18:07:19 +000091 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
92 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
93 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
94 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
jljusten689562c2010-12-31 07:55:38 +000095 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
jljustenb043ebc2011-01-30 19:49:54 +000096 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
hhtiand33db922011-09-02 13:31:24 +000097 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +000098
99!ifdef $(SOURCE_DEBUG_ENABLE)
100 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
101 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
102!else
mdkinney42a83e82010-08-03 07:41:54 +0000103 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
104 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000105!endif
jljusten152d9a62010-10-13 07:07:42 +0000106
jljusten7ca30a62011-01-13 05:46:52 +0000107 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000108 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000109 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
110
111!if $(SECURE_BOOT_ENABLE) == TRUE
112 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
113 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
114 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
115!endif
116
117[LibraryClasses.common]
118!if $(SECURE_BOOT_ENABLE) == TRUE
119 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
120!endif
jljusten152d9a62010-10-13 07:07:42 +0000121
jljusten49ba9442009-05-27 21:10:18 +0000122[LibraryClasses.common.SEC]
123 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
xli24abec2e52009-12-29 09:10:05 +0000124 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
lgao4fcd7e672010-05-05 02:06:21 +0000125 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000126!ifdef $(SOURCE_DEBUG_ENABLE)
127 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
128!endif
mdkinney42a83e82010-08-03 07:41:54 +0000129 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
130 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
131 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
132 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000133
134[LibraryClasses.common.PEI_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000135 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
136 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
137 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
138 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
139 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000140 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000141 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000142 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
143 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
144 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
145
146[LibraryClasses.common.PEIM]
jljusten49ba9442009-05-27 21:10:18 +0000147 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
148 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
149 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
150 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
151 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
xli24abec2e52009-12-29 09:10:05 +0000152 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
xli241630c6d2009-12-29 09:36:05 +0000153 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000154 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
155 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
156 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
157 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
158 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000159!ifdef $(SOURCE_DEBUG_ENABLE)
160 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
161!endif
jljusten49ba9442009-05-27 21:10:18 +0000162
163[LibraryClasses.common.DXE_CORE]
jljusten49ba9442009-05-27 21:10:18 +0000164 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
165 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
166 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000167 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000168 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
169 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
170 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
vanjeffc6efcc22010-09-12 06:46:55 +0000171!ifdef $(SOURCE_DEBUG_ENABLE)
172 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
173!endif
jljusten49ba9442009-05-27 21:10:18 +0000174
175[LibraryClasses.common.DXE_RUNTIME_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000176 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
177 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
178 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000179 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000180 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
181 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000182 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
183 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten8cee3de2012-03-09 17:38:53 +0000184!if $(SECURE_BOOT_ENABLE) == TRUE
185 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
186!endif
jljusten49ba9442009-05-27 21:10:18 +0000187
188[LibraryClasses.common.UEFI_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000189 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
190 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
191 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000192 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000193 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
194 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
jljusten49ba9442009-05-27 21:10:18 +0000195 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
196
197[LibraryClasses.common.DXE_DRIVER]
jljusten49ba9442009-05-27 21:10:18 +0000198 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
199 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
200 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
xli24abec2e52009-12-29 09:10:05 +0000201 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000202 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
jljusten49ba9442009-05-27 21:10:18 +0000203 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
204 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
205 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
206 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
207 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
208 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
209 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
210
jljusten86fef5b2009-06-30 15:57:29 +0000211[LibraryClasses.common.UEFI_APPLICATION]
212 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
213 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
214 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
215
jljusten49ba9442009-05-27 21:10:18 +0000216################################################################################
217#
218# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
219#
220################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000221[PcdsFeatureFlag]
jljustene8d1b8d2010-01-04 16:18:03 +0000222 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
223 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
lgao48fa729a2010-03-15 01:40:59 +0000224 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
lgao48fa729a2010-03-15 01:40:59 +0000226 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
227 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
228 gOptionRomPkgTokenSpaceGuid.PcdSupportGop|TRUE
229 gOptionRomPkgTokenSpaceGuid.PcdSupportUga|FALSE
jljustene05061c2012-03-09 17:38:21 +0000230!if $(SECURE_BOOT_ENABLE) == TRUE
231 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
232!endif
lgao48fa729a2010-03-15 01:40:59 +0000233
lgao47b202cb2010-02-23 23:58:38 +0000234[PcdsFixedAtBuild]
xli24e6d3b272009-12-25 06:36:10 +0000235 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gikidy670a64e2011-08-25 03:19:57 +0000236 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
jljusten49ba9442009-05-27 21:10:18 +0000237 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
238 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
239 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
jljusten8cee3de2012-03-09 17:38:53 +0000240!if $(SECURE_BOOT_ENABLE) == TRUE
241 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
242!else
jljusten49ba9442009-05-27 21:10:18 +0000243 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
jljusten8cee3de2012-03-09 17:38:53 +0000244!endif
jljusten49ba9442009-05-27 21:10:18 +0000245 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
jljusten27f58ea2009-09-26 07:15:51 +0000246 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
247 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
248 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
249 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
jljusten49ba9442009-05-27 21:10:18 +0000250
jljusten49ba9442009-05-27 21:10:18 +0000251 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
252
jljusten49ba9442009-05-27 21:10:18 +0000253 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
254 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
vanjeffc6efcc22010-09-12 06:46:55 +0000255!ifdef $(SOURCE_DEBUG_ENABLE)
256 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
257!else
jljusten49ba9442009-05-27 21:10:18 +0000258 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
vanjeffc6efcc22010-09-12 06:46:55 +0000259!endif
260
jljusten8cee3de2012-03-09 17:38:53 +0000261!if $(SECURE_BOOT_ENABLE) == TRUE
262 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
263 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x05
264 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x05
265 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x05
266!endif
267
gikidy670a64e2011-08-25 03:19:57 +0000268!ifdef $(SOURCE_DEBUG_ENABLE)
vanjeffc6efcc22010-09-12 06:46:55 +0000269 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
gikidy670a64e2011-08-25 03:19:57 +0000270!endif
jljusten49ba9442009-05-27 21:10:18 +0000271
jljusten345a0c82011-06-26 18:58:41 +0000272!if $(BUILD_NEW_SHELL)
273 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
274!else
275!if $(USE_NEW_SHELL)
276 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
277!endif
278!endif
279
jljusten49ba9442009-05-27 21:10:18 +0000280################################################################################
281#
282# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
283#
284################################################################################
285
lgao47b202cb2010-02-23 23:58:38 +0000286[PcdsDynamicDefault]
jljusten77ba9932009-09-07 20:18:17 +0000287 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
jljustene3130262011-01-16 03:32:47 +0000288 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
jljusten27f58ea2009-09-26 07:15:51 +0000289 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
290 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
291
jljusten49ba9442009-05-27 21:10:18 +0000292
293################################################################################
294#
295# Components Section - list of all EDK II Modules needed by this Platform.
296#
297################################################################################
lgao47b202cb2010-02-23 23:58:38 +0000298[Components]
jljusten49ba9442009-05-27 21:10:18 +0000299 #
300 # SEC Phase modules
301 #
jljustenc1c26692010-01-04 16:17:59 +0000302 OvmfPkg/Sec/SecMain.inf {
303 <LibraryClasses>
304 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
305 }
jljusten49ba9442009-05-27 21:10:18 +0000306
307 #
308 # PEI Phase modules
309 #
310 MdeModulePkg/Core/Pei/PeiMain.inf
311 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
312 <LibraryClasses>
313 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
314 }
315 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
jljustenc1c26692010-01-04 16:17:59 +0000316 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
jljusten77ba9932009-09-07 20:18:17 +0000317
318 OvmfPkg/PlatformPei/PlatformPei.inf {
319 <LibraryClasses>
320 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
321 }
jljusten49ba9442009-05-27 21:10:18 +0000322
323 #
324 # DXE Phase modules
325 #
326 MdeModulePkg/Core/Dxe/DxeMain.inf {
327 <LibraryClasses>
328 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
329 }
330
331 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
332 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
333 <LibraryClasses>
334 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
335 }
jljustenc1c26692010-01-04 16:17:59 +0000336
jljusten49ba9442009-05-27 21:10:18 +0000337 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000338
339!if $(SECURE_BOOT_ENABLE) == TRUE
340 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
341 <LibraryClasses>
342 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
343 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
344 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
345 }
346!else
jljusten49ba9442009-05-27 21:10:18 +0000347 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000348!endif
349
xli24e6d3b272009-12-25 06:36:10 +0000350 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000351 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tian73cbc582009-12-08 05:31:19 +0000352 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000353 UefiCpuPkg/CpuDxe/CpuDxe.inf
354 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
355 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000356 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000357 PcAtChipsetPkg/KbcResetDxe/Reset.inf
358 MdeModulePkg/Universal/Metronome/Metronome.inf {
359 <LibraryClasses>
360 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
361 }
362
klu278e748b2009-07-07 03:21:07 +0000363 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000364 <LibraryClasses>
365 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
366 }
367
jljustenc1c26692010-01-04 16:17:59 +0000368 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
jljusten49ba9442009-05-27 21:10:18 +0000369 <LibraryClasses>
370 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
jljusten8016da22011-11-10 22:04:19 +0000371!ifdef $(CSM_ENABLE)
372 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
373!endif
jljusten49ba9442009-05-27 21:10:18 +0000374 }
375
jljustenefd82c52010-03-21 00:34:15 +0000376 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljusten27f58ea2009-09-26 07:15:51 +0000377 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
378 <LibraryClasses>
379 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
380 }
381 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
382 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000383 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
384 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
385 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
386 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
387 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
388 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
389 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
390 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000391 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000392 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
393 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
394 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
395 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
396 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
397 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
398 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
399 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
400 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000401 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000402
jljusteneaf4f332011-04-12 15:08:51 +0000403 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
404 <LibraryClasses>
405 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
406 }
jljusten49ba9442009-05-27 21:10:18 +0000407
408 #
409 # ISA Support
410 #
411 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
412 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
413 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
414 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
415 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
416
417 #
jljustenfb511812011-08-13 22:54:37 +0000418 # SMBIOS Support
419 #
420 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
421 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
422
423 #
jljusten49ba9442009-05-27 21:10:18 +0000424 # ACPI Support
425 #
426 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
427 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
428 OvmfPkg/AcpiTables/AcpiTables.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000429
430 #
431 # Network Support
432 #
433!if $(NETWORK_ENABLE)
434 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
435 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
436 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
437 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
438 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
439 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
440 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
441 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
442 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
443 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
444 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
445 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
446 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
447!endif
jljusten152d9a62010-10-13 07:07:42 +0000448
jljusten689562c2010-12-31 07:55:38 +0000449 #
450 # Usb Support
451 #
452 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
453 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
454 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
455 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
456 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
457
jljusten4b3d6632011-11-10 22:04:49 +0000458!ifdef $(CSM_ENABLE)
459 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
460 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
461 OvmfPkg/Csm/Csm16/Csm16.inf
462!endif
463
jljusten345a0c82011-06-26 18:58:41 +0000464!if $(BUILD_NEW_SHELL)
465 ShellPkg/Application/Shell/Shell.inf {
466 <LibraryClasses>
467 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
468 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
469 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
470 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
471 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
472 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
473 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
474 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
475 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
476 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
477 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
478 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
479 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
jljustend12bed12011-07-11 21:20:40 +0000480 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
jljusten345a0c82011-06-26 18:58:41 +0000481# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
482# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
483
484 <PcdsFixedAtBuild>
485 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
486 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
487 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
488 }
489!endif
490
jljusten8cee3de2012-03-09 17:38:53 +0000491!if $(SECURE_BOOT_ENABLE) == TRUE
492 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
493 <LibraryClasses>
494 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
495 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
496 }
497!endif