Module Name:    src
Committed By:   cliff
Date:           Thu Jun 10 00:37:12 UTC 2010

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S

Log Message:
in MIPSX(kern_intr), before "Call the interrupt handler",
store s1 to TF_BASE+TF_REG_SR(sp) to save STATUS there.
no big deal, it seems to be unused;  at least now it is unused correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.26.36.1.2.31 -r1.26.36.1.2.32 \
    src/sys/arch/mips/mips/mipsX_subr.S

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/mips/mips/mipsX_subr.S
diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.31 src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.32
--- src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.31	Wed Apr 28 03:14:45 2010
+++ src/sys/arch/mips/mips/mipsX_subr.S	Thu Jun 10 00:37:12 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mipsX_subr.S,v 1.26.36.1.2.31 2010/04/28 03:14:45 matt Exp $	*/
+/*	$NetBSD: mipsX_subr.S,v 1.26.36.1.2.32 2010/06/10 00:37:12 cliff Exp $	*/
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -1084,7 +1084,7 @@
 	REG_S	t8, TF_BASE+TF_REG_T8(sp)	# MIPS_CURLWP
 	REG_S	t9, TF_BASE+TF_REG_T9(sp)
 	REG_S	ra, TF_BASE+TF_REG_RA(sp)
-	REG_S	a0, TF_BASE+TF_REG_SR(sp)
+	REG_S	s1, TF_BASE+TF_REG_SR(sp)
 	REG_S	v0, TF_BASE+TF_REG_MULLO(sp)
 	REG_S	v1, TF_BASE+TF_REG_MULHI(sp)
 /*

Reply via email to