4 * Based on the cobalt handler.
7 #include <asm/mipsregs.h>
8 #include <asm/addrspace.h>
9 #include <asm/regdef.h>
10 #include <asm/stackframe.h>
13 * galileo_handle_int -
14 * We check for the timer first, then check PCI ints A and D.
15 * Then check for serial IRQ and fall through.
20 NESTED(galileo_handle_int, PT_SIZE, sp)
29 andi t1,t0,STATUSF_IP4 /* int2 hardware line (timer) */
30 bnez t1,ll_gt64120_irq
31 andi t1,t0,STATUSF_IP2 /* int0 hardware line */
33 andi t1,t0,STATUSF_IP5 /* int3 hardware line */
35 andi t1,t0,STATUSF_IP6 /* int4 hardware line */
37 andi t1,t0,STATUSF_IP7 /* compare int */
38 bnez t1,ll_compare_irq
41 /* wrong alarm or masked ... */
44 END(galileo_handle_int)