Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch Fix <tab> nits.



details:   https://anonhg.NetBSD.org/src/rev/929165a08eef
branches:  trunk
changeset: 559734:929165a08eef
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Mar 23 01:41:47 2004 +0000

description:
Fix <tab> nits.

diffstat:

 lib/libc/arch/alpha/gen/__longjmp14.c |  38 +++++++++++++++++-----------------
 lib/libc/arch/vax/gen/__longjmp14.c   |  24 +++++++++++-----------
 2 files changed, 31 insertions(+), 31 deletions(-)

diffs (94 lines):

diff -r 0e3a2a5c1158 -r 929165a08eef lib/libc/arch/alpha/gen/__longjmp14.c
--- a/lib/libc/arch/alpha/gen/__longjmp14.c     Tue Mar 23 00:59:47 2004 +0000
+++ b/lib/libc/arch/alpha/gen/__longjmp14.c     Tue Mar 23 01:41:47 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __longjmp14.c,v 1.1 2004/03/21 18:04:27 matt Exp $     */
+/*     $NetBSD: __longjmp14.c,v 1.2 2004/03/23 01:41:47 simonb Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -72,27 +72,27 @@
        uc.uc_mcontext.__gregs[_REG_V0] = val;
 
        /* Copy saved registers */
-        uc.uc_mcontext.__gregs[_REG_S0] = sc->sc_regs[R_S0];
-        uc.uc_mcontext.__gregs[_REG_S1] = sc->sc_regs[R_S1];
-        uc.uc_mcontext.__gregs[_REG_S2] = sc->sc_regs[R_S2];
-        uc.uc_mcontext.__gregs[_REG_S3] = sc->sc_regs[R_S3];
-        uc.uc_mcontext.__gregs[_REG_S4] = sc->sc_regs[R_S4];
-        uc.uc_mcontext.__gregs[_REG_S5] = sc->sc_regs[R_S5];
-        uc.uc_mcontext.__gregs[_REG_S6] = sc->sc_regs[R_S6];
-        uc.uc_mcontext.__gregs[_REG_RA] = sc->sc_regs[R_RA];
-        uc.uc_mcontext.__gregs[_REG_SP] = sc->sc_sp;
-        uc.uc_mcontext.__gregs[_REG_PC] = sc->sc_pc;
-        uc.uc_mcontext.__gregs[_REG_PS] =
+       uc.uc_mcontext.__gregs[_REG_S0] = sc->sc_regs[R_S0];
+       uc.uc_mcontext.__gregs[_REG_S1] = sc->sc_regs[R_S1];
+       uc.uc_mcontext.__gregs[_REG_S2] = sc->sc_regs[R_S2];
+       uc.uc_mcontext.__gregs[_REG_S3] = sc->sc_regs[R_S3];
+       uc.uc_mcontext.__gregs[_REG_S4] = sc->sc_regs[R_S4];
+       uc.uc_mcontext.__gregs[_REG_S5] = sc->sc_regs[R_S5];
+       uc.uc_mcontext.__gregs[_REG_S6] = sc->sc_regs[R_S6];
+       uc.uc_mcontext.__gregs[_REG_RA] = sc->sc_regs[R_RA];
+       uc.uc_mcontext.__gregs[_REG_SP] = sc->sc_sp;
+       uc.uc_mcontext.__gregs[_REG_PC] = sc->sc_pc;
+       uc.uc_mcontext.__gregs[_REG_PS] =
           (sc->sc_ps | ALPHA_PSL_USERSET) & ~ALPHA_PSL_USERCLR;
 
        /* Copy FP state */
-        if (sc->sc_ownedfp) {
-                memcpy(&uc.uc_mcontext.__fpregs.__fp_fr,
-                    &sc->sc_fpregs, 31 * sizeof(unsigned long));
-                sc->sc_fpcr = uc.uc_mcontext.__fpregs.__fp_fpcr;
-                /* XXX sc_fp_control */
-                uc.uc_flags |= _UC_FPU;
-        }
+       if (sc->sc_ownedfp) {
+               memcpy(&uc.uc_mcontext.__fpregs.__fp_fr,
+                   &sc->sc_fpregs, 31 * sizeof(unsigned long));
+               sc->sc_fpcr = uc.uc_mcontext.__fpregs.__fp_fpcr;
+               /* XXX sc_fp_control */
+               uc.uc_flags |= _UC_FPU;
+       }
 
        /* Copy signal mask */
        uc.uc_sigmask = sc->sc_mask;
diff -r 0e3a2a5c1158 -r 929165a08eef lib/libc/arch/vax/gen/__longjmp14.c
--- a/lib/libc/arch/vax/gen/__longjmp14.c       Tue Mar 23 00:59:47 2004 +0000
+++ b/lib/libc/arch/vax/gen/__longjmp14.c       Tue Mar 23 01:41:47 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __longjmp14.c,v 1.1 2004/03/21 18:19:52 matt Exp $     */
+/*     $NetBSD: __longjmp14.c,v 1.2 2004/03/23 01:41:47 simonb Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -76,18 +76,18 @@
        uc.uc_mcontext.__gregs[_REG_R0] = val;
 
        /* Copy saved registers */
-        uc.uc_mcontext.__gregs[_REG_AP] = jb->jb_sc.sc_ap;
-        uc.uc_mcontext.__gregs[_REG_SP] = jb->jb_sc.sc_sp;
-        uc.uc_mcontext.__gregs[_REG_FP] = jb->jb_sc.sc_fp;
-        uc.uc_mcontext.__gregs[_REG_PC] = jb->jb_sc.sc_pc;
-        uc.uc_mcontext.__gregs[_REG_PSL] = jb->jb_sc.sc_ps;
+       uc.uc_mcontext.__gregs[_REG_AP] = jb->jb_sc.sc_ap;
+       uc.uc_mcontext.__gregs[_REG_SP] = jb->jb_sc.sc_sp;
+       uc.uc_mcontext.__gregs[_REG_FP] = jb->jb_sc.sc_fp;
+       uc.uc_mcontext.__gregs[_REG_PC] = jb->jb_sc.sc_pc;
+       uc.uc_mcontext.__gregs[_REG_PSL] = jb->jb_sc.sc_ps;
 
-        uc.uc_mcontext.__gregs[_REG_R6] = jb->jb_regs[0];
-        uc.uc_mcontext.__gregs[_REG_R7] = jb->jb_regs[1];
-        uc.uc_mcontext.__gregs[_REG_R8] = jb->jb_regs[2];
-        uc.uc_mcontext.__gregs[_REG_R9] = jb->jb_regs[3];
-        uc.uc_mcontext.__gregs[_REG_R10] = jb->jb_regs[4];
-        uc.uc_mcontext.__gregs[_REG_R11] = jb->jb_regs[5];
+       uc.uc_mcontext.__gregs[_REG_R6] = jb->jb_regs[0];
+       uc.uc_mcontext.__gregs[_REG_R7] = jb->jb_regs[1];
+       uc.uc_mcontext.__gregs[_REG_R8] = jb->jb_regs[2];
+       uc.uc_mcontext.__gregs[_REG_R9] = jb->jb_regs[3];
+       uc.uc_mcontext.__gregs[_REG_R10] = jb->jb_regs[4];
+       uc.uc_mcontext.__gregs[_REG_R11] = jb->jb_regs[5];
 
        /* Copy signal mask */
        uc.uc_sigmask = jb->jb_sc.sc_mask;



Home | Main Index | Thread Index | Old Index