Fix panics in potentially all x86bios calls on i386 since r332489.
A call to npxsave() in the exception trampolines was not relocated. This call to a garbage address usually paniced when made, but it is only made when the thread has used an FPU recently, and this is not the usual case. PR: 228755 Reviewed by: kib
This commit is contained in:
parent
67580198b7
commit
09e3c9a4ec
@ -67,7 +67,8 @@ ENTRY(vm86_bioscall)
|
||||
pushl %edx
|
||||
movl TD_PCB(%ecx),%ecx
|
||||
pushl PCB_SAVEFPU(%ecx)
|
||||
call npxsave
|
||||
movl $npxsave,%eax
|
||||
call *%eax
|
||||
addl $4,%esp
|
||||
popl %edx /* recover our pcb */
|
||||
1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user