summaryrefslogtreecommitdiffstats
path: root/kernel/arch/um/include/asm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/um/include/asm/irq.h')
-rw-r--r--kernel/arch/um/include/asm/irq.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/arch/um/include/asm/irq.h b/kernel/arch/um/include/asm/irq.h
new file mode 100644
index 000000000..4a2037f82
--- /dev/null
+++ b/kernel/arch/um/include/asm/irq.h
@@ -0,0 +1,23 @@
+#ifndef __UM_IRQ_H
+#define __UM_IRQ_H
+
+#define TIMER_IRQ 0
+#define UMN_IRQ 1
+#define CONSOLE_IRQ 2
+#define CONSOLE_WRITE_IRQ 3
+#define UBD_IRQ 4
+#define UM_ETH_IRQ 5
+#define SSL_IRQ 6
+#define SSL_WRITE_IRQ 7
+#define ACCEPT_IRQ 8
+#define MCONSOLE_IRQ 9
+#define WINCH_IRQ 10
+#define SIGIO_WRITE_IRQ 11
+#define TELNETD_IRQ 12
+#define XTERM_IRQ 13
+#define RANDOM_IRQ 14
+
+#define LAST_IRQ RANDOM_IRQ
+#define NR_IRQS (LAST_IRQ + 1)
+
+#endif