Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/include Remove prototype for non-existant s...



details:   https://anonhg.NetBSD.org/src/rev/51f29e58eea6
branches:  trunk
changeset: 534566:51f29e58eea6
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jul 29 16:14:05 2002 +0000

description:
Remove prototype for non-existant softintr_dispatch().
Add/modify a few comments.

diffstat:

 sys/arch/evbmips/include/intr.h |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r f9260219dc1f -r 51f29e58eea6 sys/arch/evbmips/include/intr.h
--- a/sys/arch/evbmips/include/intr.h   Mon Jul 29 16:12:26 2002 +0000
+++ b/sys/arch/evbmips/include/intr.h   Mon Jul 29 16:14:05 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.1 2002/03/07 14:44:00 simonb Exp $  */
+/*     $NetBSD: intr.h,v 1.2 2002/07/29 16:14:05 simonb Exp $  */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -45,10 +45,10 @@
 
 #define        IPL_NONE        0       /* disable only this interrupt */
 
-#define        IPL_SOFT        1       /* generic software interrupts (SI 0) */
-#define        IPL_SOFTCLOCK   2       /* clock software interrupts (SI 0) */
-#define        IPL_SOFTNET     3       /* network software interrupts (SI 1) */
-#define        IPL_SOFTSERIAL  4       /* serial software interrupts (SI 1) */
+#define        IPL_SOFT        1       /* generic software interrupts */
+#define        IPL_SOFTCLOCK   2       /* clock software interrupts */
+#define        IPL_SOFTNET     3       /* network software interrupts */
+#define        IPL_SOFTSERIAL  4       /* serial software interrupts */
 
 #define        IPL_BIO         5       /* disable block I/O interrupts */
 #define        IPL_NET         6       /* disable network interrupts */
@@ -57,8 +57,8 @@
 #define        IPL_CLOCK       8       /* disable clock interrupts */
 #define        IPL_HIGH        8       /* disable all interrupts */
 
-#define        _IPL_NSOFT      4
-#define        _IPL_N          9
+#define        _IPL_NSOFT      4       /* max soft IPL + 1 */
+#define        _IPL_N          9       /* max IPL + 1 */
 
 #define        _IPL_SI0_FIRST  IPL_SOFT
 #define        _IPL_SI0_LAST   IPL_SOFTCLOCK
@@ -146,7 +146,6 @@
 void   *softintr_establish(int, void (*)(void *), void *);
 void   softintr_disestablish(void *);
 void   softintr_init(void);
-void   softintr_dispatch(void);
 
 #define        softintr_schedule(arg)                                          \
 do {                                                                   \



Home | Main Index | Thread Index | Old Index