X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=39a464f32633a35343fed10c533f80c022d9c903;hb=609730ef9120cb4f30a85afc7f7833a7cc554312;hp=647e70941769df05d87ad3daa675e95e7639fb66;hpb=974a1fd139ee3a51aa89362870694f2850c267eb;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index 647e709417..39a464f326 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -1,10 +1,14 @@ -#/** @file -# Component description file for PeiMain module +## @file +# PeiMain module is core module in PEI phase. # -# This module provide an DXE CIS compliant implementation. -# Copyright (c) 2006 - 2007, Intel Corporation +# 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. # -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2006 - 2015, 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 # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -12,26 +16,24 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 - BASE_NAME = PeiMain + BASE_NAME = PeiCore + MODULE_UNI_FILE = PeiCore.uni 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 +43,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,22 +69,66 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib + PeiServicesTablePointerLib + PcdLib [Guids] - gPeiAprioriFileNameGuid + gPeiAprioriFileNameGuid ## SOMETIMES_CONSUMES ## File + ## PRODUCES ## UNDEFINED # Install ppi + ## CONSUMES ## UNDEFINED # Locate ppi gEfiFirmwareFileSystem2Guid - + ## PRODUCES ## UNDEFINED # Install ppi + ## CONSUMES ## UNDEFINED # Locate ppi + ## CONSUMES ## GUID # Used to compare with FV's file system guid and get the FV's file system format + gEfiFirmwareFileSystem3Guid + [Ppis] - gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED - gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED - gEfiPeiResetPpiGuid # PPI SOMETIMES_CONSUMED - gEfiDxeIplPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_PRODUCED - gEfiPeiDecompressPpiGuid + 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 ## SOMETIMES_CONSUMES + ## NOTIFY + ## SOMETIMES_PRODUCES # Produce FvInfoPpi if the encapsulated FvImage is found gEfiPeiFirmwareVolumeInfoPpiGuid + ## NOTIFY + ## SOMETIMES_PRODUCES # Produce FvInfoPpi2 if the encapsulated FvImage is found + gEfiPeiFirmwareVolumeInfo2PpiGuid + ## PRODUCES + ## CONSUMES gEfiPeiLoadFilePpiGuid - gEfiPeiSecurity2PpiGuid + gEfiPeiSecurity2PpiGuid ## NOTIFY + gEfiTemporaryRamSupportPpiGuid ## SOMETIMES_CONSUMES + gEfiTemporaryRamDonePpiGuid ## SOMETIMES_CONSUMES + gEfiPeiReset2PpiGuid ## 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 ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnBoot ## CONSUMES + +# [BootMode] +# S3_RESUME ## SOMETIMES_CONSUMES -[BuildOptions.common] - MSFT:DEBUG_*_IA32_CC_FLAGS = /FAcs +# [Hob] +# PHIT ## PRODUCES +# RESOURCE_DESCRIPTOR ## SOMETIMES_PRODUCES +# RESOURCE_DESCRIPTOR ## SOMETIMES_CONSUMES +# MEMORY_ALLOCATION ## SOMETIMES_CONSUMES +# FIRMWARE_VOLUME ## SOMETIMES_PRODUCES +# FIRMWARE_VOLUME ## SOMETIMES_CONSUMES +# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES +# MEMORY_ALLOCATION ## PRODUCES # MEMORY_ALLOCATION_STACK +# UNDEFINED ## PRODUCES # MEMORY_POOL +[UserExtensions.TianoCore."ExtraFiles"] + PeiCoreExtra.uni