Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/walnut Change some register uses to %rX that...



details:   https://anonhg.NetBSD.org/src/rev/5958d958b325
branches:  trunk
changeset: 760910:5958d958b325
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 17 06:54:57 2011 +0000

description:
Change some register uses to %rX that were missed the firt time.

diffstat:

 sys/arch/evbppc/walnut/walnut_start.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 083969d07fe4 -r 5958d958b325 sys/arch/evbppc/walnut/walnut_start.S
--- a/sys/arch/evbppc/walnut/walnut_start.S     Mon Jan 17 03:04:10 2011 +0000
+++ b/sys/arch/evbppc/walnut/walnut_start.S     Mon Jan 17 06:54:57 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: walnut_start.S,v 1.19 2010/03/18 14:04:07 kiyohara Exp $       */
+/*     $NetBSD: walnut_start.S,v 1.20 2011/01/17 06:54:57 matt Exp $   */
 /*     $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $       */
 
 /*
@@ -174,7 +174,7 @@
        addi    %r8,%r8,_C_LABEL(end)@l
 /* zero bss */
        li      %r4,0
-2:     stwu    %r4,%r4(3)
+2:     stwu    %r4,%r4(%r3)
        cmpw    %r3,%r8
        bne+    2b
 
@@ -193,7 +193,7 @@
        mtpid   %r0
        sync
 
-       INIT_CPUINFO(8,1,9,0)
+       INIT_CPUINFO(%r8,%r1,%r9,%r0)
        mr      %r4,%r8
 
        lis     %r3,__start@ha



Home | Main Index | Thread Index | Old Index