2 Provide FSP API related function.
4 Copyright (c) 2014, 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 FSP 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 FSP status returned by FspNotifyPhase API.
60 IN FSP_INFO_HEADER
*FspHeader
,
61 IN NOTIFY_PHASE_PARAMS
*NotifyPhaseParams