From owner-freebsd-hackers Tue May 28 07:06:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA01921 for hackers-outgoing; Tue, 28 May 1996 07:06:52 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA01913 for ; Tue, 28 May 1996 07:06:50 -0700 (PDT) Received: from gatekeeper.ctron.com (ctron.com [134.141.197.25]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id GAA04830 for ; Tue, 28 May 1996 06:37:50 -0700 Received: (from news@localhost) by gatekeeper.ctron.com (8.6.12/8.6.9) id JAA02738 for ; Tue, 28 May 1996 09:37:39 -0400 Received: from stealth.ctron.com(134.141.5.107) by gatekeeper via smap (V1.3mjr) id sma002698; Tue May 28 09:36:36 1996 Received: from thoth.ctron.com by stealth.ctron.com (4.1/SMI-4.1) id AA03801; Tue, 28 May 96 09:28:16 EDT Received: from thoth (localhost [127.0.0.1]) by thoth.ctron.com (8.6.12/8.6.12) with SMTP id JAA17620 for ; Tue, 28 May 1996 09:37:04 -0400 Message-Id: <31AB017F.1EE1@ctron.com> Date: Tue, 28 May 1996 09:37:03 -0400 From: Alexander Seth Jones Organization: Cabletron Systems, Inc. X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4m) Mime-Version: 1.0 To: hackers@freefall.freebsd.org Subject: using floating point arithmetic inside a device driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, I'm writing a device driver which needs to do some floating point calculations, but when the floating point code executes the kernel traps with number 22 "FPU device not available". I'm have an AMD 486DX4-120. I'm not concerned with portability at this time (ie running on SX's). Would someone care to explain what's going on? Thanks. Alex Jones