TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalSwitchStack.c
Go to the documentation of this file.
1
9#include "BaseLibInternals.h"
10
26VOID
27EFIAPI
29 IN VOID *Context1 OPTIONAL,
30 IN VOID *Context2 OPTIONAL,
32 IN VOID *NewStack
33 );
34
59VOID
60EFIAPI
63 IN VOID *Context1 OPTIONAL,
64 IN VOID *Context2 OPTIONAL,
65 IN VOID *NewStack,
66 IN VA_LIST Marker
67 )
68{
69 InternalSwitchStackAsm (Context1, Context2, EntryPoint, (VOID *)((UINTN)NewStack - sizeof (VOID *)));
70 ASSERT (FALSE);
71}
UINT64 UINTN
VOID EFIAPI InternalSwitchStackAsm(IN SWITCH_STACK_ENTRY_POINT EntryPoint, IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL, IN VOID *NewStack)
VOID EFIAPI InternalSwitchStack(IN SWITCH_STACK_ENTRY_POINT EntryPoint, IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL, IN VOID *NewStack, IN VA_LIST Marker)
VOID(EFIAPI * SWITCH_STACK_ENTRY_POINT)(IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL)
Definition: BaseLib.h:5019
#define FALSE
Definition: Base.h:307
CHAR8 * VA_LIST
Definition: Base.h:643
#define IN
Definition: Base.h:279