mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-21 15:45:02 +00:00
Don't assume the fp state is at offset 0 in the pcb.
This commit is contained in:
parent
1db34e9d43
commit
02798ad7e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113019
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user