Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh5/sh5 Restore the branch-target registers from th...
details: https://anonhg.NetBSD.org/src/rev/bfc7b0fcc51f
branches: trunk
changeset: 536093:bfc7b0fcc51f
user: scw <scw%NetBSD.org@localhost>
date: Fri Sep 06 15:39:16 2002 +0000
description:
Restore the branch-target registers from the correct place...
diffstat:
sys/arch/sh5/sh5/process_machdep.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (32 lines):
diff -r a2ef45386388 -r bfc7b0fcc51f sys/arch/sh5/sh5/process_machdep.c
--- a/sys/arch/sh5/sh5/process_machdep.c Fri Sep 06 15:37:14 2002 +0000
+++ b/sys/arch/sh5/sh5/process_machdep.c Fri Sep 06 15:39:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: process_machdep.c,v 1.3 2002/09/04 14:13:28 scw Exp $ */
+/* $NetBSD: process_machdep.c,v 1.4 2002/09/06 15:39:16 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -310,14 +310,14 @@
tf->tf_caller.r61 = regs->r_intregs[61];
tf->tf_caller.r62 = regs->r_intregs[62];
- tf->tf_caller.tr0 = regs->r_intregs[0];
- tf->tf_caller.tr1 = regs->r_intregs[1];
- tf->tf_caller.tr2 = regs->r_intregs[2];
- tf->tf_caller.tr3 = regs->r_intregs[3];
- tf->tf_caller.tr4 = regs->r_intregs[4];
- tf->tf_callee.tr5 = regs->r_intregs[5];
- tf->tf_callee.tr6 = regs->r_intregs[6];
- tf->tf_callee.tr7 = regs->r_intregs[7];
+ tf->tf_caller.tr0 = regs->r_tr[0];
+ tf->tf_caller.tr1 = regs->r_tr[1];
+ tf->tf_caller.tr2 = regs->r_tr[2];
+ tf->tf_caller.tr3 = regs->r_tr[3];
+ tf->tf_caller.tr4 = regs->r_tr[4];
+ tf->tf_callee.tr5 = regs->r_tr[5];
+ tf->tf_callee.tr6 = regs->r_tr[6];
+ tf->tf_callee.tr7 = regs->r_tr[7];
tf->tf_state.sf_spc = regs->r_pc;
tf->tf_state.sf_usr = regs->r_usr;
Home |
Main Index |
Thread Index |
Old Index