aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/irq.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 11:33:30 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 11:33:30 +0000
commit666bf69521d9622e674a5c6277acc7b7c9128bbd (patch)
tree9c482fb7c47f03f63555ea1897e8b6868d2f5301 /xen/include/asm-arm/irq.h
parenta5dcd99502c0d2343fe75989522d71bebae0053a (diff)
downloadxen-666bf69521d9622e674a5c6277acc7b7c9128bbd.tar.gz
xen-666bf69521d9622e674a5c6277acc7b7c9128bbd.tar.bz2
xen-666bf69521d9622e674a5c6277acc7b7c9128bbd.zip
arm: irq
A simple do_IRQ and request_irq implementation for ARM. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/irq.h')
-rw-r--r--xen/include/asm-arm/irq.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/xen/include/asm-arm/irq.h b/xen/include/asm-arm/irq.h
new file mode 100644
index 0000000000..8e65a2e499
--- /dev/null
+++ b/xen/include/asm-arm/irq.h
@@ -0,0 +1,30 @@
+#ifndef _ASM_HW_IRQ_H
+#define _ASM_HW_IRQ_H
+
+#include <xen/config.h>
+
+#define NR_VECTORS 256 /* XXX */
+
+typedef struct {
+ DECLARE_BITMAP(_bits,NR_VECTORS);
+} vmask_t;
+
+struct arch_pirq
+{
+};
+
+struct irq_cfg {
+#define arch_irq_desc irq_cfg
+};
+
+void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq);
+
+#endif /* _ASM_HW_IRQ_H */
+/*
+ * Local variables:
+ * mode: C
+ * c-set-style: "BSD"
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ */