TianoCore EDK2 master
Loading...
Searching...
No Matches
ReturnStatus.c File Reference
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/FspCommonLib.h>
#include <FspEas.h>
#include <Library/FspSwitchStackLib.h>

Go to the source code of this file.

Functions

VOID EFIAPI FspApiReturnStatusReset (IN EFI_STATUS FspResetType)
 

Detailed Description

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

Definition in file ReturnStatus.c.

Function Documentation

◆ FspApiReturnStatusReset()

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.

Parameters
[in]FspResetTypeReset 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.