]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/Pei/PeiMain.inf
Add default implementation of EFI_CPU_IO_PPI and EFI_PCI_CFG2_PPI for EFI_SERVICES_TABLE.
[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 - 2009, 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 PI_SPECIFICATION_VERSION = 0x00010000
26
27 ENTRY_POINT = PeiCore
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
33 #
34
35 [Sources.common]
36 StatusCode/StatusCode.c
37 Security/Security.c
38 Reset/Reset.c
39 Ppi/Ppi.c
40 PeiMain/PeiMain.c
41 Memory/MemoryServices.c
42 Image/Image.c
43 Hob/Hob.c
44 FwVol/FwVol.c
45 FwVol/FwVol.h
46 Dispatcher/Dispatcher.c
47 Dependency/Dependency.c
48 Dependency/Dependency.h
49 BootMode/BootMode.c
50 CpuIo/CpuIo.c
51 PciCfg2/PciCfg2.c
52 PeiMain.h
53
54 [Packages]
55 MdePkg/MdePkg.dec
56 MdeModulePkg/MdeModulePkg.dec
57
58 [LibraryClasses]
59 TimerLib
60 BaseMemoryLib
61 PeCoffGetEntryPointLib
62 ReportStatusCodeLib
63 PeiServicesLib
64 PerformanceLib
65 HobLib
66 BaseLib
67 PeiCoreEntryPoint
68 DebugLib
69 MemoryAllocationLib
70 CacheMaintenanceLib
71 PeCoffLib
72 PeiServicesTablePointerLib
73
74
75 [Guids]
76 gPeiAprioriFileNameGuid ## CONSUMES ## GUID
77 gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
78
79 [Ppis]
80 gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES (PeiReportStatusService is not ready if this PPI doesn't exist)
81 gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES (PeiResetService is not ready if this PPI doesn't exist)
82 gEfiDxeIplPpiGuid ## CONSUMES
83 gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES
84 gEfiPeiDecompressPpiGuid ## CONSUMES
85 gEfiPeiFirmwareVolumeInfoPpiGuid ## NOTIFY ## SOMETIMES_PRODUCES (Produce FvInfoPpi if the encapsulated FvImage is found)
86 gEfiPeiLoadFilePpiGuid ## PRODUCES ## SOMETIMES_CONSUMES (The default load PeImage logic will be used when this PPI doesn't exist)
87 gEfiPeiSecurity2PpiGuid ## NOTIFY
88 gEfiTemporaryRamSupportPpiGuid ## CONSUMES
89 gEfiPeiCpuIoPpiInstalledGuid ## PRODUCES ## PRODUCES
90 gEfiPciCfg2PpiGuid ## PRODUCES ## PRODUCES
91
92 [FixedPcd.common]
93 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
94 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES
96 gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch ## CONSUMES
97 gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry ## CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES
99
100 [FeaturePcd.common]
101 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
103