Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/ibm4xx Fix broken stack. The r4 points cpu...
details: https://anonhg.NetBSD.org/src/rev/03c4cdc4830c
branches: trunk
changeset: 766501:03c4cdc4830c
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Fri Jun 24 03:53:46 2011 +0000
description:
Fix broken stack. The r4 points cpu_info in ddb_trap. (not test)
diffstat:
sys/arch/powerpc/ibm4xx/trap_subr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r cfaca41fb271 -r 03c4cdc4830c sys/arch/powerpc/ibm4xx/trap_subr.S
--- a/sys/arch/powerpc/ibm4xx/trap_subr.S Fri Jun 24 03:50:23 2011 +0000
+++ b/sys/arch/powerpc/ibm4xx/trap_subr.S Fri Jun 24 03:53:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap_subr.S,v 1.16 2011/06/15 06:28:39 cliff Exp $ */
+/* $NetBSD: trap_subr.S,v 1.17 2011/06/24 03:53:46 kiyohara Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -519,7 +519,7 @@
stw %r3,CI_DDBSAVE+CPUSAVE_SRR1(%r4)
wrteei 0 /* disable interrupts */
isync
- stmw %r28,CI_DDBSAVE(%r1)
+ stmw %r28,CI_DDBSAVE(%r4)
mflr %r28
stw %r28,CI_DDBSAVE+CPUSAVE_SRR0(%r4)
li %r29,EXC_BPT
Home |
Main Index |
Thread Index |
Old Index