summaryrefslogtreecommitdiff
path: root/kern/mach_factor.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-11-28 16:07:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-11-28 16:11:21 +0100
commit2712e9c177254a75b5d01925ff18c1fce08616ba (patch)
tree0444f8220372c50f6a5bb15aa65e540a6b4ca467 /kern/mach_factor.h
parentf5f8862a7a39d920325cae53e0f07a4a0d0d7714 (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 'kern/mach_factor.h')
0 files changed, 0 insertions, 0 deletions