TianoCore EDK2 master
Loading...
Searching...
No Matches
FspMultiPhaseLib.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI FspMultiPhaseSwitchStack ()
 
EFI_STATUS EFIAPI FspVariableRequestSwitchStack (IN FSP_MULTI_PHASE_VARIABLE_REQUEST_INFO_PARAMS *FspVariableRequestParams)
 
EFI_STATUS EFIAPI FspMultiPhaseWorker (IN UINT32 ApiIdx, IN VOID *ApiParam)
 
EFI_STATUS EFIAPI FspMultiPhaseMemInitApiHandler (IN UINT32 ApiIdx, IN VOID *ApiParam)
 
EFI_STATUS EFIAPI FspMultiPhaseSiInitApiHandlerV2 (IN UINT32 ApiIdx, IN VOID *ApiParam)
 

Detailed Description

FSP MultiPhase library.

Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FspMultiPhaseLib.c.

Function Documentation

◆ FspMultiPhaseMemInitApiHandler()

EFI_STATUS EFIAPI FspMultiPhaseMemInitApiHandler ( IN UINT32  ApiIdx,
IN VOID *  ApiParam 
)

This function handles FspMultiPhaseMemInitApi.

Parameters
[in]ApiIdxInternal index of the FSP API.
[in]ApiParamParameter of the FSP API.
Return values
EFI_SUCCESSFSP execution was successful.
EFI_INVALID_PARAMETERInput parameters are invalid.
EFI_UNSUPPORTEDThe FSP calling conditions were not met.
EFI_DEVICE_ERRORFSP initialization failed.

Definition at line 157 of file FspMultiPhaseLib.c.

◆ FspMultiPhaseSiInitApiHandlerV2()

EFI_STATUS EFIAPI FspMultiPhaseSiInitApiHandlerV2 ( IN UINT32  ApiIdx,
IN VOID *  ApiParam 
)

This function handles FspMultiPhaseSiInitApi.

Parameters
[in]ApiIdxInternal index of the FSP API.
[in]ApiParamParameter of the FSP API.
Return values
EFI_SUCCESSFSP execution was successful.
EFI_INVALID_PARAMETERInput parameters are invalid.
EFI_UNSUPPORTEDThe FSP calling conditions were not met.
EFI_DEVICE_ERRORFSP initialization failed.

Definition at line 178 of file FspMultiPhaseLib.c.

◆ FspMultiPhaseSwitchStack()

EFI_STATUS EFIAPI FspMultiPhaseSwitchStack ( )

Definition at line 20 of file FspMultiPhaseLib.c.

◆ FspMultiPhaseWorker()

EFI_STATUS EFIAPI FspMultiPhaseWorker ( IN UINT32  ApiIdx,
IN VOID *  ApiParam 
)

This function supports FspMultiPhase implementation.

Parameters
[in]ApiIdxInternal index of the FSP API.
[in]ApiParamParameter of the FSP API.
Return values
EFI_SUCCESSFSP execution was successful.
EFI_INVALID_PARAMETERInput parameters are invalid.
EFI_UNSUPPORTEDThe FSP calling conditions were not met.
EFI_DEVICE_ERRORFSP initialization failed.

Definition at line 62 of file FspMultiPhaseLib.c.

◆ FspVariableRequestSwitchStack()

EFI_STATUS EFIAPI FspVariableRequestSwitchStack ( IN FSP_MULTI_PHASE_VARIABLE_REQUEST_INFO_PARAMS FspVariableRequestParams)

Definition at line 31 of file FspMultiPhaseLib.c.