]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ipf/SwitchStack.s
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / SwitchStack.s
diff --git a/MdePkg/Library/BaseLib/Ipf/SwitchStack.s b/MdePkg/Library/BaseLib/Ipf/SwitchStack.s
deleted file mode 100644 (file)
index a3c524f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/// @file\r
-///  IPF specific SwitchStack() function\r
-///\r
-/// Copyright (c) 2006, Intel Corporation\r
-/// All rights reserved. This program and the accompanying materials\r
-/// are licensed and made available under the terms and conditions of the BSD License\r
-/// which accompanies this distribution.  The full text of the license may be found at\r
-/// http://opensource.org/licenses/bsd-license.php\r
-///\r
-/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-///\r
-/// Module Name: SwitchStack.s\r
-///\r
-///\r
-\r
-.auto\r
-.text\r
-\r
-.proc   AsmSwitchStackAndBackingStore\r
-.type   AsmSwitchStackAndBackingStore, @function\r
-.regstk 5, 0, 0, 0\r
-AsmSwitchStackAndBackingStore::\r
-        mov                 r14 = ar.rsc\r
-        movl                r2  = ~((((1 << 14) - 1) << 16) | 3)\r
-\r
-        mov                 r17 = in1\r
-        mov                 r18 = in2\r
-        and                 r2  = r14, r2\r
-\r
-        mov                 ar.rsc = r2\r
-        mov                 sp  = in3\r
-        mov                 r19 = in4\r
-\r
-        ld8.nt1             r16 = [in0], 8\r
-        ld8.nta             gp  = [in0]\r
-        mov                 r3  = -1\r
-\r
-        loadrs\r
-        mov                 ar.bspstore = r19\r
-        mov                 b7  = r16\r
-\r
-        alloc               r2  = ar.pfs, 0, 0, 2, 0\r
-        mov                 out0 = r17\r
-        mov                 out1 = r18\r
-\r
-        mov                 ar.rnat = r3\r
-        mov                 ar.rsc = r14\r
-        br.call.sptk.many   b0  = b7\r
-.endp   AsmSwitchStackAndBackingStore\r