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 Oops, in the fpe_trap case, actually leav...



details:   https://anonhg.NetBSD.org/src/rev/c171b29f5030
branches:  trunk
changeset: 554185:c171b29f5030
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Oct 25 22:10:34 2003 +0000

description:
Oops, in the fpe_trap case, actually leave it storing $a2 in the $a3 stack
slot.  This is a hack.

diffstat:

 sys/arch/mips/mips/fp.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 0bf33d6812ab -r c171b29f5030 sys/arch/mips/mips/fp.S
--- a/sys/arch/mips/mips/fp.S   Sat Oct 25 22:06:59 2003 +0000
+++ b/sys/arch/mips/mips/fp.S   Sat Oct 25 22:10:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fp.S,v 1.27 2003/10/25 22:06:59 mycroft Exp $  */
+/*     $NetBSD: fp.S,v 1.28 2003/10/25 22:10:34 mycroft Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -2560,11 +2560,11 @@
        /*
         * ctc1 with fpe bits set causes FPE in kernel mode panic on 5231.
         */
-       sw      a2, CALLFRAME_SIZ + 8(sp)
+       sw      a2, CALLFRAME_SIZ + 12(sp)
        lw      a0, _C_LABEL(fpcurlwp)
        jal     _C_LABEL(savefpregs)            # on RM5231
 
-       lw      a2, CALLFRAME_SIZ + 8(sp)
+       lw      a2, CALLFRAME_SIZ + 12(sp)
 
        lw      v0, _C_LABEL(curpcb)            # get pcb of current process
        #nop



Home | Main Index | Thread Index | Old Index