printk("%08x\n", final_handler[i]); 
printk("%08x\n", f[i]); 
static void __init build_r4000_tlb_refill_handler(void){	u32 *p = tlb_handler;	struct label *l = labels;	struct reloc *r = relocs;	u32 *f;	unsigned int final_len;	memset(tlb_handler, 0, sizeof(tlb_handler));	memset(labels, 0, sizeof(labels));	memset(relocs, 0, sizeof(relocs));	memset(final_handler, 0, sizeof(final_handler));	/*	 * create the plain linear handler	 */	if (bcm1250_m3_war()) {		i_MFC0(&p, K0, C0_BADVADDR);		i_MFC0(&p, K1, C0_ENTRYHI);		i_xor(&p, K0, K0, K1);		i_SRL(&p, K0, K0, PAGE_SHIFT + 1);		il_bnez(&p, &r, K0, label_leave);		/* No need for i_nop */	}#ifdef CONFIG_64BIT	build_get_pmde64(&p, &l, &r, K0, K1); /* get pmd in K1 */#else	build_get_pgde32(&p, K0, K1); /* get pgd in K1 */#endif	build_get_ptep(&p, K0, K1);	build_update_entries(&p, K0, K1);	build_tlb_write_entry(&p, &l, &r, tlb_random);	l_leave(&l, p);	i_eret(&p); /* return from trap */#ifdef CONFIG_64BIT	build_get_pgd_vmalloc64(&p, &l, &r, K0, K1);#endif	/*	 * Overflow check: For the 64bit handler, we need at least one	 * free instruction slot for the wrap-around branch. In worst	 * case, if the intended insertion point is a delay slot, we	 * need three, with the the second nop'ed and the third being	 * unused.	 */#ifdef CONFIG_32BIT	if ((p - tlb_handler) > 64)		panic("TLB refill handler space exceeded");#else	if (((p - tlb_handler) > 63)	    || (((p - tlb_handler) > 61)		&& insn_has_bdelay(relocs, tlb_handler + 29)))		panic("TLB refill handler space exceeded");#endif	/*	 * Now fold the handler in the TLB refill handler space.	 */#ifdef CONFIG_32BIT	f = final_handler;	/* Simplest case, just copy the handler. */	copy_handler(relocs, labels, tlb_handler, p, f);	final_len = p - tlb_handler;#else /* CONFIG_64BIT */	f = final_handler + 32;	if ((p - tlb_handler) <= 32) {		/* Just copy the handler. */		copy_handler(relocs, labels, tlb_handler, p, f);		final_len = p - tlb_handler;	} else {		u32 *split = tlb_handler + 30;		/*		 * Find the split point.		 */		if (insn_has_bdelay(relocs, split - 1))			split--;		/* Copy first part of the handler. */		copy_handler(relocs, labels, tlb_handler, split, f);		f += split - tlb_handler;		/* Insert branch. */		l_split(&l, final_handler);		il_b(&f, &r, label_split);		if (insn_has_bdelay(relocs, split))			i_nop(&f);		else {			copy_handler(relocs, labels, split, split + 1, f);			move_labels(labels, f, f + 1, -1);			f++;			split++;		}		/* Copy the rest of the handler. */		copy_handler(relocs, labels, split, p, final_handler);		final_len = (f - (final_handler + 32)) + (p - split);	}#endif /* CONFIG_64BIT */	resolve_relocs(relocs, labels);	printk("Synthesized TLB refill handler (%u instructions).\n",	       final_len);#ifdef DEBUG_TLB	{		int i;		for (i = 0; i < final_len; i++)			printk("%08x\n", final_handler[i]);	}#endif	memcpy((void *)CAC_BASE, final_handler, 0x100);	flush_icache_range(CAC_BASE, CAC_BASE + 0x100);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4c0a2d4275b6993066810c42c4c6b0729d3b67a9/tlbex.c/buggy/arch/mips/mm/tlbex.c