Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Adapt i386_send_ipi prototype. Make sp...



details:   https://anonhg.NetBSD.org/src/rev/ae6c78771c40
branches:  trunk
changeset: 537794:ae6c78771c40
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Oct 05 21:25:24 2002 +0000

description:
Adapt i386_send_ipi prototype. Make spllock < splipi (IPI paths
changed to use __cpu_simple_lock because of LOCKDEBUG conflict).

diffstat:

 sys/arch/i386/include/intr.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 58b0b3eb5edd -r ae6c78771c40 sys/arch/i386/include/intr.h
--- a/sys/arch/i386/include/intr.h      Sat Oct 05 21:22:31 2002 +0000
+++ b/sys/arch/i386/include/intr.h      Sat Oct 05 21:25:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.27 2002/10/01 19:08:51 matt Exp $   */
+/*     $NetBSD: intr.h,v 1.28 2002/10/05 21:25:24 fvdl Exp $   */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
 #define        IPL_AUDIO       0xc0    /* audio */
 #define        IPL_CLOCK       0xd0    /* clock */
 #define        IPL_HIGH        0xd0    /* everything */
-#define        IPL_SERIAL      0xe0    /* serial */
+#define        IPL_SERIAL      0xd0    /* serial */
 #define IPL_IPI                0xe0    /* inter-processor interrupts */
 #define        NIPL            16
 
@@ -176,7 +176,7 @@
 #define        splhigh()       splraise(IPL_HIGH)
 #define        spl0()          spllower(IPL_NONE)
 #define        splsched()      splhigh()
-#define spllock()      splraise(IPL_SERIAL) /* XXX XXX XXX XXX */
+#define spllock()      splhigh()
 #define        splx(x)         spllower(x)
 
 /*
@@ -207,7 +207,7 @@
 #ifdef MULTIPROCESSOR
 struct cpu_info;
 
-void i386_send_ipi (struct cpu_info *, int);
+int i386_send_ipi (struct cpu_info *, int);
 void i386_broadcast_ipi (int);
 void i386_multicast_ipi (int, int);
 void i386_ipi_handler (void);



Home | Main Index | Thread Index | Old Index