diff options
author | 2012-04-17 15:22:02 +0000 | |
---|---|---|
committer | 2012-04-17 15:22:02 +0000 | |
commit | b540ef5c5421f18b7977fad4a36d1566daf963f3 (patch) | |
tree | e17f383b7863b947d3af77568b5e09ba04cac594 /sys/arch/sgi/hpc/hpcvar.h | |
parent | Remove "#define _POSIX_THREADS" line before include <pthread.h>. (diff) | |
download | wireguard-openbsd-b540ef5c5421f18b7977fad4a36d1566daf963f3.tar.xz wireguard-openbsd-b540ef5c5421f18b7977fad4a36d1566daf963f3.zip |
Infrastructure to allow an interrupt handler to request its interrupt to be
temporarily disabled (and then reenabled later). Will be necessary for the
next driver commit.
Diffstat (limited to 'sys/arch/sgi/hpc/hpcvar.h')
-rw-r--r-- | sys/arch/sgi/hpc/hpcvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sgi/hpc/hpcvar.h b/sys/arch/sgi/hpc/hpcvar.h index 7f688ca9ea0..9e2c988d2a8 100644 --- a/sys/arch/sgi/hpc/hpcvar.h +++ b/sys/arch/sgi/hpc/hpcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hpcvar.h,v 1.5 2012/04/15 20:50:32 miod Exp $ */ +/* $OpenBSD: hpcvar.h,v 1.6 2012/04/17 15:22:02 miod Exp $ */ /* $NetBSD: hpcvar.h,v 1.12 2011/01/25 12:21:04 tsutsui Exp $ */ /* @@ -106,5 +106,8 @@ struct hpc_attach_args { void *hpc_intr_establish(int, int, int (*)(void *), void *, const char *); +int hpc_is_intr_pending(int); +void hpc_intr_disable(void *); +void hpc_intr_enable(void *); extern bus_space_t hpc3bus_tag; |