2007-07-04 09:51:48 +02:00
|
|
|
#/** @file
|
2008-10-28 14:16:21 +01:00
|
|
|
# PeiMain module is core module in PEI phase. It takes responsibilities of:
|
|
|
|
# 1) Initialize memory, PPI, image services etc, to establish PEIM runtime environment.
|
|
|
|
# 2) Dispatch PEIM from discovered FV.
|
|
|
|
# 3) Handoff control to DxeIpl to load DXE core and enter DXE phase.
|
2007-07-04 09:51:48 +02:00
|
|
|
#
|
2008-10-28 14:16:21 +01:00
|
|
|
# Copyright (c) 2006 - 2008, Intel Corporation
|
2007-07-04 09:51:48 +02:00
|
|
|
#
|
|
|
|
# All rights reserved. This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2008-10-05 15:32:39 +02:00
|
|
|
BASE_NAME = PeiCore
|
2007-07-04 09:51:48 +02:00
|
|
|
FILE_GUID = 52C05B14-0B98-496c-BC3B-04B50211D680
|
|
|
|
MODULE_TYPE = PEI_CORE
|
|
|
|
VERSION_STRING = 1.0
|
2008-10-29 04:17:21 +01:00
|
|
|
PI_SPECIFICATION_VERSION = 0x00010000
|
2007-07-04 09:51:48 +02:00
|
|
|
|
|
|
|
ENTRY_POINT = PeiCore
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2008-10-28 08:17:17 +01:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
|
2007-07-04 09:51:48 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
StatusCode/StatusCode.c
|
|
|
|
Security/Security.c
|
|
|
|
Reset/Reset.c
|
|
|
|
Ppi/Ppi.c
|
|
|
|
PeiMain/PeiMain.c
|
|
|
|
Memory/MemoryServices.c
|
|
|
|
Image/Image.c
|
|
|
|
Hob/Hob.c
|
|
|
|
FwVol/FwVol.c
|
|
|
|
Dispatcher/Dispatcher.c
|
2008-07-17 03:29:38 +02:00
|
|
|
Dependency/Dependency.c
|
|
|
|
Dependency/Dependency.h
|
2007-07-04 09:51:48 +02:00
|
|
|
BootMode/BootMode.c
|
|
|
|
PeiMain.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2009-02-25 16:35:58 +01:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2008-04-03 11:20:11 +02:00
|
|
|
|
2007-07-04 09:51:48 +02:00
|
|
|
[LibraryClasses]
|
|
|
|
TimerLib
|
|
|
|
BaseMemoryLib
|
|
|
|
PeCoffGetEntryPointLib
|
|
|
|
ReportStatusCodeLib
|
|
|
|
PeiServicesLib
|
|
|
|
PerformanceLib
|
|
|
|
HobLib
|
|
|
|
BaseLib
|
2007-09-12 11:52:37 +02:00
|
|
|
PeiCoreEntryPoint
|
2007-07-04 09:51:48 +02:00
|
|
|
DebugLib
|
2007-09-24 13:38:43 +02:00
|
|
|
MemoryAllocationLib
|
|
|
|
CacheMaintenanceLib
|
|
|
|
PeCoffLib
|
2008-10-17 10:42:33 +02:00
|
|
|
PeiServicesTablePointerLib
|
|
|
|
|
2007-07-04 09:51:48 +02:00
|
|
|
|
|
|
|
[Guids]
|
2009-02-25 16:35:58 +01:00
|
|
|
gPeiAprioriFileNameGuid ## CONSUMES ## GUID
|
|
|
|
gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
|
2007-07-04 09:51:48 +02:00
|
|
|
|
|
|
|
[Ppis]
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES (PeiReportStatusService is not ready if this PPI doesn't exist)
|
|
|
|
gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES (PeiResetService is not ready if this PPI doesn't exist)
|
2009-02-13 09:38:34 +01:00
|
|
|
gEfiDxeIplPpiGuid ## CONSUMES
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES
|
2009-02-13 09:38:34 +01:00
|
|
|
gEfiPeiDecompressPpiGuid ## CONSUMES
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiPeiFirmwareVolumeInfoPpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfoPpi if the encapsulated FvImage is found)
|
|
|
|
gEfiPeiLoadFilePpiGuid ## PRODUCES ## SOMETIMES_CONSUMES (The default load PeImage logic will be used when this PPI doesn't exist)
|
|
|
|
gEfiPeiSecurity2PpiGuid ## NOTIFY
|
2009-02-13 09:38:34 +01:00
|
|
|
gEfiTemporaryRamSupportPpiGuid ## CONSUMES
|
2007-09-24 13:38:43 +02:00
|
|
|
|
2007-10-15 13:15:39 +02:00
|
|
|
[FixedPcd.common]
|
2009-02-13 09:38:34 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES
|
2009-03-05 06:05:57 +01:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch ## CONSUMES
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry ## CONSUMES
|
2009-02-13 09:38:34 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES
|
2008-02-29 19:24:43 +01:00
|
|
|
|
2007-11-15 10:00:14 +01:00
|
|
|
[FeaturePcd.common]
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES
|
2009-02-25 10:04:47 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
|
2008-08-21 09:51:03 +02:00
|
|
|
|