TianoCore EDK2 master
|
Go to the source code of this file.
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspCommonLib.h.
VOID EFIAPI FspApiReturnStatusReset | ( | IN EFI_STATUS | FspResetType | ) |
This function updates the return status of the FSP API with requested reset type and returns to Boot Loader.
[in] | FspResetType | Reset type that needs to returned as API return status |
Below code is not an infinite loop.The control will go back to API calling function in BootLoader each time BootLoader calls the FSP API without honoring the reset request by FSP
Definition at line 22 of file ReturnStatus.c.
UINT8 EFIAPI GetFspApiCallingIndex | ( | VOID | ) |
This function gets FSP API calling mode.
API | calling mode |
This function gets FSP API calling index.
API | calling index |
Definition at line 500 of file FspCommonLib.c.
UINTN EFIAPI GetFspApiParameter | ( | VOID | ) |
This function gets back the FSP API first parameter passed by the bootloader.
ApiParameter | FSP API first parameter passed by the bootloader. |
Definition at line 90 of file FspCommonLib.c.
UINTN EFIAPI GetFspApiParameter2 | ( | VOID | ) |
This function gets back the FSP API second parameter passed by the bootloader.
ApiParameter | FSP API second parameter passed by the bootloader. |
Definition at line 124 of file FspCommonLib.c.
VOID *EFIAPI GetFspCfgRegionDataPointer | ( | VOID | ) |
This function gets the CfgRegion data pointer.
Definition at line 483 of file FspCommonLib.c.
VOID *EFIAPI GetFspEntryStack | ( | VOID | ) |
This function returns the FSP entry stack pointer from address of the first API parameter.
FSP | entry stack pointer. |
Definition at line 107 of file FspCommonLib.c.
FSP_GLOBAL_DATA *EFIAPI GetFspGlobalDataPointer | ( | VOID | ) |
This function gets the FSP global data pointer.
Definition at line 73 of file FspCommonLib.c.
FSP_INFO_HEADER *EFIAPI GetFspInfoHeader | ( | VOID | ) |
This function gets the FSP info header pointer.
FspInfoHeader | FSP info header pointer |
Definition at line 438 of file FspCommonLib.c.
FSP_INFO_HEADER *EFIAPI GetFspInfoHeaderFromApiContext | ( | VOID | ) |
This function gets the FSP info header pointer from the API context.
FspInfoHeader | FSP info header pointer |
This function gets the FSP info header pointer using the API stack context.
FspInfoHeader | FSP info header pointer using the API stack context |
Definition at line 466 of file FspCommonLib.c.
VOID *EFIAPI GetFspMemoryInitUpdDataPointer | ( | VOID | ) |
This function gets the memory init UPD data pointer.
This function gets the FspMemoryInit UPD data pointer.
Definition at line 309 of file FspCommonLib.c.
VOID *EFIAPI GetFspPlatformDataPointer | ( | VOID | ) |
This function gets the platform specific data pointer.
[in] | PlatformData | Fsp platform specific data pointer. |
This function gets the platform specific data pointer.
[in] | PlatformData | FSP platform specific data pointer. |
Definition at line 227 of file FspCommonLib.c.
VOID *EFIAPI GetFspSiliconInitUpdDataPointer | ( | VOID | ) |
This function gets the silicon init UPD data pointer.
This function gets the FspSiliconInit UPD data pointer.
Definition at line 350 of file FspCommonLib.c.
VOID *EFIAPI GetFspSmmInitUpdDataPointer | ( | VOID | ) |
This function gets the smm init UPD data pointer.
This function gets the FspSmmInit UPD data pointer.
Definition at line 391 of file FspCommonLib.c.
VOID *EFIAPI GetFspUpdDataPointer | ( | VOID | ) |
This function gets the UPD data pointer.
Definition at line 268 of file FspCommonLib.c.
UINT32 EFIAPI GetPhaseStatusCode | ( | VOID | ) |
This function gets FSP Phase StatusCode.
StatusCode |
Definition at line 531 of file FspCommonLib.c.
VOID EFIAPI SetFspApiCallingIndex | ( | UINT8 | Index | ) |
This function sets FSP API calling mode.
[in] | Index | API calling index |
Definition at line 514 of file FspCommonLib.c.
VOID EFIAPI SetFspApiParameter | ( | IN UINT32 | Value | ) |
This function sets the FSP API parameter in the stack.
[in] | Value | New parameter value. |
Definition at line 142 of file FspCommonLib.c.
This function set the API status code returned to the BootLoader.
[in] | ReturnStatus | Status code to return. |
Definition at line 160 of file FspCommonLib.c.
VOID EFIAPI SetFspCoreStackPointer | ( | IN VOID * | NewStackTop | ) |
This function sets the context switching stack to a new stack frame.
[in] | NewStackTop | New core stack to be set. |
Definition at line 178 of file FspCommonLib.c.
VOID EFIAPI SetFspGlobalDataPointer | ( | IN FSP_GLOBAL_DATA * | FspData | ) |
This function sets the FSP global data pointer.
[in] | FspData | Fsp global data pointer. |
This function sets the FSP global data pointer.
[in] | FspData | FSP global data pointer. |
Definition at line 59 of file FspCommonLib.c.
VOID EFIAPI SetFspInfoHeader | ( | FSP_INFO_HEADER * | FspInfoHeader | ) |
This function sets the FSP info header pointer.
[in] | FspInfoHeader | FSP info header pointer |
Definition at line 452 of file FspCommonLib.c.
UINT64 EFIAPI SetFspMeasurePoint | ( | IN UINT8 | Id | ) |
Set FSP measurement point timestamp.
[in] | Id | Measurement point ID. |
Set FSP measurement point timestamp.
[in] | Id | Measurement point ID. |
Definition at line 411 of file FspCommonLib.c.
VOID EFIAPI SetFspMemoryInitUpdDataPointer | ( | IN VOID * | MemoryInitUpdPtr | ) |
This function sets the memory init UPD data pointer.
[in] | MemoryInitUpdPtr | memory init UPD data pointer. |
This function sets the FspMemoryInit UPD data pointer.
[in] | MemoryInitUpdPtr | FspMemoryInit UPD data pointer. |
Definition at line 285 of file FspCommonLib.c.
VOID EFIAPI SetFspPlatformDataPointer | ( | IN VOID * | PlatformData | ) |
This function sets the platform specific data pointer.
[in] | PlatformData | Fsp platform specific data pointer. |
This function sets the platform specific data pointer.
[in] | PlatformData | FSP platform specific data pointer. |
Definition at line 209 of file FspCommonLib.c.
VOID EFIAPI SetFspSiliconInitUpdDataPointer | ( | IN VOID * | SiliconInitUpdPtr | ) |
This function sets the silicon init UPD data pointer.
[in] | SiliconInitUpdPtr | silicon init UPD data pointer. |
This function sets the FspSiliconInit UPD data pointer.
[in] | SiliconInitUpdPtr | FspSiliconInit UPD data pointer. |
Definition at line 326 of file FspCommonLib.c.
VOID EFIAPI SetFspSmmInitUpdDataPointer | ( | IN VOID * | SmmInitUpdPtr | ) |
This function sets the smm init UPD data pointer.
[in] | SmmInitUpdPtr | smm init UPD data pointer. |
This function sets the FspSmmInit UPD data pointer.
[in] | SmmInitUpdPtr | FspSmmInit UPD data pointer. |
Definition at line 367 of file FspCommonLib.c.
VOID EFIAPI SetFspUpdDataPointer | ( | IN VOID * | UpdDataPtr | ) |
This function sets the UPD data pointer.
[in] | UpdDataPtr | UPD data pointer. |
Definition at line 244 of file FspCommonLib.c.
VOID EFIAPI SetPhaseStatusCode | ( | UINT32 | StatusCode | ) |
This function sets FSP Phase StatusCode.
[in] | Mode | Phase StatusCode |
Definition at line 545 of file FspCommonLib.c.