2 #include <asm/mipsregs.h>
3 #include <asm/regdef.h>
4 #include <asm/stackframe.h>
9 NESTED(ev96100IRQ, PT_SIZE, sp)
11 CLI # Important: mark KERNEL mode !
13 mfc0 t0, CP0_CAUSE # get pending interrupts
14 mfc0 t1, CP0_STATUS # get enabled interrupts
15 and t0, t1 # isolate allowed ones
17 # FIX ME add R7000 extensions
18 andi t0,0xff00 # isolate pending bits
19 andi a0, t0, CAUSEF_IP7
22 jal mips_timer_interrupt
25 1: beqz t0, 3f # spurious interrupt
32 3: j spurious_interrupt