summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-12-12 19:20:19 +0000
committerjhb <jhb@FreeBSD.org>2006-12-12 19:20:19 +0000
commit65d8bd30a00681cb5864698d05bd24395da41546 (patch)
tree2a56d1c14d9905ef1ad0f8b926479b9ef783dcfb /sys/sys
parent7106027433bd2e711f844be45f587f6f2f7556cf (diff)
downloadFreeBSD-src-65d8bd30a00681cb5864698d05bd24395da41546.zip
FreeBSD-src-65d8bd30a00681cb5864698d05bd24395da41546.tar.gz
Add a function to return the MD interrupt source cookie associated with
an interrupt event. Use this in the x86 code to fixup the intrcnt names when an interrupt handler is removed.
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/interrupt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index 2856703..0e73976 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -121,6 +121,7 @@ int intr_event_create(struct intr_event **event, void *source,
int intr_event_destroy(struct intr_event *ie);
int intr_event_remove_handler(void *cookie);
int intr_event_schedule_thread(struct intr_event *ie);
+void *intr_handler_source(void *cookie);
int swi_add(struct intr_event **eventp, const char *name,
driver_intr_t handler, void *arg, int pri, enum intr_type flags,
void **cookiep);
OpenPOWER on IntegriCloud