diff options
author | Richard Henderson <rth@twiddle.net> | 2011-05-01 20:17:07 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2011-05-01 20:17:07 -0700 |
commit | 28a139998d9c6f123168c0edd5117ab00c0a6288 (patch) | |
tree | 1522eae68e6e59a351d0becfe23b48e837f41f1b | |
parent | 784fbf5895e0d0ca8086628a660b0f9c57fa4e80 (diff) | |
download | qemu-palcode-28a139998d9c6f123168c0edd5117ab00c0a6288.zip qemu-palcode-28a139998d9c6f123168c0edd5117ab00c0a6288.tar.gz qemu-palcode-28a139998d9c6f123168c0edd5117ab00c0a6288.tar.bz2 |
Fix SMP stack initialization.
-rw-r--r-- | pal.S | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,8 @@ __start: // Initialize Stack. SYS_WHAMI a0 lda t0, STACK_SIZE - mull t0, a0, t0 + addq a0, 1, t1 + mull t0, t1, t0 ldah t1, stack($gp) !gprelhigh lda t1, stack(t1) !gprellow addq t0, t1, $sp |