From owner-freebsd-questions Wed Jun 30 20:40:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id CABB114CBE for ; Wed, 30 Jun 1999 20:40:26 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id XAA15969; Wed, 30 Jun 1999 23:44:43 -0400 (EDT) Date: Wed, 30 Jun 1999 22:44:42 -0500 (EST) From: Alfred Perlstein To: Hui Huang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Could I do floating point calculation in the kernel program? In-Reply-To: <377B21AB.D11FE5C3@ntc.nokia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 1 Jul 1999, Hui Huang wrote: > I want to add some floating point calculation functions in FreeBSD > kernel program. > I compiled the new kernel and installed it in a machine. However, the > new kernel could not be booted up with the error information "Fatal trap > > 22: FPU device not available while in kernel mode". > Does anybody know how to enable the FPU device in the kernel mode or > other methods to support floating point calculation in the kernel mode? > Thanks for any suggestions. Do you really need the precision of floating point? Perhaps you can used fixed point math? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message