Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke Set correct stack pointer.
details: https://anonhg.NetBSD.org/src/rev/6998fc3b29a3
branches: trunk
changeset: 334968:6998fc3b29a3
user: nonaka <nonaka%NetBSD.org@localhost>
date: Fri Dec 19 03:46:23 2014 +0000
description:
Set correct stack pointer.
Please handle %r0 with care.
diffstat:
sys/arch/powerpc/booke/e500_mpsubr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 08def7c05f1b -r 6998fc3b29a3 sys/arch/powerpc/booke/e500_mpsubr.S
--- a/sys/arch/powerpc/booke/e500_mpsubr.S Thu Dec 18 22:46:53 2014 +0000
+++ b/sys/arch/powerpc/booke/e500_mpsubr.S Fri Dec 19 03:46:23 2014 +0000
@@ -278,8 +278,8 @@
/*
* Now we can use our stack...
*/
- lwz %r0, CI_CURPCB(%r21)
- lwz %r1, PCB_SP(%r0)
+ lwz %r3, CI_CURPCB(%r21)
+ lwz %r1, PCB_SP(%r3)
li %r0, 12
stw %r0, HATCH_RUNNING(%r20) /* progress */
Home |
Main Index |
Thread Index |
Old Index