39 IN VOID *Context1 OPTIONAL,
40 IN VOID *Context2 OPTIONAL,
45 BASE_LIBRARY_JUMP_BUFFER JumpBuffer;
47 JumpBuffer.Eip = (
UINTN)EntryPoint;
48 JumpBuffer.Esp = (
UINTN)NewStack -
sizeof (VOID *);
49 JumpBuffer.Esp -=
sizeof (Context1) +
sizeof (Context2);
50 ((VOID **)JumpBuffer.Esp)[1] = Context1;
51 ((VOID **)JumpBuffer.Esp)[2] = Context2;
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)
VOID EFIAPI LongJump(IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer, IN UINTN Value)