diff options
author | benno <benno@FreeBSD.org> | 2003-02-01 07:20:36 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2003-02-01 07:20:36 +0000 |
commit | ad96cd6ffb29da032bc653785d8b5d9fc53e9f02 (patch) | |
tree | 3b7fdc0cb2815c079906583d61a7b773e2733dff /sys/powerpc/include | |
parent | 551f94c8c8ef3be88bfb0d73f48d3b5c81d78454 (diff) | |
download | FreeBSD-src-ad96cd6ffb29da032bc653785d8b5d9fc53e9f02.zip FreeBSD-src-ad96cd6ffb29da032bc653785d8b5d9fc53e9f02.tar.gz |
- Introduce a flags value into the interrupt handler structure.
- Copy the flags passed to inthand_add into the flags value.
- If the interrupt is INTR_FAST, re-enable the irq after running the handler.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/intr_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/intr_machdep.h b/sys/powerpc/include/intr_machdep.h index e01ebce..2d07a8b 100644 --- a/sys/powerpc/include/intr_machdep.h +++ b/sys/powerpc/include/intr_machdep.h @@ -37,10 +37,11 @@ struct intr_handler { void *ih_arg; struct ithd *ih_ithd; u_int ih_irq; + u_int ih_flags; }; void intr_init(void (*)(void), int, void (*)(int), void (*)(int)); -void intr_setup(u_int, ih_func_t *, void *); +void intr_setup(u_int, ih_func_t *, void *, u_int); int inthand_add(const char *, u_int, void (*)(void *), void *, int, void **); int inthand_remove(u_int, void *); |