Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Have ST_REG_SR mnemonic for status regist...



details:   https://anonhg.NetBSD.org/src/rev/0fd7a68ffb95
branches:  trunk
changeset: 484049:0fd7a68ffb95
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Fri Mar 24 02:02:03 2000 +0000

description:
Have ST_REG_SR mnemonic for status register consistent with others.

diffstat:

 sys/arch/mips/mips/genassym.cf |   4 ++--
 sys/arch/mips/mips/locore.S    |  12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 6c00b4c16362 -r 0fd7a68ffb95 sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf    Fri Mar 24 01:04:11 2000 +0000
+++ b/sys/arch/mips/mips/genassym.cf    Fri Mar 24 02:02:03 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.14 2000/01/28 15:08:37 takemura Exp $
+#      $NetBSD: genassym.cf,v 1.15 2000/03/24 02:02:03 nisimura Exp $
 #
 # Copyright (c) 1997
 #  Jonathan Stone.  All rights reserved.
@@ -199,7 +199,7 @@
 define TF_REG_EPC      offsetof(struct trapframe, tf_epc)
 
 define CTXSWFRAME_SIZ  sizeof(mips_reg_t) * 12
-define SF_REG_ST       sizeof(mips_reg_t) * 11
+define SF_REG_SR       sizeof(mips_reg_t) * 11
 define SF_REG_RA       sizeof(mips_reg_t) * 10
 define SF_REG_S0       sizeof(mips_reg_t) * 0
 define SF_REG_S1       sizeof(mips_reg_t) * 1
diff -r 6c00b4c16362 -r 0fd7a68ffb95 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Fri Mar 24 01:04:11 2000 +0000
+++ b/sys/arch/mips/mips/locore.S       Fri Mar 24 02:02:03 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.87 2000/02/01 18:49:03 thorpej Exp $      */
+/*     $NetBSD: locore.S,v 1.88 2000/03/24 02:02:03 nisimura Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -293,7 +293,7 @@
        REG_S   sp, U_PCB_CONTEXT+SF_REG_SP(a0)
        REG_S   s8, U_PCB_CONTEXT+SF_REG_S8(a0)
        REG_S   ra, U_PCB_CONTEXT+SF_REG_RA(a0)
-       REG_S   t0, U_PCB_CONTEXT+SF_REG_ST(a0)
+       REG_S   t0, U_PCB_CONTEXT+SF_REG_SR(a0)
        REG_EPILOGUE
        subu    sp, sp, CALLFRAME_SIZ
        sw      ra, CALLFRAME_RA(sp)
@@ -371,7 +371,7 @@
        move    a3, v0                          # BDSLOT: a3 = ASID
 
        REG_PROLOGUE
-       REG_L   v0, U_PCB_CONTEXT+SF_REG_ST(a0)
+       REG_L   v0, U_PCB_CONTEXT+SF_REG_SR(a0)
        REG_L   ra, U_PCB_CONTEXT+SF_REG_RA(a0)
        REG_L   s0, U_PCB_CONTEXT+SF_REG_S0(a0)
        REG_L   s1, U_PCB_CONTEXT+SF_REG_S1(a0)
@@ -425,7 +425,7 @@
        REG_S   sp, U_PCB_CONTEXT+SF_REG_SP(a0)
        REG_S   s8, U_PCB_CONTEXT+SF_REG_S8(a0)
        REG_S   ra, U_PCB_CONTEXT+SF_REG_RA(a0)
-       REG_S   v0, U_PCB_CONTEXT+SF_REG_ST(a0)
+       REG_S   v0, U_PCB_CONTEXT+SF_REG_SR(a0)
        REG_EPILOGUE
        j       ra
        move    v0, zero
@@ -450,7 +450,7 @@
        REG_S   sp, SF_REG_SP(a0)
        REG_S   s8, SF_REG_S8(a0)
        REG_S   ra, SF_REG_RA(a0)
-       REG_S   v0, SF_REG_ST(a0)
+       REG_S   v0, SF_REG_SR(a0)
        REG_EPILOGUE
        j       ra
        move    v0, zero
@@ -458,7 +458,7 @@
 
 LEAF(longjmp)
        REG_PROLOGUE
-       REG_L   v0, SF_REG_ST(a0)
+       REG_L   v0, SF_REG_SR(a0)
        REG_L   ra, SF_REG_RA(a0)
        REG_L   s0, SF_REG_S0(a0)
        REG_L   s1, SF_REG_S1(a0)



Home | Main Index | Thread Index | Old Index