Point back to the alpha_shared_intr in the intrhand structure. This
allows platform-specific code to access the `intr_private' data via the intrhand structure.
This commit is contained in:
parent
c10a9d31ea
commit
ac93a75106
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: shared_intr.c,v 1.12 2000/02/10 07:45:02 mjacob Exp $ */
|
||||
/* $NetBSD: shared_intr.c,v 1.13 2000/03/19 01:46:18 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Carnegie-Mellon University.
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.12 2000/02/10 07:45:02 mjacob Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.13 2000/03/19 01:46:18 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -170,6 +170,7 @@ alpha_shared_intr_establish(intr, num, type, level, fn, arg, basename)
|
||||
break;
|
||||
}
|
||||
|
||||
ih->ih_intrhead = intr;
|
||||
ih->ih_fn = fn;
|
||||
ih->ih_arg = arg;
|
||||
ih->ih_level = level;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intr.h,v 1.23 1999/12/02 01:09:13 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.24 2000/03/19 01:46:18 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
|
||||
@ -119,6 +119,7 @@ void alpha_broadcast_ipi __P((unsigned long));
|
||||
struct alpha_shared_intrhand {
|
||||
TAILQ_ENTRY(alpha_shared_intrhand)
|
||||
ih_q;
|
||||
struct alpha_shared_intr *ih_intrhead;
|
||||
int (*ih_fn) __P((void *));
|
||||
void *ih_arg;
|
||||
int ih_level;
|
||||
|
Loading…
Reference in New Issue
Block a user