]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/Pei/PeiMain.inf
b2747bbd7ca93028eb7f6e14d3d8330646f605ce
[mirror_edk2.git] / MdeModulePkg / Core / Pei / PeiMain.inf
1 #/** @file
2 # PeiMain module is core module in PEI phase. It takes responsibilities of:
3 # 1) Initialize memory, PPI, image services etc, to establish PEIM runtime environment.
4 # 2) Dispatch PEIM from discovered FV.
5 # 3) Handoff control to DxeIpl to load DXE core and enter DXE phase.
6 #
7 # Copyright (c) 2006 - 2010, Intel Corporation
8 #
9 # All rights reserved. This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 #
17 #**/
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = PeiCore
22 FILE_GUID = 52C05B14-0B98-496c-BC3B-04B50211D680
23 MODULE_TYPE = PEI_CORE
24 VERSION_STRING = 1.0
25 ENTRY_POINT = PeiCore
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
31 #
32
33 [Sources]
34 StatusCode/StatusCode.c
35 Security/Security.c
36 Reset/Reset.c
37 Ppi/Ppi.c
38 PeiMain/PeiMain.c
39 Memory/MemoryServices.c
40 Image/Image.c
41 Hob/Hob.c
42 FwVol/FwVol.c
43 FwVol/FwVol.h
44 Dispatcher/Dispatcher.c
45 Dependency/Dependency.c
46 Dependency/Dependency.h
47 BootMode/BootMode.c
48 CpuIo/CpuIo.c
49 PciCfg2/PciCfg2.c
50 PeiMain.h
51
52 [Packages]
53 MdePkg/MdePkg.dec
54 MdeModulePkg/MdeModulePkg.dec
55
56 [LibraryClasses]
57 TimerLib
58 BaseMemoryLib
59 PeCoffGetEntryPointLib
60 ReportStatusCodeLib
61 PeiServicesLib
62 PerformanceLib
63 HobLib
64 BaseLib
65 PeiCoreEntryPoint
66 DebugLib
67 MemoryAllocationLib
68 CacheMaintenanceLib
69 PeCoffLib
70 PeiServicesTablePointerLib
71
72 [Guids]
73 gPeiAprioriFileNameGuid ## CONSUMES ## GUID
74 gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
75
76 [Ppis]
77 gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES (PeiReportStatusService is not ready if this PPI doesn't exist)
78 gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES (PeiResetService is not ready if this PPI doesn't exist)
79 gEfiDxeIplPpiGuid ## CONSUMES
80 gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES
81 gEfiPeiDecompressPpiGuid ## CONSUMES
82 gEfiPeiFirmwareVolumeInfoPpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfoPpi if the encapsulated FvImage is found)
83 gEfiPeiLoadFilePpiGuid ## PRODUCES ## SOMETIMES_CONSUMES (The default load PeImage logic will be used when this PPI doesn't exist)
84 gEfiPeiSecurity2PpiGuid ## NOTIFY
85 gEfiTemporaryRamSupportPpiGuid ## CONSUMES
86
87 [FixedPcd]
88 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
89 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES
90 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES
91
92 [Pcd]
93 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES
94 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
96