2005-04-17 02:20:36 +04:00
|
|
|
#ifndef _ASM_IRQ_H
|
|
|
|
#define _ASM_IRQ_H
|
|
|
|
|
|
|
|
#include <linux/hardirq.h>
|
2011-05-26 11:48:24 +04:00
|
|
|
#include <linux/types.h>
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
enum interruption_class {
|
|
|
|
EXTERNAL_INTERRUPT,
|
|
|
|
IO_INTERRUPT,
|
2011-01-05 14:47:28 +03:00
|
|
|
EXTINT_CLK,
|
2011-10-30 18:17:19 +04:00
|
|
|
EXTINT_EXC,
|
|
|
|
EXTINT_EMS,
|
2011-01-05 14:47:28 +03:00
|
|
|
EXTINT_TMR,
|
|
|
|
EXTINT_TLA,
|
|
|
|
EXTINT_PFL,
|
|
|
|
EXTINT_DSD,
|
|
|
|
EXTINT_VRT,
|
|
|
|
EXTINT_SCP,
|
|
|
|
EXTINT_IUC,
|
2011-05-23 12:24:48 +04:00
|
|
|
EXTINT_CPM,
|
2011-10-30 18:16:04 +04:00
|
|
|
IOINT_CIO,
|
2011-01-05 14:47:29 +03:00
|
|
|
IOINT_QAI,
|
2011-01-05 14:47:30 +03:00
|
|
|
IOINT_DAS,
|
2011-01-05 14:47:31 +03:00
|
|
|
IOINT_C15,
|
2011-01-05 14:47:32 +03:00
|
|
|
IOINT_C70,
|
2011-01-05 14:47:33 +03:00
|
|
|
IOINT_TAP,
|
2011-01-05 14:47:34 +03:00
|
|
|
IOINT_VMR,
|
2011-01-05 14:47:35 +03:00
|
|
|
IOINT_LCS,
|
2011-01-05 14:47:36 +03:00
|
|
|
IOINT_CLW,
|
2011-01-05 14:47:37 +03:00
|
|
|
IOINT_CTC,
|
2011-01-05 14:47:38 +03:00
|
|
|
IOINT_APB,
|
2011-10-30 18:16:54 +04:00
|
|
|
IOINT_CSC,
|
2011-01-05 14:47:28 +03:00
|
|
|
NMI_NMI,
|
2005-04-17 02:20:36 +04:00
|
|
|
NR_IRQS,
|
|
|
|
};
|
|
|
|
|
2011-05-26 11:48:24 +04:00
|
|
|
typedef void (*ext_int_handler_t)(unsigned int, unsigned int, unsigned long);
|
|
|
|
|
|
|
|
int register_external_interrupt(u16 code, ext_int_handler_t handler);
|
|
|
|
int unregister_external_interrupt(u16 code, ext_int_handler_t handler);
|
|
|
|
void service_subclass_irq_register(void);
|
|
|
|
void service_subclass_irq_unregister(void);
|
|
|
|
|
2011-01-05 14:47:28 +03:00
|
|
|
#endif /* _ASM_IRQ_H */
|