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