summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-01 18:40:02 +0000
committerjhb <jhb@FreeBSD.org>2000-11-01 18:40:02 +0000
commit9b0a561703be32661910f94cd90c9a84cac698c2 (patch)
tree0d34d554cc204c9a21f942e7d50b1ca8e7d6d4fc /sys/alpha/include
parent6465172ef0394f572ce797e9ca931a77d345299c (diff)
downloadFreeBSD-src-9b0a561703be32661910f94cd90c9a84cac698c2.zip
FreeBSD-src-9b0a561703be32661910f94cd90c9a84cac698c2.tar.gz
- Modify alpha_setup_intr() to take interrupt handler flags as an additional
argument. These flags include INTR_FAST, INTR_MPSAFE, etc. - Properly handle INTR_EXCL when it is passed in to allow an interrupt handler to claim exclusive ownership of an interrupt thread. - Add support for psuedo-fast interrupts on the alpha. For fast interrupts, we don't allocate an interrupt thread; instead, during dispatching of an interrupt, we run the handler directly instead of scheduling the thread to run. Note that the handler is currently run without Giant and must be MP safe. The only fast handler currently is for the sio driver. Requested by: dfr
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/intr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/include/intr.h b/sys/alpha/include/intr.h
index e43010d..c34cc00 100644
--- a/sys/alpha/include/intr.h
+++ b/sys/alpha/include/intr.h
@@ -30,7 +30,7 @@
#define _MACHINE_INTR_H_
int alpha_setup_intr(const char *name, int vector,
- driver_intr_t *handle, void *arg, int pri,
+ driver_intr_t *handle, void *arg, int pri, int flags,
void **cookiep, volatile long *cntp,
void (*disable)(int), void (*enable)(int));
int alpha_teardown_intr(void *cookie);
OpenPOWER on IntegriCloud