Don't assume the fp state is at offset 0 in the pcb.

This commit is contained in:
Jake Burkholder 2003-04-03 16:04:18 +00:00
parent 1db34e9d43
commit 02798ad7e0

View File

@ -271,7 +271,7 @@ ENTRY(savectx)
save %sp, -CCFSZ, %sp
flushw
call savefpctx
mov %i0, %o0
add %i0, PCB_UFP, %o0
stx %fp, [%i0 + PCB_SP]
stx %i7, [%i0 + PCB_PC]
ret