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