From 30e263dcabc35e19f5e060d92f09d212e9b56668 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 14 Dec 1995 08:26:14 +0000 Subject: 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... --- lkm/Makefile | 4 ++-- lkm/fpu/Makefile | 10 ++++++++++ lkm/gnufpu/Makefile | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 lkm/fpu/Makefile create mode 100644 lkm/gnufpu/Makefile (limited to 'lkm') diff --git a/lkm/Makefile b/lkm/Makefile index 62eca4c..d5b608a 100644 --- a/lkm/Makefile +++ b/lkm/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/lkm/fpu/Makefile b/lkm/fpu/Makefile new file mode 100644 index 0000000..8e3e940 --- /dev/null +++ b/lkm/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 diff --git a/lkm/gnufpu/Makefile b/lkm/gnufpu/Makefile new file mode 100644 index 0000000..4d52fd0 --- /dev/null +++ b/lkm/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 -- cgit v1.1