diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-08-05 05:14:04 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-08-05 05:14:04 -0400 |
commit | 1ffe6646babf8471714e649849ec2c9662bf410c (patch) | |
tree | cc10996b2dd08ac783a4621fffb650e23b66bb2e /include/asm-blackfin/irq_handler.h | |
parent | dbcc78bebe9daed8998d9f7c4e30bd3b73a4a169 (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/irq_handler.h')
-rw-r--r-- | include/asm-blackfin/irq_handler.h | 8 |
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); | |||
20 | asmlinkage void evt_soft_int1(void); | 20 | asmlinkage void evt_soft_int1(void); |
21 | asmlinkage void evt_system_call(void); | 21 | asmlinkage void evt_system_call(void); |
22 | asmlinkage void init_exception_buff(void); | 22 | asmlinkage void init_exception_buff(void); |
23 | asmlinkage void trap_c(struct pt_regs *fp); | ||
24 | asmlinkage void ex_replaceable(void); | ||
25 | |||
26 | extern void *ex_table[]; | ||
27 | extern void return_from_exception(void); | ||
28 | |||
29 | extern int bfin_request_exception(unsigned int exception, void (*handler)(void)); | ||
30 | extern int bfin_free_exception(unsigned int exception, void (*handler)(void)); | ||
23 | 31 | ||
24 | #endif | 32 | #endif |