X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.inf;h=0b354dc506c809863b8c886ebf9471c910a4f50c;hb=7df7393feb90e87c32f5473af14eec7562b09ce3;hp=7701696850cc86173873551e27ad682af1884028;hpb=b0d803fe3e5c55a9a0c75bc90ccf40ebbbc9ffa3;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index 7701696850..0b354dc506 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,32 +43,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 -[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 - Ipf/InternalSwitchStack.c - -[Sources.EBC] - Dispatcher/Stack.c - [Packages] MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec [LibraryClasses] TimerLib @@ -82,25 +65,34 @@ DebugLib MemoryAllocationLib CacheMaintenanceLib - PeCoffLoaderLib PeCoffLib + PeiServicesTablePointerLib + [Guids] gPeiAprioriFileNameGuid gEfiFirmwareFileSystem2Guid - [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 + gEfiPeiMemoryDiscoveredPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiDecompressPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiFirmwareVolumeInfoPpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiLoadFilePpiGuid # PPI ALWAYS_CONSUMED + gEfiPeiSecurity2PpiGuid # PPI ALWAYS_CONSUMED + gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_CONSUMED -[BuildOptions.common] - MSFT:DEBUG_*_IA32_CC_FLAGS = /FAcs +[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