Fix another fallout from r208833. savectx() is used to save CPU context
for crash dump (dumppcb) and kdb (stoppcbs). For both cases, there cannot have a valid pointer in pcb_save. This should restore the previous behaviour.
This commit is contained in:
parent
39381048f0
commit
9727ca6a77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210615
@ -347,7 +347,7 @@ ENTRY(savectx)
|
||||
lmsw %ax
|
||||
|
||||
movq $PCB_SAVEFPU_SIZE,%rdx /* arg 3 */
|
||||
movq PCB_SAVEFPU(%rcx),%rsi /* arg 2 */
|
||||
leaq PCB_USERFPU(%rcx),%rsi /* arg 2 */
|
||||
/* arg 1 (%rdi) already loaded */
|
||||
call bcopy
|
||||
1:
|
||||
|
Loading…
Reference in New Issue
Block a user