TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/FspWrapperApiLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.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) |
FSP_INFO_HEADER *EFIAPI | FspFindFspHeader (IN EFI_PHYSICAL_ADDRESS FlashFvFspBase) |
EFI_STATUS EFIAPI | CallFspNotifyPhase (IN NOTIFY_PHASE_PARAMS *NotifyPhaseParams) |
EFI_STATUS EFIAPI | CallFspMemoryInit (IN VOID *FspmUpdDataPtr, OUT VOID **HobListPtr) |
EFI_STATUS EFIAPI | CallTempRamExit (IN VOID *TempRamExitParam) |
EFI_STATUS EFIAPI | CallFspSiliconInit (IN VOID *FspsUpdDataPtr) |
Provide FSP API related function.
Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspWrapperApiLib.c.
EFI_STATUS EFIAPI CallFspMemoryInit | ( | IN VOID * | FspmUpdDataPtr, |
OUT VOID ** | HobListPtr | ||
) |
Call FSP API - FspMemoryInit.
[in] | FspmUpdDataPtr | Address pointer to the FSP_MEMORY_INIT_PARAMS structure. |
[out] | HobListPtr | Address of the HobList pointer. |
Definition at line 134 of file FspWrapperApiLib.c.
EFI_STATUS EFIAPI CallFspNotifyPhase | ( | IN NOTIFY_PHASE_PARAMS * | NotifyPhaseParams | ) |
Call FSP API - FspNotifyPhase.
[in] | NotifyPhaseParams | Address pointer to the NOTIFY_PHASE_PARAMS structure. |
Definition at line 97 of file FspWrapperApiLib.c.
EFI_STATUS EFIAPI CallFspSiliconInit | ( | IN VOID * | FspsUpdDataPtr | ) |
Call FSP API - FspSiliconInit.
[in] | FspsUpdDataPtr | Address pointer to the Silicon Init parameters structure. |
Definition at line 207 of file FspWrapperApiLib.c.
EFI_STATUS EFIAPI CallTempRamExit | ( | IN VOID * | TempRamExitParam | ) |
Call FSP API - TempRamExit.
[in] | TempRamExitParam | Address pointer to the TempRamExit parameters structure. |
Definition at line 171 of file FspWrapperApiLib.c.
EFI_STATUS Execute32BitCode | ( | IN UINT64 | Function, |
IN UINT64 | Param1, | ||
IN UINT64 | Param2 | ||
) |
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 | ||
) |
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. |
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. |
Definition at line 64 of file DispatchExecute.c.
FSP_INFO_HEADER *EFIAPI FspFindFspHeader | ( | IN EFI_PHYSICAL_ADDRESS | FlashFvFspBase | ) |
Find FSP header pointer.
[in] | FlashFvFspBase | Flash address of FSP FV. |
Definition at line 57 of file FspWrapperApiLib.c.