summaryrefslogtreecommitdiff
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-06-01 16:05:14 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-06-01 16:05:14 +0000
commit8c046d14dc25b2f91aac57d5155b66fc53ee513a (patch)
tree24fa130fc5132cfcdff7af620464186d8f586773 /sys/kern/kern_intr.c
parent131cb049f49f5f1851a4a7903a6b0175f78f32ef (diff)
Notes
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r--sys/kern/kern_intr.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 56880d9f78c2..3f7feaf4c52b 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