X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=52b0bf21cac491e4aa430006eb315dcc7f41116c;hp=0d58f9555a31bc75dc38c66075e2e77218e6b6e4;hb=de5b0df93fb3cf540e40bf94222c7bddbc2a6de6;hpb=288f9b382445a50278155f703ccce9a0293fceb5 diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index 0d58f9555a..52b0bf21ca 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 - 2008, 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,19 +18,18 @@ [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 + PI_SPECIFICATION_VERSION = 0x00010000 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] @@ -42,31 +43,15 @@ Hob/Hob.c FwVol/FwVol.c Dispatcher/Dispatcher.c - Dependency/dependency.c - Dependency/dependency.h + Dependency/Dependency.c + Dependency/Dependency.h BootMode/BootMode.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 BaseMemoryLib @@ -81,26 +66,33 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib - PeiPiLib + 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 + 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.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES [FeaturePcd.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES + \ No newline at end of file