Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | #ifndef _IRQ_HANDLER_H |
| 2 | #define _IRQ_HANDLER_H |
| 3 | |
Mike Frysinger | f0b5d12 | 2007-08-05 17:03:59 +0800 | [diff] [blame] | 4 | #include <linux/types.h> |
| 5 | #include <linux/linkage.h> |
| 6 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 7 | /* BASE LEVEL interrupt handler routines */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 8 | asmlinkage void evt_exception(void); |
| 9 | asmlinkage void trap(void); |
| 10 | asmlinkage void evt_ivhw(void); |
| 11 | asmlinkage void evt_timer(void); |
Mike Frysinger | f0b5d12 | 2007-08-05 17:03:59 +0800 | [diff] [blame] | 12 | asmlinkage void evt_nmi(void); |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 13 | asmlinkage void evt_evt7(void); |
| 14 | asmlinkage void evt_evt8(void); |
| 15 | asmlinkage void evt_evt9(void); |
| 16 | asmlinkage void evt_evt10(void); |
| 17 | asmlinkage void evt_evt11(void); |
| 18 | asmlinkage void evt_evt12(void); |
| 19 | asmlinkage void evt_evt13(void); |
| 20 | asmlinkage void evt_soft_int1(void); |
| 21 | asmlinkage void evt_system_call(void); |
| 22 | asmlinkage void init_exception_buff(void); |
Mike Frysinger | 1ffe664 | 2007-08-05 17:14:04 +0800 | [diff] [blame] | 23 | asmlinkage void trap_c(struct pt_regs *fp); |
| 24 | asmlinkage void ex_replaceable(void); |
Robin Getz | 337d390 | 2007-10-09 17:31:46 +0800 | [diff] [blame] | 25 | asmlinkage void early_trap(void); |
Mike Frysinger | 1ffe664 | 2007-08-05 17:14:04 +0800 | [diff] [blame] | 26 | |
| 27 | extern void *ex_table[]; |
| 28 | extern void return_from_exception(void); |
| 29 | |
| 30 | extern int bfin_request_exception(unsigned int exception, void (*handler)(void)); |
| 31 | extern int bfin_free_exception(unsigned int exception, void (*handler)(void)); |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 32 | |
| 33 | #endif |