14 IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
42 IN VOID *Context1 OPTIONAL,
43 IN VOID *Context2 OPTIONAL,
49 BASE_LIBRARY_JUMP_BUFFER JumpBuffer;
51 JumpBuffer.RA = (
UINTN)EntryPoint;
52 JumpBuffer.SP = (
UINTN)NewStack -
sizeof (VOID *);
53 JumpBuffer.SP -=
sizeof (Context1) +
sizeof (Context2);
54 ((VOID **)(
UINTN)JumpBuffer.SP)[0] = Context1;
55 ((VOID **)(
UINTN)JumpBuffer.SP)[1] = Context2;
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)