patch-2.4.20 linux-2.4.20/arch/mips/ddb5xxx/ddb5477/int-handler.S
Next file: linux-2.4.20/arch/mips/ddb5xxx/ddb5477/irq.c
Previous file: linux-2.4.20/arch/mips/ddb5xxx/ddb5477/debug.c
Back to the patch index
Back to the overall index
- Lines: 52
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/mips/ddb5xxx/ddb5477/int-handler.S
- Orig date:
Sun Sep 9 10:43:01 2001
diff -urN linux-2.4.19/arch/mips/ddb5xxx/ddb5477/int-handler.S linux-2.4.20/arch/mips/ddb5xxx/ddb5477/int-handler.S
@@ -9,8 +9,6 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
-#include <linux/config.h>
-
#include <asm/asm.h>
#include <asm/mipsregs.h>
#include <asm/addrspace.h>
@@ -28,14 +26,14 @@
CLI
.set at
.set noreorder
- mfc0 t0, CP0_CAUSE
+ mfc0 t0, CP0_CAUSE
mfc0 t2, CP0_STATUS
and t0, t2
-
+
andi t1, t0, STATUSF_IP7 /* cpu timer */
bnez t1, ll_cputimer_irq
- andi t1, t0, (STATUSF_IP2 | STATUSF_IP3 | STATUSF_IP4 | STATUSF_IP5 | STATUSF_IP6 )
+ andi t1, t0, (STATUSF_IP2 | STATUSF_IP3 | STATUSF_IP4 | STATUSF_IP5 | STATUSF_IP6 )
bnez t1, ll_vrc5477_irq
andi t1, t0, STATUSF_IP0 /* software int 0 */
bnez t1, ll_cpu_ip0
@@ -51,7 +49,7 @@
.align 5
-ll_vrc5477_irq:
+ll_vrc5477_irq:
move a0, sp
jal vrc5477_irq_dispatch
j ret_from_irq
@@ -63,13 +61,13 @@
j ret_from_irq
-ll_cpu_ip0:
+ll_cpu_ip0:
li a0, 0
move a1, sp
jal do_IRQ
j ret_from_irq
-ll_cpu_ip1:
+ll_cpu_ip1:
li a0, 1
move a1, sp
jal do_IRQ
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)