 /* set all etrax irq's to the bad handlers */ for (i = 2; i < NR_IRQS; i++) set_int_vector(i, bad_interrupt[i]); 
init_IRQ(void){	int i;	/* clear all interrupt masks */#ifndef CONFIG_SVINTO_SIM	*R_IRQ_MASK0_CLR = 0xffffffff;	*R_IRQ_MASK1_CLR = 0xffffffff;	*R_IRQ_MASK2_CLR = 0xffffffff;#endif	*R_VECT_MASK_CLR = 0xffffffff;	/* clear the shortcut entry points */	for(i = 0; i < NR_IRQS; i++)		irq_shortcuts[i] = NULL;                for (i = 0; i < 256; i++)               etrax_irv->v[i] = weird_irq;        /* the entries in the break vector contain actual code to be           executed by the associated break handler, rather than just a jump           address. therefore we need to setup a default breakpoint handler           for all breakpoints */	for (i = 0; i < 16; i++)                set_break_vector(i, do_sigtrap);        	/* set all etrax irq's to the bad handlers */	for (i = 2; i < NR_IRQS; i++)		set_int_vector(i, bad_interrupt[i]);        	/* except IRQ 15 which is the multiple-IRQ handler on Etrax100 */	set_int_vector(15, multiple_interrupt);		/* 0 and 1 which are special breakpoint/NMI traps */	set_int_vector(0, hwbreakpoint);	set_int_vector(1, IRQ1_interrupt);	/* and irq 14 which is the mmu bus fault handler */	set_int_vector(14, mmu_bus_fault);	/* setup the system-call trap, which is reached by BREAK 13 */	set_break_vector(13, system_call);        /* setup a breakpoint handler for debugging used for both user and           kernel mode debugging  (which is why it is not inside an ifdef           CONFIG_ETRAX_KGDB) */        set_break_vector(8, gdb_handle_breakpoint);#ifdef CONFIG_ETRAX_KGDB	/* setup kgdb if its enabled, and break into the debugger */	kgdb_init();	breakpoint();#endif}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2e0cea1decf7f21df0496571c218df3b3b8cce99/irq.c/buggy/arch/cris/arch-v10/kernel/irq.c