summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/intr.h
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2008-04-20 23:29:06 +0000
committercognet <cognet@FreeBSD.org>2008-04-20 23:29:06 +0000
commit19c46f4f03d6363bbbe6543e3f4c0fe81f6f3da5 (patch)
treea7483fc0d443624328312a9aa05b50fff4886c2d /sys/arm/include/intr.h
parent0249d0d19634037595dbe5b78038a214689c0f96 (diff)
downloadFreeBSD-src-19c46f4f03d6363bbbe6543e3f4c0fe81f6f3da5.zip
FreeBSD-src-19c46f4f03d6363bbbe6543e3f4c0fe81f6f3da5.tar.gz
On the AT91, we need to write on the EOI register after we handle an
interrupt. So, add a new function pointer, arm_post_filter, which defaults to NULL, and which will be used as the post_filter arg for intr_event_create(). Set it properly for the AT91, so that it boots again. Reported by: hps
Diffstat (limited to 'sys/arm/include/intr.h')
-rw-r--r--sys/arm/include/intr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/include/intr.h b/sys/arm/include/intr.h
index 2edb428..a252a92 100644
--- a/sys/arm/include/intr.h
+++ b/sys/arm/include/intr.h
@@ -55,4 +55,5 @@ void arm_unmask_irq(uintptr_t);
void arm_setup_irqhandler(const char *, int (*)(void*), void (*)(void*),
void *, int, int, void **);
int arm_remove_irqhandler(void *);
+extern void (*arm_post_filter)(void *);
#endif /* _MACHINE_INTR_H */
OpenPOWER on IntegriCloud