diff options
author | phk <phk@FreeBSD.org> | 1995-12-14 08:26:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-14 08:26:14 +0000 |
commit | 30e263dcabc35e19f5e060d92f09d212e9b56668 (patch) | |
tree | f560ee2d45153b36ff81c261ff5cf3ef767d0082 /sys/modules | |
parent | f39b6a05acd582271603783421cd37553f43150d (diff) | |
download | FreeBSD-src-30e263dcabc35e19f5e060d92f09d212e9b56668.zip FreeBSD-src-30e263dcabc35e19f5e060d92f09d212e9b56668.tar.gz |
Two x87 emulators as LKMs.
If somebody with the right HW would make the change to /etc/rc to use
this, we could rip MATH_EMULATE from GENERIC...
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/fpu/Makefile | 10 | ||||
-rw-r--r-- | sys/modules/gnufpu/Makefile | 17 |
3 files changed, 29 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 62eca4c..d5b608a 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,6 +1,6 @@ -# $Id: Makefile,v 1.16 1995/10/28 13:28:16 peter Exp $ +# $Id: Makefile,v 1.17 1995/10/28 17:46:03 peter Exp $ -SUBDIR= atapi cd9660 coff fdesc ibcs2 if_disc if_ppp if_sl if_tun \ +SUBDIR= atapi cd9660 coff fdesc fpu gnufpu ibcs2 if_disc if_ppp if_sl if_tun \ ipfw kernfs linux msdos nfs nullfs \ pcic portal procfs syscons umapfs union wcd # diff --git a/sys/modules/fpu/Makefile b/sys/modules/fpu/Makefile new file mode 100644 index 0000000..8e3e940 --- /dev/null +++ b/sys/modules/fpu/Makefile @@ -0,0 +1,10 @@ +# $Id: Makefile,v 1.4 1995/10/15 17:00:49 phk Exp $ + +.PATH: ${.CURDIR}/../../sys/i386/i386 +KMOD= fpu +SRCS= math_emulate.c +NOMAN= +PSEUDO_LKM= +CFLAGS+= -DLKM + +.include <bsd.kmod.mk> diff --git a/sys/modules/gnufpu/Makefile b/sys/modules/gnufpu/Makefile new file mode 100644 index 0000000..4d52fd0 --- /dev/null +++ b/sys/modules/gnufpu/Makefile @@ -0,0 +1,17 @@ +# $Id: Makefile,v 1.4 1995/10/15 17:00:49 phk Exp $ + +.PATH: ${.CURDIR}/../../sys/gnu/i386/fpemul +KMOD= gnufpu +SRCS= div_small.s errors.c fpu_arith.c fpu_aux.c fpu_entry.c fpu_etc.c \ + fpu_trig.c get_address.c load_store.c poly_2xm1.c poly_atan.c \ + poly_div.s poly_l2.c poly_mul64.s poly_sin.c poly_tan.c \ + polynomial.s reg_add_sub.c reg_compare.c reg_constant.c reg_div.s \ + reg_ld_str.c reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s +NOMAN= +PSEUDO_LKM= +CFLAGS+= -DLKM -I${.CURDIR}/../../sys/sys + +.s.o: + cpp -DLOCORE ${COPTS} $< | ${AS} ${ASFLAGS} -o $*.o + +.include <bsd.kmod.mk> |