X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=2b8c4ad8b9784d70286056b4588df1300870010e;hb=e18fa167215e24421735a2d421d5c6208054f003;hp=0922005c1d1ec8e441fe8ae42f23c42bd8ded368;hpb=9a6b83a4adae9947d95df22cee8b16ae6ebe024d;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index 0922005c1d..2b8c4ad8b9 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -1,8 +1,10 @@ #/** @file -# Component description file for PeiMain module +# 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. # -# This module provide an DXE CIS compliant implementation. -# Copyright (c) 2006 - 2007, Intel Corporation +# Copyright (c) 2006 - 2010, Intel Corporation # # All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -16,22 +18,19 @@ [Defines] INF_VERSION = 0x00010005 - BASE_NAME = PeiMain + BASE_NAME = PeiCore FILE_GUID = 52C05B14-0B98-496c-BC3B-04B50211D680 MODULE_TYPE = PEI_CORE VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - ENTRY_POINT = PeiCore # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) # -[Sources.common] +[Sources] StatusCode/StatusCode.c Security/Security.c Reset/Reset.c @@ -41,31 +40,18 @@ Image/Image.c Hob/Hob.c FwVol/FwVol.c + FwVol/FwVol.h Dispatcher/Dispatcher.c - Dependency/dependency.c - Dependency/dependency.h + Dependency/Dependency.c + Dependency/Dependency.h BootMode/BootMode.c + CpuIo/CpuIo.c + PciCfg2/PciCfg2.c PeiMain.h -[Sources.Ia32] - Dispatcher/Stack.c - -[Sources.X64] - Dispatcher/Stack.c - -[Sources.IPF] - Ipf/Stack.c - Ipf/IpfPeiMain.h - Ipf/IpfCpuCore.s - Ipf/SwitchToCacheMode.c - -[Sources.EBC] - Dispatcher/Stack.c - [Packages] - MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec + MdeModulePkg/MdeModulePkg.dec [LibraryClasses] TimerLib @@ -81,28 +67,34 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib + PeiServicesTablePointerLib [Guids] - gPeiAprioriFileNameGuid - gEfiFirmwareFileSystem2Guid - + gPeiAprioriFileNameGuid ## CONSUMES ## GUID + gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV + [Ppis] - gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED - gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED - gEfiPeiResetPpiGuid # PPI SOMETIMES_CONSUMED - gEfiDxeIplPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_PRODUCED - gEfiPeiDecompressPpiGuid - gEfiPeiFirmwareVolumeInfoPpiGuid - gEfiPeiLoadFilePpiGuid - gEfiPeiSecurity2PpiGuid - -[FixedPcd.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv - -[FeaturePcd.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst - - - + 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) + gEfiDxeIplPpiGuid ## CONSUMES + gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES + gEfiPeiDecompressPpiGuid ## CONSUMES + 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 + gEfiTemporaryRamSupportPpiGuid ## CONSUMES + +[FixedPcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES + +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber ## SOMETIMES_CONSUMES +