TianoCore EDK2 master
Loading...
Searching...
No Matches
FspSwitchStackLib.c
Go to the documentation of this file.
1
8#include <Base.h>
9#include <Library/BaseLib.h>
11
24EFIAPI
26 IN UINTN NewStack
27 )
28{
29 FSP_GLOBAL_DATA *FspData;
30 UINTN OldStack;
31
32 FspData = GetFspGlobalDataPointer ();
33 OldStack = FspData->CoreStack;
34 FspData->CoreStack = (UINTN)NewStack;
35 return OldStack;
36}
UINT64 UINTN
FSP_GLOBAL_DATA *EFIAPI GetFspGlobalDataPointer(VOID)
Definition: FspCommonLib.c:73
UINTN EFIAPI SwapStack(IN UINTN NewStack)
#define IN
Definition: Base.h:279