X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=35c8b973c075da663ae4e0281d37097c62d6c872;hb=e87298818044a116c8b5a805d2c2ae27a4ae2029;hp=c55682300c0c7315b74e60874dcad0f94f7ed661;hpb=2e7a663de426c941c1f309423484b7729ddcdfb4;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index c55682300c..35c8b973c0 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -1,5 +1,8 @@ #/** @file -# Component description file for PeiMain module +# PeiMain module is core module in PEI phase. It take reponsiblities of: +# 1) Initialize memory, ppi, image services etc, to establish PEIM runtime environment. +# 2) Dispatch PEIM from discoveried 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 @@ -14,11 +17,6 @@ # #**/ -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ [Defines] INF_VERSION = 0x00010005 BASE_NAME = PeiMain @@ -36,12 +34,6 @@ # VALID_ARCHITECTURES = IA32 X64 IPF EBC # -################################################################################ -# -# Sources Section - list of files that are required for the build to succeed. -# -################################################################################ - [Sources.common] StatusCode/StatusCode.c Security/Security.c @@ -53,57 +45,14 @@ 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 - CommonHeader.h - -[Sources.Ia32] - Dispatcher/Stack.c - -[Sources.X64] - Dispatcher/Stack.c - -[Sources.IPF] - Ipf/Stack.c - Ipf/IpfPeiMain.h - Ipf/IpfCpuCore.s - Ipf/IpfCpuCore.i - Ipf/SwitchToCacheMode.c - -[Sources.EBC] - Dispatcher/Stack.c - - -################################################################################ -# -# Includes Section - list of Include locations that are required for -# this module. -# -################################################################################ - -[Includes] - $(WORKSPACE)/MdePkg\Include/Library - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ [Packages] MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec - -################################################################################ -# -# Library Class Section - list of Library Classes that are required for -# this module. -# -################################################################################ [LibraryClasses] TimerLib @@ -114,33 +63,37 @@ PerformanceLib HobLib BaseLib - OldPeiCoreEntryPoint + PeiCoreEntryPoint DebugLib - - -################################################################################ -# -# Guid C Name Section - list of Guids that this module uses or produces. -# -################################################################################ + MemoryAllocationLib + CacheMaintenanceLib + PeCoffLib + PeiPiLib [Guids] - gEfiPeiCorePrivateGuid # PRIVATE - - -################################################################################ -# -# PPI C Name Section - list of PPI and PPI Notify C Names that this module -# uses or produces. -# -################################################################################ + gPeiAprioriFileNameGuid + gEfiFirmwareFileSystem2Guid [Ppis] - gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED gEfiPeiResetPpiGuid # PPI SOMETIMES_CONSUMED gEfiDxeIplPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiFvFileLoaderPpiGuid # PPI ALWAYS_CONSUMED - gEfiFindFvPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_PRODUCED - + gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiDecompressPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiFirmwareVolumeInfoPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiLoadFilePpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiSecurity2PpiGuid # PPI ALWAYS_CONSUMED + gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_CONSUMED + +[FixedPcd.common] + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported + gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch + gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize + +[FeaturePcd.common] + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport + \ No newline at end of file