]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /// @file\r |
2 | /// Contains an implementation of CallPalProcStatic on Itanium-based\r | |
3 | /// architecture.\r | |
4 | ///\r | |
5 | /// Copyright (c) 2006, Intel Corporation\r | |
6 | /// All rights reserved. This program and the accompanying materials\r | |
7 | /// are licensed and made available under the terms and conditions of the BSD License\r | |
8 | /// which accompanies this distribution. The full text of the license may be found at\r | |
9 | /// http://opensource.org/licenses/bsd-license.php\r | |
10 | ///\r | |
11 | /// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | /// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | ///\r | |
14 | /// Module Name: CallPalProc.s\r | |
15 | ///\r | |
16 | ///\r | |
17 | \r | |
18 | .auto\r | |
19 | .text\r | |
20 | \r | |
21 | .proc CallPalProcStatic\r | |
22 | .type CallPalProcStatic, @function\r | |
23 | CallPalProcStatic::\r | |
24 | mov r9 = ar.k5\r | |
25 | mov r8 = ip\r | |
26 | add r8 = (PalProcReturn - CallPalProcStatic), r8\r | |
27 | mov r28 = r32\r | |
28 | mov b7 = r9\r | |
29 | mov r29 = r33\r | |
30 | mov r30 = r34\r | |
31 | mov r31 = r35\r | |
32 | mov r32 = b0\r | |
33 | mov b0 = r8\r | |
34 | br.sptk b7\r | |
35 | PalProcReturn:\r | |
36 | mov b0 = r32\r | |
37 | br.ret.sptk.many b0\r | |
38 | .endp CallPalProcStatic\r |