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
>
10
#include <
Library/FspCommonLib.h
>
11
23
UINTN
24
EFIAPI
25
SwapStack
(
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
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
BaseLib.h
FspCommonLib.h
GetFspGlobalDataPointer
FSP_GLOBAL_DATA *EFIAPI GetFspGlobalDataPointer(VOID)
Definition:
FspCommonLib.c:73
SwapStack
UINTN EFIAPI SwapStack(IN UINTN NewStack)
Definition:
FspSwitchStackLib.c:25
IN
#define IN
Definition:
Base.h:279
FSP_GLOBAL_DATA
Definition:
FspGlobalData.h:45
FSP_GLOBAL_DATA::CoreStack
UINTN CoreStack
Definition:
FspGlobalData.h:52
IntelFsp2Pkg
Library
BaseFspSwitchStackLib
FspSwitchStackLib.c
Generated on Fri Nov 15 2024 18:01:08 for TianoCore EDK2 by
1.9.6