Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/amiga More missing register prefixes.



details:   https://anonhg.NetBSD.org/src/rev/8acdba3df7e4
branches:  trunk
changeset: 504437:8acdba3df7e4
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Fri Mar 02 16:29:41 2001 +0000

description:
More missing register prefixes.

diffstat:

 sys/arch/amiga/amiga/amiga_init.c |   4 ++--
 sys/arch/amiga/amiga/locore.s     |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 008088fa431a -r 8acdba3df7e4 sys/arch/amiga/amiga/amiga_init.c
--- a/sys/arch/amiga/amiga/amiga_init.c Fri Mar 02 15:42:39 2001 +0000
+++ b/sys/arch/amiga/amiga/amiga_init.c Fri Mar 02 16:29:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amiga_init.c,v 1.73 2001/02/14 20:24:17 is Exp $       */
+/*     $NetBSD: amiga_init.c,v 1.74 2001/03/02 16:29:41 mhitch Exp $   */
 
 /*
  * Copyright (c) 1994 Michael L. Hitch
@@ -837,7 +837,7 @@
                if (id & AMIGA_68060) {
                        /* do i need to clear the branch cache? */
                        asm volatile (  ".word 0x4e7a,0x0002;" 
-                                       "orl #0x400000,d0;" 
+                                       "orl #0x400000,%%d0;" 
                                        ".word 0x4e7b,0x0002" : : : "d0");
                }
 
diff -r 008088fa431a -r 8acdba3df7e4 sys/arch/amiga/amiga/locore.s
--- a/sys/arch/amiga/amiga/locore.s     Fri Mar 02 15:42:39 2001 +0000
+++ b/sys/arch/amiga/amiga/locore.s     Fri Mar 02 16:29:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.121 2001/02/14 20:24:17 is Exp $  */
+/*     $NetBSD: locore.s,v 1.122 2001/03/02 16:29:41 mhitch Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -144,8 +144,8 @@
                                        | instruction case: 4+12+12
        andl    #PG_FRAME,%d1           | and truncate
 Lberr3:
-       movl    %d1,sp@-
-       movl    %d0,sp@-                | code is FSLW now.
+       movl    %d1,%sp@-
+       movl    %d0,%sp@-               | code is FSLW now.
        andw    #0x1f80,%d0 
        jeq     Lisberr
        movl    #T_MMUFLT,%sp@-         | show that we are an MMU fault
@@ -1211,7 +1211,7 @@
        moveml  %d2-%d7/%a2-%a7,%a1@(PCB_REGS)  | save non-scratch registers
        movl    %usp,%a2                        | grab USP (a2 has been saved)
        movl    %a2,%a1@(PCB_USP)               | and save it
-       movl    _C_LABEL(CMAP2),a1@(PCB_CMAP2)  | save temporary map PTE
+       movl    _C_LABEL(CMAP2),%a1@(PCB_CMAP2) | save temporary map PTE
 #ifdef FPCOPROC
 #ifdef FPU_EMULATE
        tstl    _C_LABEL(fputype)               | do we have any FPU?
@@ -1282,7 +1282,7 @@
        tstl    _C_LABEL(fputype)               | do we _have_ any fpu?
        jne     Lresnonofpatall
        movw    %a1@(PCB_PS),%sr                | no, restore PS
-       moveq   #1,d0                           | return 1 (for alternate rets)
+       moveq   #1,%d0                          | return 1 (for alternate rets)
        rts
 Lresnonofpatall:
 #endif



Home | Main Index | Thread Index | Old Index