Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/m68k Consistently use motorola style. No bina...



details:   https://anonhg.NetBSD.org/src/rev/a17241eb73a2
branches:  trunk
changeset: 959645:a17241eb73a2
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Feb 21 07:23:41 2021 +0000

description:
Consistently use motorola style.  No binary changes.

Seems missed in rev 1.3:
 https://mail-index.netbsd.org/source-changes/2013/08/01/msg046378.html

diffstat:

 sys/arch/m68k/m68k/reenter_syscall.s |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 011097ff15fc -r a17241eb73a2 sys/arch/m68k/m68k/reenter_syscall.s
--- a/sys/arch/m68k/m68k/reenter_syscall.s      Sun Feb 21 07:21:57 2021 +0000
+++ b/sys/arch/m68k/m68k/reenter_syscall.s      Sun Feb 21 07:23:41 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reenter_syscall.s,v 1.5 2021/02/20 18:04:20 tsutsui Exp $      */
+/*     $NetBSD: reenter_syscall.s,v 1.6 2021/02/21 07:23:41 tsutsui Exp $      */
 
 /*
  * Written by ITOH Yasufumi.
@@ -39,17 +39,17 @@
 .Lcpfr:        movel   (%a0)+,(%a1)+
        dbra    %d0,.Lcpfr
 
-       movew   %d1,%sp@(FR_ADJ)        | set stack adjust count
+       movew   %d1,FR_ADJ(%sp)         | set stack adjust count
        movel   (%sp),-(%sp)            | push syscall no (original d0 value)
        jbsr    _C_LABEL(syscall)       | re-enter syscall()
        addql   #4,%sp                  | pop syscall no
 #ifdef DEBUG
-       tstw    %sp@(FR_ADJ)            | stack adjust must be zero
+       tstw    FR_ADJ(%sp)             | stack adjust must be zero
        jeq     .Ladjzero
        PANIC("reenter_syscall")
 .Ladjzero:
 #endif
-       moveal  %sp@(FR_SP),%a0         | grab and restore
+       moveal  FR_SP(%sp),%a0          | grab and restore
        movel   %a0,%usp                |   user SP
        moveml  (%sp)+,#0x7FFF          | restore user registers
        addql   #8,%sp                  | pop SP and stack adjust



Home | Main Index | Thread Index | Old Index