diff options
author | peter <peter@FreeBSD.org> | 1997-06-01 16:05:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-06-01 16:05:14 +0000 |
commit | 2bd86002940242337411d0d4913c56ac516fc671 (patch) | |
tree | ee951eb21e5d555e53d116182892ecb809503d22 /sys/kern/kern_intr.c | |
parent | 21260a709da4bca5e550812c416b27274dea1a53 (diff) | |
download | FreeBSD-src-2bd86002940242337411d0d4913c56ac516fc671.zip FreeBSD-src-2bd86002940242337411d0d4913c56ac516fc671.tar.gz |
Move "typedef struct intrec {} intrec" from sys/interrupt.h to kern_intr.c
since that's the only place that it's used.
Submitted by: se (apparently on suggestion from dfr)
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r-- | sys/kern/kern_intr.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 56880d9..3f7feaf 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.2 1997/05/28 22:11:00 se Exp $ + * $Id: kern_intr.c,v 1.3 1997/05/31 09:30:39 peter Exp $ * */ @@ -46,6 +46,19 @@ #include "vector.h" +typedef struct intrec { + intrmask_t mask; + inthand2_t *handler; + void *argument; + struct intrec *next; + void *devdata; + int intr; + intrmask_t *maskptr; + int flags; +#define INTR_FAST 0x00000001 /* fast interrupt handler */ +#define INTR_EXCL 0x00010000 /* excl. intr, default is shared */ +} intrec; + /* * The interrupt multiplexer calls each of the handlers in turn, * and applies the associated interrupt mask to "cpl", which is |