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