2 * Copyright 2007-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
10 #include <linux/types.h>
11 #include <linux/linkage.h>
14 /* init functions only */
15 extern int init_arch_irq(void);
16 extern void init_exception_vectors(void);
17 extern void program_IAR(void);
19 extern void init_mach_irq(void);
21 # define init_mach_irq()
24 /* BASE LEVEL interrupt handler routines */
25 asmlinkage
void evt_exception(void);
26 asmlinkage
void trap(void);
27 asmlinkage
void evt_ivhw(void);
28 asmlinkage
void evt_timer(void);
29 asmlinkage
void evt_nmi(void);
30 asmlinkage
void evt_evt7(void);
31 asmlinkage
void evt_evt8(void);
32 asmlinkage
void evt_evt9(void);
33 asmlinkage
void evt_evt10(void);
34 asmlinkage
void evt_evt11(void);
35 asmlinkage
void evt_evt12(void);
36 asmlinkage
void evt_evt13(void);
37 asmlinkage
void evt_evt14(void);
38 asmlinkage
void evt_soft_int1(void);
39 asmlinkage
void evt_system_call(void);
40 asmlinkage
void init_exception_buff(void);
41 asmlinkage
void trap_c(struct pt_regs
*fp
);
42 asmlinkage
void ex_replaceable(void);
43 asmlinkage
void early_trap(void);
45 extern void *ex_table
[];
46 extern void return_from_exception(void);
48 extern int bfin_request_exception(unsigned int exception
, void (*handler
)(void));
49 extern int bfin_free_exception(unsigned int exception
, void (*handler
)(void));
51 extern asmlinkage
void lower_to_irq14(void);
52 extern asmlinkage
void bfin_return_from_exception(void);
53 extern asmlinkage
void asm_do_IRQ(unsigned int irq
, struct pt_regs
*regs
);
54 extern int bfin_internal_set_wake(unsigned int irq
, unsigned int state
);
57 extern void bfin_handle_irq(unsigned irq
);
58 extern void bfin_ack_noop(struct irq_data
*);
59 extern void bfin_internal_mask_irq(unsigned int irq
);
60 extern void bfin_internal_unmask_irq(unsigned int irq
);
63 extern void bfin_demux_mac_status_irq(struct irq_desc
*);
64 extern void bfin_demux_gpio_irq(struct irq_desc
*);