9703a73c98
The purpose of the EVT14 handler may depend on whether CONFIG_IPIPE is enabled, albeit its implementation can be the same in both cases. When the interrupt pipeline is enabled, EVT14 can be used to raise the core priority level for the running code; when CONFIG_IPIPE is off, EVT14 can be used to lower this level before running softirq handlers. Rename evt14_softirq to evt_evt14 to pick an identifier that fits both, which allows to reuse the same vector setup code as well. Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
34 lines
1 KiB
C
34 lines
1 KiB
C
#ifndef _IRQ_HANDLER_H
|
|
#define _IRQ_HANDLER_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/linkage.h>
|
|
|
|
/* BASE LEVEL interrupt handler routines */
|
|
asmlinkage void evt_exception(void);
|
|
asmlinkage void trap(void);
|
|
asmlinkage void evt_ivhw(void);
|
|
asmlinkage void evt_timer(void);
|
|
asmlinkage void evt_nmi(void);
|
|
asmlinkage void evt_evt7(void);
|
|
asmlinkage void evt_evt8(void);
|
|
asmlinkage void evt_evt9(void);
|
|
asmlinkage void evt_evt10(void);
|
|
asmlinkage void evt_evt11(void);
|
|
asmlinkage void evt_evt12(void);
|
|
asmlinkage void evt_evt13(void);
|
|
asmlinkage void evt_evt14(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);
|
|
asmlinkage void early_trap(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
|