kernels/linux-2.4.0/arch/ia64/kernel/mca.c
/*
 * ia64_log_cache_check_info_print
 *	Display the machine check information related to cache 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)
 *			target_addr	(Address which caused the cache error)
 * Outputs	: 	None
 */
ia64_log_cache_check_info_print
Display the machine check information related to cache 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)
target_addr     (Address which caused the cache error)
Outputs      :       None
ia64_log_cache_check_info_print Display the machine check information related to cache 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 ) target_addr ( Address which caused the cache error ) Outputs : None
void 
ia64_log_cache_check_info_print(int 			i, 
				pal_cache_check_info_t 	info,
				u64			target_addr,
				prfunc_t		prfunc)
{
	prfunc("+ Cache check info[%d]\n+", i);
	prfunc("  Level: L%d",info.level);
	if (info.mv)
		prfunc(" ,Mesi: %s",pal_mesi_state[info.mesi]);
	prfunc(" ,Index: %d,", info.index);
	if (info.ic)
		prfunc(" ,Cache: Instruction");
	if (info.dc)
		prfunc(" ,Cache: Data");
	if (info.tl)
		prfunc(" ,Line: Tag");
	if (info.dl)
		prfunc(" ,Line: Data");
	prfunc(" ,Operation: %s,", pal_cache_op[info.op]);
	if (info.wv)
		prfunc(" ,Way: %d,", info.way);
	if (info.tv)
		prfunc(" ,Target Addr: 0x%lx", target_addr);
	if (info.mc)
		prfunc(" ,MC: Corrected");
	prfunc("\n");
}
void ia64_log_cache_check_info_print ( int i , pal_cache_check_info_t info , u64 target_addr , prfunc_t prfunc ) { prfunc ( " \n " , i ) ; prfunc ( " " , info . level ) ; if ( info . mv ) prfunc ( " " , pal_mesi_state [ info . mesi ] ) ; prfunc ( " " , info . index ) ; if ( info . ic ) prfunc ( " " ) ; if ( info . dc ) prfunc ( " " ) ; if ( info . tl ) prfunc ( " " ) ; if ( info . dl ) prfunc ( " " ) ; prfunc ( " " , pal_cache_op [ info . op ] ) ; if ( info . wv ) prfunc ( " " , info . way ) ; if ( info . tv ) prfunc ( " " , target_addr ) ; if ( info . mc ) prfunc ( " " ) ; prfunc ( " \n " ) ; }
ia64_log_cache_check_info_print
      Display the machine check information related to cache error(s).
ia64_log_cache_check_info_print Display the machine check information related to cache error ( s ) .