X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=7cff0632a333779c386da54063ce3705d54a9792;hb=fe7819402c285c2d006b79eb66981673fedf3d04;hp=b9787f81e8d4e0c0aec75207f42a3a70da7daad7;hpb=3076397e4b8f6baaea994da79b3c4e934a5f31d7;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index b9787f81e8..7cff0632a3 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -1,10 +1,12 @@ -#/** @file -# Component description file for PeiMain module +## @file +# 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 - 2014, Intel Corporation. All rights reserved.
# -# All rights reserved. This program and the accompanying materials +# 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 @@ -12,26 +14,23 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [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,34 +40,20 @@ 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 BaseMemoryLib PeCoffGetEntryPointLib ReportStatusCodeLib @@ -81,29 +66,36 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib + PeiServicesTablePointerLib + PcdLib [Guids] - gPeiAprioriFileNameGuid - gEfiFirmwareFileSystem2Guid - + gPeiAprioriFileNameGuid ## CONSUMES ## GUID + gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV + gEfiFirmwareFileSystem3Guid ## 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 - gEfiSecPlatformInformationPpiGuid - -[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) + gEfiPeiFirmwareVolumeInfo2PpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfo2Ppi 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 ## SOMETIMES_CONSUMES + gEfiTemporaryRamDonePpiGuid ## SOMETIMES_CONSUMES + +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnS3Boot ## SOMETIMES_CONSUMES