2 // Copyright (c) 2006, Intel Corporation
3 // All rights reserved. This program and the accompanying materials
4 // are licensed and made available under the terms and conditions of the BSD License
5 // which accompanies this distribution. The full text of the license may be found at
6 // http://opensource.org/licenses/bsd-license.php
8 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 // IPF Specific assembly routines
24 //---------------------------------------------------------------------------------
28 // This routine is called by all processors simultaneously, to get some hand-off
29 // status that has been captured by IPF dispatcher and recorded in kernel registers.
35 // Return Value: Lid, R20Status.
38 //----------------------------------------------------------------------------------
39 PROCEDURE_ENTRY (GetHandOffStatus)
41 NESTED_SETUP (0,2+0,0,0)
43 mov r8 = ar.k6 // Health Status (Self test params)
44 mov r9 = ar.k4 // LID bits
45 mov r10 = ar.k3;; // SAL_E entry state
46 mov r11 = ar.k1 // Return address to PAL
49 PROCEDURE_EXIT (GetHandOffStatus)
50 //----------------------------------------------------------------------------------