commit | 331e6b4c75dd8095a29ed2991e32a862dc40074b | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Mon Apr 25 14:09:29 2011 -0700 |
committer | Richard Henderson <rth@twiddle.net> | Mon Apr 25 14:09:29 2011 -0700 |
tree | 901c80a3167610911a0c85b60c96aa30c486a300 | |
parent | 27d5d3c45361242df244c9fe9568c1ea3faec87e [diff] |
Fix error in SWPCTX code.
diff --git a/pal.S b/pal.S index c3f100d..d604666 100644 --- a/pal.S +++ b/pal.S
@@ -1003,8 +1003,8 @@ .text 1 CallPal_SwpCtx_Cont: - ldq_p $sp, PCB_Q_KSP(v0) // Install new stack pointers - ldq_p t10, PCB_Q_USP(v0) + ldq_p $sp, PCB_Q_KSP(a0) // Install new stack pointers + ldq_p t10, PCB_Q_USP(a0) mtpr t10, qemu_usp mfpr t10, qemu_unique // Save old unique value