TianoCore EDK2 master
|
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/FspWrapperApiLib.h>
#include <Library/FspWrapperPlatformLib.h>
#include <FspEas.h>
#include <FspGlobalData.h>
#include <Ppi/ReadOnlyVariable2.h>
#include <Ppi/Variable.h>
#include <Library/PeiServicesLib.h>
#include <Library/FspWrapperPlatformMultiPhaseLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | Execute32BitCode (IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2) |
EFI_STATUS | Execute64BitCode (IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2) |
EFI_STATUS EFIAPI | CallFspMultiPhaseEntry (IN VOID *FspMultiPhaseParams, IN OUT VOID **FspHobListPtr, IN UINT8 ComponentIndex) |
EFI_STATUS EFIAPI | FspWrapperVariableRequestHandler (IN OUT VOID **FspHobListPtr, IN UINT8 ComponentIndex) |
EFI_STATUS EFIAPI | FspWrapperMultiPhaseHandler (IN OUT VOID **FspHobListPtr, IN UINT8 ComponentIndex) |
Support FSP Wrapper MultiPhase process.
Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PeiFspWrapperMultiPhaseProcessLib.c.
EFI_STATUS EFIAPI CallFspMultiPhaseEntry | ( | IN VOID * | FspMultiPhaseParams, |
IN OUT VOID ** | FspHobListPtr, | ||
IN UINT8 | ComponentIndex | ||
) |
Call FspsMultiPhase API.
[in] | FspsMultiPhaseParams | - Parameters for MultiPhase API. |
[in] | FspHobListPtr | - Pointer to FSP HobList (valid after FSP-M completed) |
[in] | ComponentIndex | - FSP Component which executing MultiPhase initialization. |
Definition at line 66 of file PeiFspWrapperMultiPhaseProcessLib.c.
EFI_STATUS Execute32BitCode | ( | IN UINT64 | Function, |
IN UINT64 | Param1, | ||
IN UINT64 | Param2 | ||
) |
Execute 32-bit FSP API entry code.
[in] | Function | The 32bit code entry to be executed. |
[in] | Param1 | The first parameter to pass to 32bit code. |
[in] | Param2 | The second parameter to pass to 32bit code. |
Wrapper for a thunk to transition from long mode to compatibility mode to execute 32-bit code and then transit back to long mode.
[in] | Function | The 32bit code entry to be executed. |
[in] | Param1 | The first parameter to pass to 32bit code. |
[in] | Param2 | The second parameter to pass to 32bit code. |
Definition at line 38 of file DispatchExecute.c.
EFI_STATUS Execute64BitCode | ( | IN UINT64 | Function, |
IN UINT64 | Param1, | ||
IN UINT64 | Param2 | ||
) |
Execute 64-bit FSP API entry code.
[in] | Function | The 64bit code entry to be executed. |
[in] | Param1 | The first parameter to pass to 64bit code. |
[in] | Param2 | The second parameter to pass to 64bit code. |
Wrapper for a thunk to transition from compatibility mode to long mode to execute 64-bit code and then transit back to compatibility mode.
[in] | Function | The 64bit code entry to be executed. |
[in] | Param1 | The first parameter to pass to 64bit code. |
[in] | Param2 | The second parameter to pass to 64bit code. |
Wrapper to execute 64-bit code directly from long mode.
[in] | Function | The 64bit code entry to be executed. |
[in] | Param1 | The first parameter to pass to 64bit code. |
[in] | Param2 | The second parameter to pass to 64bit code. |
Definition at line 64 of file DispatchExecute.c.
EFI_STATUS EFIAPI FspWrapperMultiPhaseHandler | ( | IN OUT VOID ** | FspHobListPtr, |
IN UINT8 | ComponentIndex | ||
) |
FSP Wrapper MultiPhase Handler
[in,out] | FspHobListPtr | - Pointer to FSP HobList (valid after FSP-M completed) |
[in] | ComponentIndex | - FSP Component which executing MultiPhase initialization. |
EFI_UNSUPPORTED | Specific MultiPhase action was not supported. |
EFI_SUCCESS | MultiPhase action were completed successfully. |
Definition at line 314 of file PeiFspWrapperMultiPhaseProcessLib.c.
EFI_STATUS EFIAPI FspWrapperVariableRequestHandler | ( | IN OUT VOID ** | FspHobListPtr, |
IN UINT8 | ComponentIndex | ||
) |
FSP Wrapper Variable Request Handler
[in,out] | FspHobListPtr | - Pointer to FSP HobList (valid after FSP-M completed) |
[in] | ComponentIndex | - FSP Component which executing MultiPhase initialization. |
EFI_UNSUPPORTED | FSP Wrapper cannot support the specific variable request, or FSP does not support VariableService |
EFI_STATUS | Return FSP returned status |
Definition at line 147 of file PeiFspWrapperMultiPhaseProcessLib.c.