Skip to content

Commit

Permalink
MFC: r217587
Browse files Browse the repository at this point in the history
Fix yet another fallout from r208833.  VM86 BIOS call may cause page fault
when FPU is in use.

Approved by:	re (kib)
  • Loading branch information
juikim committed Jan 28, 2011
1 parent 678bf94 commit f713944
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sys/i386/i386/vm86bios.s
Expand Up @@ -73,10 +73,9 @@ ENTRY(vm86_bioscall)
je 1f /* no curproc/npxproc */
pushl %edx
movl TD_PCB(%ecx),%ecx
addl $PCB_SAVEFPU,%ecx
pushl %ecx
pushl PCB_SAVEFPU(%ecx)
call npxsave
popl %ecx
addl $4,%esp
popl %edx /* recover our pcb */
1:
popfl
Expand Down

0 comments on commit f713944

Please sign in to comment.