summaryrefslogtreecommitdiff
path: root/include/arm/gumstix/bsp/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arm/gumstix/bsp/irq.h')
-rw-r--r--include/arm/gumstix/bsp/irq.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/arm/gumstix/bsp/irq.h b/include/arm/gumstix/bsp/irq.h
new file mode 100644
index 0000000000..a8b5d24da1
--- /dev/null
+++ b/include/arm/gumstix/bsp/irq.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2010 embedded brains GmbH.
+ *
+ * Interrupt handler Header file for PXA By Yang Xi <hiyangxi@gmail.com>
+ * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef __IRQ_H__
+#define __IRQ_H__
+
+#ifndef __asm__
+
+#include <rtems.h>
+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
+
+#include <pxa255.h>
+
+#define BSP_INTERRUPT_VECTOR_MIN 0
+
+#define BSP_INTERRUPT_VECTOR_MAX (PRIMARY_IRQS - 1)
+
+#endif /* __asm__ */
+
+#endif /* __IRQ_H__ */