2 /// Contains an implementation of CallPalProcStatic on Itanium-based
\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
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
14 /// Module Name: PalCallStatic.s
\r
22 .type PalCallStatic, @function
\r
25 cmp.eq p15 = in0, r0
\r
29 (p15) mov in0 = ar.k5
\r
30 add r8 = (_PalProcReturn - PalCallStatic), r8
\r
37 rsm 1 << 14 // Disable interrupts
\r
42 br.cond.sptk.many b7
\r