Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha Point back to the alpha_shared_intr in the in...



details:   https://anonhg.NetBSD.org/src/rev/75f9d01a67a7
branches:  trunk
changeset: 483813:75f9d01a67a7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 19 01:46:18 2000 +0000

description:
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.

diffstat:

 sys/arch/alpha/common/shared_intr.c |  5 +++--
 sys/arch/alpha/include/intr.h       |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 8f825aed6aae -r 75f9d01a67a7 sys/arch/alpha/common/shared_intr.c
--- a/sys/arch/alpha/common/shared_intr.c       Sun Mar 19 01:43:25 2000 +0000
+++ b/sys/arch/alpha/common/shared_intr.c       Sun Mar 19 01:46:18 2000 +0000
@@ -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 @@
                break;
        }
 
+       ih->ih_intrhead = intr;
        ih->ih_fn = fn;
        ih->ih_arg = arg;
        ih->ih_level = level;
diff -r 8f825aed6aae -r 75f9d01a67a7 sys/arch/alpha/include/intr.h
--- a/sys/arch/alpha/include/intr.h     Sun Mar 19 01:43:25 2000 +0000
+++ b/sys/arch/alpha/include/intr.h     Sun Mar 19 01:46:18 2000 +0000
@@ -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 @@
 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;



Home | Main Index | Thread Index | Old Index