1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
4 ; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
5 ; SPDX-License-Identifier: BSD-2-Clause-Patent
7 ;------------------------------------------------------------------------------
9 EXPORT InternalSwitchStackAsm
11 AREA Switch_Stack, CODE, READONLY
14 ; This allows the caller to switch the stack and goes to the new entry point
16 ; @param EntryPoint The pointer to the location to enter
17 ; @param Context Parameter to pass in
18 ; @param Context2 Parameter2 to pass in
19 ; @param NewStack New Location of the stack
21 ; @return Nothing. Goes to the Entry Point passing in the new parameters
26 ;InternalSwitchStackAsm (
27 ; SWITCH_STACK_ENTRY_POINT EntryPoint,
33 InternalSwitchStackAsm