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
23 #include "Ipf/IpfCpuCore.i"
25 //---------------------------------------------------------------------------------
29 // This routine is called by all processors simultaneously, to get some hand-off
30 // status that has been captured by IPF dispatcher and recorded in kernel registers.
36 // Return Value: Lid, R20Status.
39 //----------------------------------------------------------------------------------
40 PROCEDURE_ENTRY (GetHandOffStatus)
42 NESTED_SETUP (0,2+0,0,0)
44 mov r8 = ar.k6 // Health Status (Self test params)
45 mov r9 = ar.k4 // LID bits
46 mov r10 = ar.k3;; // SAL_E entry state
47 mov r11 = ar.k1 // Return address to PAL
50 PROCEDURE_EXIT (GetHandOffStatus)
51 //----------------------------------------------------------------------------------