]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/Pei/PeiMain.inf
1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using...
[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 - 2013, Intel Corporation. All rights reserved.<BR>
8 #
9 # 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 BaseMemoryLib
58 PeCoffGetEntryPointLib
59 ReportStatusCodeLib
60 PeiServicesLib
61 PerformanceLib
62 HobLib
63 BaseLib
64 PeiCoreEntryPoint
65 DebugLib
66 MemoryAllocationLib
67 CacheMaintenanceLib
68 PeCoffLib
69 PeiServicesTablePointerLib
70 PcdLib
71
72 [Guids]
73 gPeiAprioriFileNameGuid ## CONSUMES ## GUID
74 gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
75 gEfiFirmwareFileSystem3Guid ## CONSUMES ## FV
76
77 [Ppis]
78 gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES (PeiReportStatusService is not ready if this PPI doesn't exist)
79 gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES (PeiResetService is not ready if this PPI doesn't exist)
80 gEfiDxeIplPpiGuid ## CONSUMES
81 gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES
82 gEfiPeiDecompressPpiGuid ## CONSUMES
83 gEfiPeiFirmwareVolumeInfoPpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfoPpi if the encapsulated FvImage is found)
84 gEfiPeiFirmwareVolumeInfo2PpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfo2Ppi if the encapsulated FvImage is found)
85 gEfiPeiLoadFilePpiGuid ## PRODUCES ## SOMETIMES_CONSUMES (The default load PeImage logic will be used when this PPI doesn't exist)
86 gEfiPeiSecurity2PpiGuid ## NOTIFY
87 gEfiTemporaryRamSupportPpiGuid ## CONSUMES
88
89 [FixedPcd]
90 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
91 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES
92 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES
93
94 [Pcd]
95 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES
96 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES
97 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber ## SOMETIMES_CONSUMES
99 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber ## SOMETIMES_CONSUMES
100 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber ## SOMETIMES_CONSUMES
101 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnS3Boot ## SOMETIMES_CONSUMES