Module Name: src
Committed By: skrll
Date: Thu Feb 24 08:59:22 UTC 2011
Modified Files:
src/sys/arch/hppa/hppa: hppa_machdep.c
Log Message:
Get sr4 in cpu_getmcontext.
hi joerg.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/hppa/hppa/hppa_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/hppa/hppa_machdep.c
diff -u src/sys/arch/hppa/hppa/hppa_machdep.c:1.24 src/sys/arch/hppa/hppa/hppa_machdep.c:1.25
--- src/sys/arch/hppa/hppa/hppa_machdep.c:1.24 Thu Feb 24 04:28:45 2011
+++ src/sys/arch/hppa/hppa/hppa_machdep.c Thu Feb 24 08:59:22 2011
@@ -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,