diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
commit | e1db5c4a473d067a236a9deb6aaf0d4b49037ab0 (patch) | |
tree | d99a015cd4bf0a19ed04cd028e4c95a554f20949 /sys/arch/i386/include/psl.h | |
parent | 5de6545ee7bb75bb0895f89e1e1086f2d570db11 (diff) |
Pass device name to interrupt establish routines so it can be recorded in
the device interrupt chain structures (isa, pci)
Move interrupt chain structure definition to <machine/psl.h> so vmstat can
get at it (i386)
Remove hack to count interrupts the old way (i386)
Diffstat (limited to 'sys/arch/i386/include/psl.h')
-rw-r--r-- | sys/arch/i386/include/psl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/arch/i386/include/psl.h b/sys/arch/i386/include/psl.h index 3d527e12be5..504708dfe52 100644 --- a/sys/arch/i386/include/psl.h +++ b/sys/arch/i386/include/psl.h @@ -99,6 +99,21 @@ #ifndef LOCORE +/* + * Interrupt handler chains. isa_intr_establish() inserts a handler into + * the list. The handler is called with its (single) argument. + */ + +struct intrhand { + int (*ih_fun)(); + void *ih_arg; + u_long ih_count; + struct intrhand *ih_next; + int ih_level; + int ih_irq; + char *ih_what; +}; + volatile int cpl, ipending, astpending; int imask[5]; |