kernels/linux-2.4.0/arch/ia64/kernel/mca.c
/*
 * ia64_return_to_sal_check
 *	This is function called before going back from the OS_MCA handler
 * 	to the OS_MCA dispatch code which finally takes the control back
 * 	to the SAL.
 *	The main purpose of this routine is to setup the OS_MCA to SAL
 *	return state which can be used by the OS_MCA dispatch code 
 *	just before going back to SAL.
 * Inputs
 *	None
 * Outputs
 *	None
 */
ia64_return_to_sal_check
This is function called before going back from the OS_MCA handler
to the OS_MCA dispatch code which finally takes the control back
to the SAL.
The main purpose of this routine is to setup the OS_MCA to SAL
return state which can be used by the OS_MCA dispatch code
just before going back to SAL.
Inputs
None
Outputs
None
ia64_return_to_sal_check This is function called before going back from the OS_MCA handler to the OS_MCA dispatch code which finally takes the control back to the SAL . The main purpose of this routine is to setup the OS_MCA to SAL return state which can be used by the OS_MCA dispatch code just before going back to SAL . Inputs None Outputs None
void
ia64_return_to_sal_check(void)
{
	ia64_os_to_sal_handoff_state.imots_sal_gp = 
		ia64_sal_to_os_handoff_state.imsto_sal_gp;
	ia64_os_to_sal_handoff_state.imots_sal_check_ra = 
		ia64_sal_to_os_handoff_state.imsto_sal_check_ra;
	ia64_os_to_sal_handoff_state.imots_os_status = IA64_MCA_CORRECTED;
}
void ia64_return_to_sal_check ( void ) { ia64_os_to_sal_handoff_state . imots_sal_gp = ia64_sal_to_os_handoff_state . imsto_sal_gp ; ia64_os_to_sal_handoff_state . imots_sal_check_ra = ia64_sal_to_os_handoff_state . imsto_sal_check_ra ; ia64_os_to_sal_handoff_state . imots_os_status = IA64_MCA_CORRECTED ; }
ia64_return_to_sal_check
      This is function called before going back from the OS_MCA handler
      to the OS_MCA dispatch code which finally takes the control back
      to the SAL.
ia64_return_to_sal_check This is function called before going back from the OS_MCA handler to the OS_MCA dispatch code which finally takes the control back to the SAL .
/* Copy over some relevant stuff from the sal_to_os_mca_handoff
	 * so that it can be used at the time of os_mca_to_sal_handoff
	 */ /* For now ignore the MCA */