]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Ipf/SwitchStack.s
Add InvokePeiCore function to invoke the PeiCore in new stack.
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Ipf / SwitchStack.s
diff --git a/MdeModulePkg/Core/Pei/Ipf/SwitchStack.s b/MdeModulePkg/Core/Pei/Ipf/SwitchStack.s
deleted file mode 100644 (file)
index 2f20703..0000000
+++ /dev/null
@@ -1,52 +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   IpfAsmSwitchStack\r
-.type   IpfAsmSwitchStack, @function\r
-.regstk 6, 0, 0, 0\r
-IpfAsmSwitchStack::\r
-        mov                 r14 = ar.rsc\r
-        movl                r2  = ~((((1 << 14) - 1) << 16) | 3)\r
-\r
-        mov                 r17 = in1\r
-        mov                 r18 = in2\r
-        mov                 r19 = in3\r
-        and                 r2  = r14, r2\r
-\r
-        mov                 ar.rsc = r2\r
-        mov                 sp  = in4\r
-        mov                 r20 = in5\r
-\r
-        ld8.nt1             r16 = [in0], 8\r
-        ld8.nta             gp  = [in0]\r
-        mov                 r3  = -1\r
-\r
-        loadrs\r
-        mov                 ar.bspstore = r20\r
-        mov                 b7  = r16\r
-\r
-        alloc               r2  = ar.pfs, 0, 0, 3, 0\r
-        mov                 out0 = r17\r
-        mov                 out1 = r18\r
-        mov                 out2 = r19\r
-\r
-        mov                 ar.rnat = r3\r
-        mov                 ar.rsc = r14\r
-        br.call.sptk.many   b0  = b7\r
-.endp   IpfAsmSwitchStack\r