fd4b707684049e31ad73466201f47859f75cea19
[mirror_edk2.git] / IntelFspWrapperPkg / FspInitPei / FspInitPei.h
1 /** @file
2 This is PEIM header file.
3
4 Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef _FSP_INIT_PEI_H_
16 #define _FSP_INIT_PEI_H_
17
18 #include <PiPei.h>
19
20 #include <Library/PeimEntryPoint.h>
21 #include <Library/PeiServicesLib.h>
22 #include <Library/PeiServicesTablePointerLib.h>
23 #include <Library/BaseLib.h>
24 #include <Library/DebugLib.h>
25 #include <Library/BaseMemoryLib.h>
26 #include <Library/HobLib.h>
27 #include <Library/PcdLib.h>
28 #include <Library/FspPlatformInfoLib.h>
29 #include <Library/FspPlatformSecLib.h>
30 #include <Library/FspHobProcessLib.h>
31 #include <Library/FspApiLib.h>
32
33 #include <Ppi/FspInitDone.h>
34 #include <Ppi/EndOfPeiPhase.h>
35 #include <Ppi/MemoryDiscovered.h>
36 #include <Ppi/TemporaryRamDone.h>
37
38 extern EFI_PEI_NOTIFY_DESCRIPTOR mS3EndOfPeiNotifyDesc;
39
40 EFI_STATUS
41 PeiFspInitV1 (
42 IN FSP_INFO_HEADER *FspHeader
43 );
44
45 EFI_STATUS
46 PeiFspInitV2 (
47 IN FSP_INFO_HEADER *FspHeader
48 );
49
50 #endif