kernels/linux-2.4.0/arch/ia64/kernel/mca.c
/*
 * routine to process and prepare to dump min_state_save
 * information for debugging purposes.
 *
 */
routine to process and prepare to dump min_state_save
information for debugging purposes.
routine to process and prepare to dump min_state_save information for debugging purposes .
void
ia64_process_min_state_save (pal_min_state_area_t *pmss, struct pt_regs *ptregs)
{
	int i, max=57;
	u64 *tpmss_ptr=(u64 *)pmss;
	for (i=0;i<max;i++) {
		if(!ia64_pmss_dump_bank0) {
			if(strncmp("B0",min_state_labels[i],2)==0) {
				tpmss_ptr++;  
				continue;
			}
		} 
		printk("%5s=0x%16.16lx ",min_state_labels[i],*tpmss_ptr++);
		if (((i+1)%3)==0 || ((!strcmp("GR16",min_state_labels[i]))
				     && !ia64_pmss_dump_bank0))
			printk("\n");
	}
	while (1);
}
void ia64_process_min_state_save ( pal_min_state_area_t * pmss , struct pt_regs * ptregs ) { int i , max = 57 ; u64 * tpmss_ptr = ( u64 * ) pmss ; for ( i = 0 ; i < max ; i ++ ) { if ( ! ia64_pmss_dump_bank0 ) { if ( strncmp ( " " , min_state_labels [ i ] , 2 ) == 0 ) { tpmss_ptr ++ ; continue ; } } printk ( " " , min_state_labels [ i ] , * tpmss_ptr ++ ) ; if ( ( ( i + 1 ) % 3 ) == 0 || ( ( ! strcmp ( " " , min_state_labels [ i ] ) ) && ! ia64_pmss_dump_bank0 ) ) printk ( " \n " ) ; } while ( 1 ) ; }
routine to process and prepare to dump min_state_save
 information for debugging purposes.
routine to process and prepare to dump min_state_save information for debugging purposes .
/* dump out the min_state_area information */ /* skip to next entry */ /* hang city for now, until we include debugger or copy to ptregs to show: */