Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Get sr4 in cpu_getmcontext.



details:   https://anonhg.NetBSD.org/src/rev/bae0d12185f0
branches:  trunk
changeset: 762609:bae0d12185f0
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Feb 24 08:59:22 2011 +0000

description:
Get sr4 in cpu_getmcontext.

hi joerg.

diffstat:

 sys/arch/hppa/hppa/hppa_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ae7706684b82 -r bae0d12185f0 sys/arch/hppa/hppa/hppa_machdep.c
--- a/sys/arch/hppa/hppa/hppa_machdep.c Thu Feb 24 08:57:39 2011 +0000
+++ b/sys/arch/hppa/hppa/hppa_machdep.c Thu Feb 24 08:59:22 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hppa_machdep.c,v 1.24 2011/02/24 04:28:45 joerg Exp $  */
+/*     $NetBSD: hppa_machdep.c,v 1.25 2011/02/24 08:59:22 skrll Exp $  */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hppa_machdep.c,v 1.24 2011/02/24 04:28:45 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hppa_machdep.c,v 1.25 2011/02/24 08:59:22 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -187,10 +187,10 @@
        gr[_REG_SR1] = tf->tf_sr1;
        gr[_REG_SR2] = tf->tf_sr2;
        gr[_REG_SR3] = tf->tf_sr3;
+       gr[_REG_SR4] = tf->tf_sr4;
        gr[_REG_CR27] = tf->tf_cr27;
 #if 0
        gr[_REG_CR26] = tf->tf_cr26;
-       gr[_REG_SR4] = tf->tf_sr4;
 #endif
 
        ras_pc = (__greg_t)ras_lookup(l->l_proc,



Home | Main Index | Thread Index | Old Index