2 This is PEIM header file.
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.
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.
15 #ifndef _FSP_INIT_PEI_H_
16 #define _FSP_INIT_PEI_H_
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>
33 #include <Ppi/FspInitDone.h>
34 #include <Ppi/EndOfPeiPhase.h>
35 #include <Ppi/MemoryDiscovered.h>
36 #include <Ppi/TemporaryRamDone.h>
38 extern EFI_PEI_NOTIFY_DESCRIPTOR mS3EndOfPeiNotifyDesc
;
41 Do FSP initialization based on FspApi version 1.
43 @param[in] FspHeader FSP header pointer.
45 @return FSP initialization status.
49 IN FSP_INFO_HEADER
*FspHeader
53 Do FSP initialization based on FspApi version 2.
55 @param[in] FspHeader FSP header pointer.
57 @return FSP initialization status.
61 IN FSP_INFO_HEADER
*FspHeader