diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-08-05 17:14:04 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-08-05 17:14:04 +0800 |
commit | 1ffe6646babf8471714e649849ec2c9662bf410c (patch) | |
tree | cc10996b2dd08ac783a4621fffb650e23b66bb2e /include | |
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')
-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 f13cd73b096..19534c133c9 100644 --- a/include/asm-blackfin/irq_handler.h +++ b/include/asm-blackfin/irq_handler.h @@ -20,5 +20,13 @@ asmlinkage void evt_evt13(void); asmlinkage void evt_soft_int1(void); asmlinkage void evt_system_call(void); asmlinkage void init_exception_buff(void); +asmlinkage void trap_c(struct pt_regs *fp); +asmlinkage void ex_replaceable(void); + +extern void *ex_table[]; +extern void return_from_exception(void); + +extern int bfin_request_exception(unsigned int exception, void (*handler)(void)); +extern int bfin_free_exception(unsigned int exception, void (*handler)(void)); #endif |