aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-08-05 17:14:04 +0800
committerBryan Wu <bryan.wu@analog.com>2007-08-05 17:14:04 +0800
commit1ffe6646babf8471714e649849ec2c9662bf410c (patch)
treecc10996b2dd08ac783a4621fffb650e23b66bb2e /include/asm-blackfin
parentBlackfin arch: all our other ports call this SIZE rather than SPI_LEN (diff)
downloadlinux-dev-1ffe6646babf8471714e649849ec2c9662bf410c.tar.xz
linux-dev-1ffe6646babf8471714e649849ec2c9662bf410c.zip
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);
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