diff options
Diffstat (limited to 'sys/alpha/include/intr.h')
| -rw-r--r-- | sys/alpha/include/intr.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/alpha/include/intr.h b/sys/alpha/include/intr.h index ea5408920b88..79af6fd9fa6d 100644 --- a/sys/alpha/include/intr.h +++ b/sys/alpha/include/intr.h @@ -23,15 +23,24 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: intr.h,v 1.4 1998/11/15 18:25:16 dfr Exp $ + * $Id: intr.h,v 1.2 1998/07/12 16:09:30 dfr Exp $ */ #ifndef _MACHINE_INTR_H_ #define _MACHINE_INTR_H_ -int alpha_setup_intr(int vector, driver_intr_t *intr, void *arg, - void **cookiep, volatile long *cntp); -int alpha_teardown_intr(void *cookie); +LIST_HEAD(alpha_intr_list, alpha_intr); + +struct alpha_intr { + LIST_ENTRY(alpha_intr) list; /* chain handlers in this hash bucket */ + int vector; /* vector to match */ + driver_intr_t *intr; /* handler function */ + void *arg; /* argument to handler */ +}; + +struct alpha_intr *alpha_create_intr(int vector, + driver_intr_t *intr, void *arg); +int alpha_connect_intr(struct alpha_intr *i); void alpha_dispatch_intr(void *frame, unsigned long vector); #endif /* !_MACHINE_INTR_H_ */ |
