diff options
author | ian <ian@FreeBSD.org> | 2014-05-14 18:25:13 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-14 18:25:13 +0000 |
commit | 9e6ff9cd8c9d75c84e35d396dd9595b3ec4b947f (patch) | |
tree | 4052705103efb8fd7ad19d2d674f0c14e1b8acc2 /sys/arm/include/intr.h | |
parent | 0fce07b314e30ad58f2ceca66ff72537964c8b06 (diff) | |
download | FreeBSD-src-9e6ff9cd8c9d75c84e35d396dd9595b3ec4b947f.zip FreeBSD-src-9e6ff9cd8c9d75c84e35d396dd9595b3ec4b947f.tar.gz |
MFC r260161, r260163, r260165, r260166, r260189
Add polarity and level support to ARM GIC
Do not attach to PCI bridges in AHCI driver
Use only mapped BIOs on ARM
Fix race condition in DELAY for SP804 timer.
Diffstat (limited to 'sys/arm/include/intr.h')
-rw-r--r-- | sys/arm/include/intr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/include/intr.h b/sys/arm/include/intr.h index a3bc837..dedf5b2 100644 --- a/sys/arm/include/intr.h +++ b/sys/arm/include/intr.h @@ -68,6 +68,7 @@ #endif #include <machine/psl.h> +#include <sys/bus.h> int arm_get_next_irq(int); void arm_mask_irq(uintptr_t); @@ -77,6 +78,8 @@ void arm_setup_irqhandler(const char *, int (*)(void*), void (*)(void*), void *, int, int, void **); int arm_remove_irqhandler(int, void *); extern void (*arm_post_filter)(void *); +extern int (*arm_config_irq)(int irq, enum intr_trigger trig, + enum intr_polarity pol); void gic_init_secondary(void); |