2 Provide FSP API related function.
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_API_LIB_H__
16 #define __FSP_API_LIB_H__
19 #include <FspInfoHeader.h>
22 Find FSP header pointer.
24 @param[in] FlashFvFspBase Flash address of FSP FV.
26 @return FSP header pointer.
31 IN EFI_PHYSICAL_ADDRESS FlashFvFspBase
35 Call FSP API - FspInit.
37 @param[in] FspHeader FSP header pointer.
38 @param[in] FspInitParams Address pointer to the FSP_INIT_PARAMS structure.
40 @return EFI status returned by FspInit API.
45 IN FSP_INFO_HEADER
*FspHeader
,
46 IN FSP_INIT_PARAMS
*FspInitParams
50 Call FSP API - FspNotifyPhase.
52 @param[in] FspHeader FSP header pointer.
53 @param[in] NotifyPhaseParams Address pointer to the NOTIFY_PHASE_PARAMS structure.
55 @return EFI status returned by FspNotifyPhase API.
60 IN FSP_INFO_HEADER
*FspHeader
,
61 IN NOTIFY_PHASE_PARAMS
*NotifyPhaseParams
65 Call FSP API - FspMemoryInit.
67 @param[in] FspHeader FSP header pointer.
68 @param[in,out] FspMemoryInitParams Address pointer to the FSP_MEMORY_INIT_PARAMS structure.
70 @return EFI status returned by FspMemoryInit API.
75 IN FSP_INFO_HEADER
*FspHeader
,
76 IN OUT FSP_MEMORY_INIT_PARAMS
*FspMemoryInitParams
80 Call FSP API - TempRamExit.
82 @param[in] FspHeader FSP header pointer.
83 @param[in,out] TempRamExitParam Address pointer to the TempRamExit parameters structure.
85 @return EFI status returned by TempRamExit API.
90 IN FSP_INFO_HEADER
*FspHeader
,
91 IN OUT VOID
*TempRamExitParam
95 Call FSP API - FspSiliconInit.
97 @param[in] FspHeader FSP header pointer.
98 @param[in,out] FspSiliconInitParam Address pointer to the Silicon Init parameters structure.
100 @return EFI status returned by FspSiliconInit API.
105 IN FSP_INFO_HEADER
*FspHeader
,
106 IN OUT VOID
*FspSiliconInitParam