Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh3/evbsh3 From tusbai%netbsd.org@localhost:



details:   https://anonhg.NetBSD.org/src/rev/9e57c2285113
branches:  trunk
changeset: 486596:9e57c2285113
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 26 12:57:11 2000 +0000

description:
>From tusbai%netbsd.org@localhost:

Simplify SONPROC change.  (and now compiles)

diffstat:

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

diffs (29 lines):

diff -r e05ec7a50641 -r 9e57c2285113 sys/arch/evbsh3/evbsh3/locore.s
--- a/sys/arch/evbsh3/evbsh3/locore.s   Fri May 26 08:40:10 2000 +0000
+++ b/sys/arch/evbsh3/evbsh3/locore.s   Fri May 26 12:57:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.12 2000/05/26 00:36:45 thorpej Exp $      */
+/*     $NetBSD: locore.s,v 1.13 2000/05/26 12:57:11 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -887,16 +887,9 @@
        mov.l   r0, @r1         /* 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   XXXLcurproc, r0



Home | Main Index | Thread Index | Old Index