TianoCore EDK2 master
Loading...
Searching...
No Matches
FspSwitchStackLib.c File Reference
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/FspCommonLib.h>

Go to the source code of this file.

Functions

UINTN EFIAPI SwapStack (IN UINTN NewStack)
 

Detailed Description

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

Definition in file FspSwitchStackLib.c.

Function Documentation

◆ SwapStack()

UINTN EFIAPI SwapStack ( IN UINTN  NewStack)

Switch the current stack to the previous saved stack.

Parameters
[in]NewStackThe new stack to be switched.
Returns
OldStack After switching to the saved stack, this value will be saved in eax before returning.

Definition at line 25 of file FspSwitchStackLib.c.