X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=342e344559093da8fd48994a2787ed43d8e57c3b;hb=e50a226b2ff490d33fe2f35aa52f5902f7fa91b0;hp=5500af19bc89c7e32d36ac806e5c4b64fcacb815;hpb=405b567555b3e133ba9b49be3821c3b1b0e2a120;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index 5500af19bc..342e344559 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -1,12 +1,14 @@ -#/** @file -# PeiMain module is core module in PEI phase. It takes responsibilities of: +## @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. # -# Copyright (c) 2006 - 2008, 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 @@ -14,17 +16,15 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 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 # @@ -33,7 +33,7 @@ # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) # -[Sources.common] +[Sources] StatusCode/StatusCode.c Security/Security.c Reset/Reset.c @@ -43,18 +43,20 @@ Image/Image.c Hob/Hob.c FwVol/FwVol.c + FwVol/FwVol.h Dispatcher/Dispatcher.c Dependency/Dependency.c Dependency/Dependency.h BootMode/BootMode.c + CpuIo/CpuIo.c + PciCfg2/PciCfg2.c PeiMain.h [Packages] - MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec [LibraryClasses] - TimerLib BaseMemoryLib PeCoffGetEntryPointLib ReportStatusCodeLib @@ -67,34 +69,64 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib - PeiPiLib 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] - gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED - gEfiPeiResetPpiGuid # PPI SOMETIMES_CONSUMED - gEfiDxeIplPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiDecompressPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiFirmwareVolumeInfoPpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiLoadFilePpiGuid # PPI ALWAYS_CONSUMED - gEfiPeiSecurity2PpiGuid # PPI ALWAYS_CONSUMED - gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_CONSUMED + 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 ## 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 ## CONSUMES + +# [BootMode] +# S3_RESUME ## SOMETIMES_CONSUMES -[FixedPcd.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize +# [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 -[FeaturePcd.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst - gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport - \ No newline at end of file +[UserExtensions.TianoCore."ExtraFiles"] + PeiCoreExtra.uni