diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-28 16:07:10 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-28 16:11:21 +0100 |
commit | 2712e9c177254a75b5d01925ff18c1fce08616ba (patch) | |
tree | 0444f8220372c50f6a5bb15aa65e540a6b4ca467 /i386/include/mach | |
parent | f5f8862a7a39d920325cae53e0f07a4a0d0d7714 (diff) |
Add native FPU error support
* i386/i386/fpu.c (init_fpu): Enable CR0_NE when processor is at
least i486.
(fpintr): Move code handling the FPU state to...
(fphandleerr): New function.
(fpexterrflt): Rename into...
(fpastintr): New function.
(fpexterrflt): Reintroduce function, calls fphandleerr then
raises exception.
* i386/i386/fpu.h (fpastintr): Add prototype.
* i386/i386/trap.c (i386_astintr): Call fpastintr instead of
fpexterrflt.
Diffstat (limited to 'i386/include/mach')
0 files changed, 0 insertions, 0 deletions