Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/arm26 Change various return sequences to the ...



details:   https://anonhg.NetBSD.org/src/rev/e6442ac5d295
branches:  trunk
changeset: 514072:e6442ac5d295
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Aug 21 22:42:17 2001 +0000

description:
Change various return sequences to the APCS-32 versions.

diffstat:

 sys/arch/arm26/arm26/locore.S |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 8bc0154e6cc3 -r e6442ac5d295 sys/arch/arm26/arm26/locore.S
--- a/sys/arch/arm26/arm26/locore.S     Tue Aug 21 22:40:39 2001 +0000
+++ b/sys/arch/arm26/arm26/locore.S     Tue Aug 21 22:42:17 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.17 2001/08/20 23:10:51 bjh21 Exp $ */
+/* $NetBSD: locore.S,v 1.18 2001/08/21 22:42:17 bjh21 Exp $ */
 /*
  * Copyright (c) 1998, 1999, 2000 Ben Harris
  * Copyright (C) 1994-1997 Mark Brinicombe
@@ -441,7 +441,7 @@
        stmfd   r2!, {r4-r11, r13-r14}  /* Save all relevant registers */
        str     r2, [r0]                /* Save switchframe pointer */
        ldmfd   r1, {r4-r11, r13-r14}   /* Restore from old switchframe */
-       movs    pc, r14                 /* and return */
+       mov     pc, r14                 /* and return */
 
        /*
         * This funny little routine implements starting a process.
@@ -468,13 +468,13 @@
 ENTRY(setjmp)
        stmia   r0, {r4-r11, r13-r14}   /* Save relevant registers */
        mov     r0, #0                  /* Return 0 */
-       movs    pc, lr
+       mov     pc, lr
 
 /* LINTSTUB: Func: void longjmp(label_t *) */
 ENTRY(longjmp)
        ldmia   r0, {r4-r11, r13-r14}   /* Restore registers */
        mov     r0, #1                  /* Return 1 through longjmp */
-       movs    pc, lr
+       mov     pc, lr
 
 #ifdef DDB
 /* Enter DDB -- shove registers in a trapframe first */
@@ -482,7 +482,7 @@
 ENTRY(cpu_Debugger)
        stmfd   r13!, {r14}
        .word   KERNEL_BREAKPOINT
-       ldmfd   r13!, {pc}^
+       ldmfd   r13!, {pc}
 #endif
 
 /*
@@ -498,4 +498,4 @@
        .global _C_LABEL(eintrcnt)
 _C_LABEL(eintrcnt):
 
-RCSID("$NetBSD: locore.S,v 1.17 2001/08/20 23:10:51 bjh21 Exp $")
+RCSID("$NetBSD: locore.S,v 1.18 2001/08/21 22:42:17 bjh21 Exp $")



Home | Main Index | Thread Index | Old Index