2 /// Contains an implementation of CallPalProcStatic on Itanium-based
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
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.
14 /// Module Name: PalCallStatic.s
22 .type PalCallStatic, @function
29 add r8 = (PalProcReturn - PalCallStatic), r8
35 rsm 1 << 14 // Disable interrupts
42 cmp.eq p6 = in0, in1 // in1 == PAL_COPY_PAL?
43 (p6) cmp.eq p6 = r0, r8 // Status == Success?
44 (p6) add in2 = r9, in2