Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mmeye/mmeye Simplify SONPROC change. (and now comp...



details:   https://anonhg.NetBSD.org/src/rev/e05ec7a50641
branches:  trunk
changeset: 486595:e05ec7a50641
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri May 26 08:40:10 2000 +0000

description:
Simplify SONPROC change.  (and now compiles)

diffstat:

 sys/arch/mmeye/mmeye/locore.s |  15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diffs (29 lines):

diff -r acc2c08f3d22 -r e05ec7a50641 sys/arch/mmeye/mmeye/locore.s
--- a/sys/arch/mmeye/mmeye/locore.s     Fri May 26 08:36:48 2000 +0000
+++ b/sys/arch/mmeye/mmeye/locore.s     Fri May 26 08:40:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.12 2000/05/26 00:36:47 thorpej Exp $      */
+/*     $NetBSD: locore.s,v 1.13 2000/05/26 08:40:10 tsubai Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -770,16 +770,9 @@
        mov.l   r0, @(P_BACK, r8)       /* r8->p_back = 0 */
 
        /* Process now running on a processor. */
-       mov     r8, r4
-       mov     #P_STAT, r2
-       add     r2, r4
-
-       mov.l   XL_ConvVtoP, r0
-       jsr     @r0
-       nop
-
-       mov     #SONPROC, r1            /* p->p_stat = SONPROC */
-       mov.b   r1, @r0
+       mov     #P_STAT, r0
+       mov     #SONPROC, r1
+       mov.b   r1, @(r0, r8)           /* p->p_stat = SONPROC */
 
        /* Record new process. */
        mov.l   XXLcurproc, r0



Home | Main Index | Thread Index | Old Index