diff options
author | kib <kib@FreeBSD.org> | 2010-06-23 11:12:58 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-06-23 11:12:58 +0000 |
commit | 6375d4e4dbfd5685b41e1a8c5bab47946781e84d (patch) | |
tree | 835f0e5151b469ebe9a3379bc0ce7594ef78b5f6 /sys/i386/include/npx.h | |
parent | b698c6254337111160752bcb9403f907d8001225 (diff) | |
download | FreeBSD-src-6375d4e4dbfd5685b41e1a8c5bab47946781e84d.zip FreeBSD-src-6375d4e4dbfd5685b41e1a8c5bab47946781e84d.tar.gz |
Remove the support for int13 FPU exception reporting on i386. It is
believed that all 486-class CPUs FreeBSD is capable to run on, either
have no FPU and cannot use external coprocessor, or have FPU on the
package and can use #MF.
Reviewed by: bde
Tested by: pho (previous version)
Diffstat (limited to 'sys/i386/include/npx.h')
-rw-r--r-- | sys/i386/include/npx.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h index 59615fa..71073a6 100644 --- a/sys/i386/include/npx.h +++ b/sys/i386/include/npx.h @@ -138,11 +138,6 @@ union savefpu { #ifdef _KERNEL -#define IO_NPX 0x0F0 /* Numeric Coprocessor */ -#define IO_NPXSIZE 16 /* 80387/80487 NPX registers */ - -#define IRQ_NPX 13 - struct fpu_kern_ctx { union savefpu hwstate; union savefpu *prev; @@ -152,9 +147,6 @@ struct fpu_kern_ctx { #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0) -/* full reset on some systems, NOP on others */ -#define npx_full_reset() outb(IO_NPX + 1, 0) - int npxdna(void); void npxdrop(void); void npxexit(struct thread *td); |