Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Add fusword() + a MP change.



details:   https://anonhg.NetBSD.org/src/rev/5260cacaff0a
branches:  trunk
changeset: 499952:5260cacaff0a
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sat Dec 02 17:07:55 2000 +0000

description:
Add fusword() + a MP change.

diffstat:

 sys/arch/vax/vax/subr.s |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r c587c496ae4f -r 5260cacaff0a sys/arch/vax/vax/subr.s
--- a/sys/arch/vax/vax/subr.s   Sat Dec 02 17:07:27 2000 +0000
+++ b/sys/arch/vax/vax/subr.s   Sat Dec 02 17:07:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr.s,v 1.55 2000/08/27 00:21:46 matt Exp $      */
+/*     $NetBSD: subr.s,v 1.56 2000/12/02 17:07:55 ragge Exp $     */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -397,10 +397,6 @@
 #
        svpctx
        mtpr    r3,$PR_PCBB
-#if defined(MULTIPROCESSOR)
-       .globl  _C_LABEL(tramp) # used to kick off multiprocessor systems.
-_C_LABEL(tramp):
-#endif
        ldpctx
 #if defined(LOCKDEBUG)
        calls   $0,_C_LABEL(sched_unlock_idle)
@@ -409,6 +405,13 @@
 #endif
        rei
 
+#if defined(MULTIPROCESSOR)
+       .globl  _C_LABEL(tramp) # used to kick off multiprocessor systems.
+_C_LABEL(tramp):
+       ldpctx
+       rei
+#endif
+
 #
 # the last routine called by a process.
 #
@@ -555,6 +558,8 @@
 3:     mnegl   $1,r0
        ret
 
+       .align  2
+ALTENTRY(fusword)
 ENTRY(fuswintr,0)
        movl    4(ap),r0
        blss    3b



Home | Main Index | Thread Index | Old Index