blob: 139b5208f9d8506a1c691345f05519e6c2a33109 [file] [log] [blame]
Bryan Wu1394f032007-05-06 14:50:22 -07001#ifndef _IRQ_HANDLER_H
2#define _IRQ_HANDLER_H
3
Mike Frysingerf0b5d122007-08-05 17:03:59 +08004#include <linux/types.h>
5#include <linux/linkage.h>
6
Bryan Wu1394f032007-05-06 14:50:22 -07007/* BASE LEVEL interrupt handler routines */
Bryan Wu1394f032007-05-06 14:50:22 -07008asmlinkage void evt_exception(void);
9asmlinkage void trap(void);
10asmlinkage void evt_ivhw(void);
11asmlinkage void evt_timer(void);
Mike Frysingerf0b5d122007-08-05 17:03:59 +080012asmlinkage void evt_nmi(void);
Bryan Wu1394f032007-05-06 14:50:22 -070013asmlinkage void evt_evt7(void);
14asmlinkage void evt_evt8(void);
15asmlinkage void evt_evt9(void);
16asmlinkage void evt_evt10(void);
17asmlinkage void evt_evt11(void);
18asmlinkage void evt_evt12(void);
19asmlinkage void evt_evt13(void);
20asmlinkage void evt_soft_int1(void);
21asmlinkage void evt_system_call(void);
22asmlinkage void init_exception_buff(void);
Mike Frysinger1ffe6642007-08-05 17:14:04 +080023asmlinkage void trap_c(struct pt_regs *fp);
24asmlinkage void ex_replaceable(void);
Robin Getz337d3902007-10-09 17:31:46 +080025asmlinkage void early_trap(void);
Mike Frysinger1ffe6642007-08-05 17:14:04 +080026
27extern void *ex_table[];
28extern void return_from_exception(void);
29
30extern int bfin_request_exception(unsigned int exception, void (*handler)(void));
31extern int bfin_free_exception(unsigned int exception, void (*handler)(void));
Bryan Wu1394f032007-05-06 14:50:22 -070032
33#endif