Gracefull crash if FPU exception in kernel
This commit is contained in:
parent
495970a17c
commit
463be393c2
1 changed files with 3 additions and 2 deletions
|
@ -619,8 +619,9 @@ copr_return:
|
|||
jmp _switch_to_user
|
||||
|
||||
copr_not_available_in_kernel:
|
||||
movl $0, (%esp)
|
||||
call _panic
|
||||
pushl $0
|
||||
pushl $COPROC_NOT_VECTOR
|
||||
jmp exception_entry_nested
|
||||
|
||||
_double_fault:
|
||||
EXCEPTION_ERR_CODE(DOUBLE_FAULT_VECTOR)
|
||||
|
|
Loading…
Reference in a new issue