kernels/linux-2.4.0/arch/ia64/kernel/mca.c
/*
 * ia64_log_bus_check_info_print
 *	Display the machine check information related to bus error(s).
 * Inputs	:	i		(Multiple errors are logged, i - index of logged error)
 *			info		(Machine check info logged by the PAL and later 
 *					 captured by the SAL)
 *			req_addr	(Address of the requestor of the transaction)
 *			resp_addr	(Address of the responder of the transaction)
 *			target_addr	(Address where the data was to be delivered to  or
 *					 obtained from)
 * Outputs	: 	None
 */
ia64_log_bus_check_info_print
Display the machine check information related to bus error(s).
Inputs       :       i               (Multiple errors are logged, i - index of logged error)
info            (Machine check info logged by the PAL and later
captured by the SAL)
req_addr        (Address of the requestor of the transaction)
resp_addr       (Address of the responder of the transaction)
target_addr     (Address where the data was to be delivered to  or
obtained from)
Outputs      :       None
ia64_log_bus_check_info_print Display the machine check information related to bus error ( s ) . Inputs : i ( Multiple errors are logged i - index of logged error ) info ( Machine check info logged by the PAL and later captured by the SAL ) req_addr ( Address of the requestor of the transaction ) resp_addr ( Address of the responder of the transaction ) target_addr ( Address where the data was to be delivered to or obtained from ) Outputs : None
void
ia64_log_bus_check_info_print(int 			i,
			      pal_bus_check_info_t	info,
			      u64			req_addr,
			      u64			resp_addr,
			      u64			targ_addr,
			      prfunc_t			prfunc)
{
	prfunc("+ BUS Check Info [%d]\n+", i);
	prfunc(" Status Info: %d", info.bsi);
	prfunc(" ,Severity: %d", info.sev);
	prfunc(" ,Transaction Type: %d", info.type);
	prfunc(" ,Transaction Size: %d", info.size);
	if (info.cc)
		prfunc(" ,Cache-cache-transfer");
	if (info.ib)
		prfunc(" ,Error: Internal");
	if (info.eb)
		prfunc(" ,Error: External");
	if (info.mc)
		prfunc(" ,MC: Corrected");
	if (info.tv)
		prfunc(" ,Target Address: 0x%lx", targ_addr);
	if (info.rq)
		prfunc(" ,Requestor Address: 0x%lx", req_addr);
	if (info.tv)
		prfunc(" ,Responder Address: 0x%lx", resp_addr);
	prfunc("\n");
}
void ia64_log_bus_check_info_print ( int i , pal_bus_check_info_t info , u64 req_addr , u64 resp_addr , u64 targ_addr , prfunc_t prfunc ) { prfunc ( " \n " , i ) ; prfunc ( " " , info . bsi ) ; prfunc ( " " , info . sev ) ; prfunc ( " " , info . type ) ; prfunc ( " " , info . size ) ; if ( info . cc ) prfunc ( " " ) ; if ( info . ib ) prfunc ( " " ) ; if ( info . eb ) prfunc ( " " ) ; if ( info . mc ) prfunc ( " " ) ; if ( info . tv ) prfunc ( " " , targ_addr ) ; if ( info . rq ) prfunc ( " " , req_addr ) ; if ( info . tv ) prfunc ( " " , resp_addr ) ; prfunc ( " \n " ) ; }
ia64_log_bus_check_info_print
      Display the machine check information related to bus error(s).
ia64_log_bus_check_info_print Display the machine check information related to bus error ( s ) .