]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
6036e94d SZ |
2 | # PeiMain module is core module in PEI phase.\r |
3 | #\r | |
4 | # It takes responsibilities of:\r | |
405b5675 | 5 | # 1) Initialize memory, PPI, image services etc, to establish PEIM runtime environment.\r |
6 | # 2) Dispatch PEIM from discovered FV.\r | |
7 | # 3) Handoff control to DxeIpl to load DXE core and enter DXE phase.\r | |
192f6d4c | 8 | #\r |
672473ea | 9 | # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r |
192f6d4c | 10 | #\r |
cd5ebaa0 | 11 | # This program and the accompanying materials\r |
192f6d4c | 12 | # are licensed and made available under the terms and conditions of the BSD License\r |
13 | # which accompanies this distribution. The full text of the license may be found at\r | |
14 | # http://opensource.org/licenses/bsd-license.php\r | |
15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
17 | #\r | |
18 | #\r | |
6bfbb5f0 | 19 | ##\r |
192f6d4c | 20 | \r |
192f6d4c | 21 | [Defines]\r |
22 | INF_VERSION = 0x00010005\r | |
e97835ba | 23 | BASE_NAME = PeiCore\r |
6036e94d | 24 | MODULE_UNI_FILE = PeiCore.uni\r |
192f6d4c | 25 | FILE_GUID = 52C05B14-0B98-496c-BC3B-04B50211D680\r |
26 | MODULE_TYPE = PEI_CORE\r | |
27 | VERSION_STRING = 1.0\r | |
192f6d4c | 28 | ENTRY_POINT = PeiCore\r |
29 | \r | |
30 | #\r | |
31 | # The following information is for reference only and not required by the build tools.\r | |
32 | #\r | |
078bee4e | 33 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r |
192f6d4c | 34 | #\r |
35 | \r | |
14278858 | 36 | [Sources]\r |
192f6d4c | 37 | StatusCode/StatusCode.c\r |
38 | Security/Security.c\r | |
39 | Reset/Reset.c\r | |
40 | Ppi/Ppi.c\r | |
41 | PeiMain/PeiMain.c\r | |
42 | Memory/MemoryServices.c\r | |
43 | Image/Image.c\r | |
44 | Hob/Hob.c\r | |
45 | FwVol/FwVol.c\r | |
3b428ade | 46 | FwVol/FwVol.h\r |
192f6d4c | 47 | Dispatcher/Dispatcher.c\r |
ba57315e | 48 | Dependency/Dependency.c\r |
49 | Dependency/Dependency.h\r | |
192f6d4c | 50 | BootMode/BootMode.c\r |
8d415937 | 51 | CpuIo/CpuIo.c\r |
52 | PciCfg2/PciCfg2.c\r | |
192f6d4c | 53 | PeiMain.h\r |
192f6d4c | 54 | \r |
192f6d4c | 55 | [Packages]\r |
192f6d4c | 56 | MdePkg/MdePkg.dec\r |
de5b0df9 | 57 | MdeModulePkg/MdeModulePkg.dec\r |
b7616389 | 58 | \r |
192f6d4c | 59 | [LibraryClasses]\r |
192f6d4c | 60 | BaseMemoryLib\r |
61 | PeCoffGetEntryPointLib\r | |
62 | ReportStatusCodeLib\r | |
63 | PeiServicesLib\r | |
64 | PerformanceLib\r | |
65 | HobLib\r | |
66 | BaseLib\r | |
5aae0aa7 | 67 | PeiCoreEntryPoint\r |
192f6d4c | 68 | DebugLib\r |
b0d803fe | 69 | MemoryAllocationLib\r |
70 | CacheMaintenanceLib\r | |
b0d803fe | 71 | PeCoffLib\r |
284c8400 | 72 | PeiServicesTablePointerLib\r |
a326830d | 73 | PcdLib\r |
192f6d4c | 74 | \r |
192f6d4c | 75 | [Guids]\r |
6036e94d SZ |
76 | gPeiAprioriFileNameGuid ## SOMETIMES_CONSUMES ## File\r |
77 | ## PRODUCES ## UNDEFINED # Install ppi\r | |
78 | ## CONSUMES ## UNDEFINED # Locate ppi\r | |
79 | gEfiFirmwareFileSystem2Guid\r | |
80 | ## PRODUCES ## UNDEFINED # Install ppi\r | |
81 | ## CONSUMES ## UNDEFINED # Locate ppi\r | |
82 | ## CONSUMES ## GUID # Used to compare with FV's file system guid and get the FV's file system format\r | |
83 | gEfiFirmwareFileSystem3Guid\r | |
3b428ade | 84 | \r |
192f6d4c | 85 | [Ppis]\r |
6036e94d SZ |
86 | gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES # PeiReportStatusService is not ready if this PPI doesn't exist\r |
87 | gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES # PeiResetService is not ready if this PPI doesn't exist \r | |
055f28d0 | 88 | gEfiDxeIplPpiGuid ## CONSUMES\r |
de5b0df9 | 89 | gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES\r |
6036e94d SZ |
90 | gEfiPeiDecompressPpiGuid ## SOMETIMES_CONSUMES\r |
91 | ## NOTIFY\r | |
92 | ## SOMETIMES_PRODUCES # Produce FvInfoPpi if the encapsulated FvImage is found\r | |
93 | gEfiPeiFirmwareVolumeInfoPpiGuid\r | |
94 | ## NOTIFY\r | |
95 | ## SOMETIMES_PRODUCES # Produce FvInfoPpi2 if the encapsulated FvImage is found\r | |
96 | gEfiPeiFirmwareVolumeInfo2PpiGuid\r | |
97 | ## PRODUCES\r | |
98 | ## CONSUMES\r | |
99 | gEfiPeiLoadFilePpiGuid\r | |
de5b0df9 | 100 | gEfiPeiSecurity2PpiGuid ## NOTIFY\r |
0f9ebb32 LG |
101 | gEfiTemporaryRamSupportPpiGuid ## SOMETIMES_CONSUMES\r |
102 | gEfiTemporaryRamDonePpiGuid ## SOMETIMES_CONSUMES\r | |
672473ea | 103 | gEfiPeiReset2PpiGuid ## SOMETIMES_CONSUMES\r |
14278858 | 104 | \r |
6036e94d SZ |
105 | [Pcd] \r |
106 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES\r | |
107 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv ## CONSUMES\r | |
108 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES\r | |
109 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES\r | |
110 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES\r | |
111 | gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r | |
112 | gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber ## SOMETIMES_CONSUMES\r | |
113 | gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber ## SOMETIMES_CONSUMES\r | |
114 | gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber ## SOMETIMES_CONSUMES\r | |
115 | gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES\r | |
116 | gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnS3Boot ## CONSUMES \r | |
3d44658c | 117 | gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnBoot ## CONSUMES \r |
6036e94d SZ |
118 | \r |
119 | # [BootMode]\r | |
120 | # S3_RESUME ## SOMETIMES_CONSUMES\r | |
121 | \r | |
122 | # [Hob]\r | |
123 | # PHIT ## PRODUCES\r | |
124 | # RESOURCE_DESCRIPTOR ## SOMETIMES_PRODUCES\r | |
125 | # RESOURCE_DESCRIPTOR ## SOMETIMES_CONSUMES\r | |
126 | # MEMORY_ALLOCATION ## SOMETIMES_CONSUMES\r | |
127 | # FIRMWARE_VOLUME ## SOMETIMES_PRODUCES\r | |
128 | # FIRMWARE_VOLUME ## SOMETIMES_CONSUMES\r | |
129 | # MEMORY_ALLOCATION ## SOMETIMES_PRODUCES\r | |
130 | # MEMORY_ALLOCATION ## PRODUCES # MEMORY_ALLOCATION_STACK\r | |
131 | # UNDEFINED ## PRODUCES # MEMORY_POOL\r | |
132 | \r | |
133 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
134 | PeiCoreExtra.uni\r |