Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / linux / linux-2.6 / arch / mips / brcm-boards / generic / int-handler.S
blob8019717fde62cd8a65602ad8d71f8f6a31a68570
1 /*
2  * Generic interrupt handler for Broadcom MIPS boards
3  *
4  * Copyright (C) 2009, Broadcom Corporation
5  * All Rights Reserved.
6  * 
7  * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8  * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9  * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10  * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11  *
12  * $Id: int-handler.S,v 1.1 2007/09/04 04:41:12 Exp $
13  */
15 #include <linux/config.h>
17 #include <asm/asm.h>
18 #include <asm/mipsregs.h>
19 #include <asm/regdef.h>
20 #include <asm/stackframe.h>
23  *      MIPS IRQ        Source
24  *      --------        ------
25  *             0        Software (ignored)
26  *             1        Software (ignored)
27  *             2        Combined hardware interrupt (hw0)
28  *             3        Hardware
29  *             4        Hardware
30  *             5        Hardware
31  *             6        Hardware
32  *             7        R4k timer
33  */
35         .text
36         .set    noreorder
37         .set    noat
38         .align  5
39         NESTED(brcmIRQ, PT_SIZE, sp)
40         SAVE_ALL
41         CLI
42         .set    at
43         .set    noreorder
45         jal     plat_irq_dispatch
46         move    a0, sp
48         j       ret_from_irq
49         nop
51         END(brcmIRQ)