aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-08-05 05:14:04 -0400
committerBryan Wu <bryan.wu@analog.com>2007-08-05 05:14:04 -0400
commit1ffe6646babf8471714e649849ec2c9662bf410c (patch)
treecc10996b2dd08ac783a4621fffb650e23b66bb2e /include/asm-blackfin
parentdbcc78bebe9daed8998d9f7c4e30bd3b73a4a169 (diff)
Blackfin arch: add an exception request/free api
add an exception request/free api similar to the interrupt request/fre api so people can utilize the free software based exceptions for their own purposes Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/irq_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-blackfin/irq_handler.h b/include/asm-blackfin/irq_handler.h
index f13cd73b0966..19534c133c93 100644
--- a/include/asm-blackfin/irq_handler.h
+++ b/include/asm-blackfin/irq_handler.h
@@ -20,5 +20,13 @@ asmlinkage void evt_evt13(void);
20asmlinkage void evt_soft_int1(void); 20asmlinkage void evt_soft_int1(void);
21asmlinkage void evt_system_call(void); 21asmlinkage void evt_system_call(void);
22asmlinkage void init_exception_buff(void); 22asmlinkage void init_exception_buff(void);
23asmlinkage void trap_c(struct pt_regs *fp);
24asmlinkage void ex_replaceable(void);
25
26extern void *ex_table[];
27extern void return_from_exception(void);
28
29extern int bfin_request_exception(unsigned int exception, void (*handler)(void));
30extern int bfin_free_exception(unsigned int exception, void (*handler)(void));
23 31
24#endif 32#endif