Module Name:    src
Committed By:   matt
Date:           Mon Aug 16 17:57:10 UTC 2010

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

Log Message:
Improve panic message in mips_wait_idle.


To generate a diff of this commit:
cvs rdiff -u -r1.93.38.9 -r1.93.38.10 src/sys/arch/mips/mips/locore_mips3.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/locore_mips3.S
diff -u src/sys/arch/mips/mips/locore_mips3.S:1.93.38.9 src/sys/arch/mips/mips/locore_mips3.S:1.93.38.10
--- src/sys/arch/mips/mips/locore_mips3.S:1.93.38.9	Fri May 14 22:26:00 2010
+++ src/sys/arch/mips/mips/locore_mips3.S	Mon Aug 16 17:57:10 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore_mips3.S,v 1.93.38.9 2010/05/14 22:26:00 matt Exp $	*/
+/*	$NetBSD: locore_mips3.S,v 1.93.38.10 2010/08/16 17:57:10 matt Exp $	*/
 
 /*
  * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -175,7 +175,8 @@
 	bnez	v1, 2f
 	nop
 1:
-	PANIC("mips_wait_idle: interrupts disabled")
+	move	a1, v0
+	PANIC("mips_wait_idle: interrupts disabled status=%#x")
 
 2:	wait
 	nop

Reply via email to