]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PrePeiCore/Arm/SwitchStack.asm
ArmPlatformPkg: Remove RVCT support
[mirror_edk2.git] / ArmPlatformPkg / PrePeiCore / Arm / SwitchStack.asm
diff --git a/ArmPlatformPkg/PrePeiCore/Arm/SwitchStack.asm b/ArmPlatformPkg/PrePeiCore/Arm/SwitchStack.asm
deleted file mode 100644 (file)
index 65f6480..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-;------------------------------------------------------------------------------\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