+++ /dev/null
-;------------------------------------------------------------------------------\r
-;\r
-; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
-; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-; SPDX-License-Identifier: BSD-2-Clause-Patent\r
-;\r
-;------------------------------------------------------------------------------\r
-\r
- EXPORT SecSwitchStack\r
-\r
- AREA Switch_Stack, CODE, READONLY\r
-\r
-;/**\r
-; This allows the caller to switch the stack and return\r
-;\r
-; @param StackDelta Signed amount by which to modify the stack pointer\r
-;\r
-; @return Nothing. Goes to the Entry Point passing in the new parameters\r
-;\r
-;**/\r
-;VOID\r
-;EFIAPI\r
-;SecSwitchStack (\r
-; VOID *StackDelta\r
-; );\r
-;\r
-SecSwitchStack\r
- MOV R1, SP\r
- ADD R1, R0, R1\r
- MOV SP, R1\r
- BX LR\r
- END\r