Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 22:44:42 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Hui Huang <hui.huang@ntc.nokia.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Could I do floating point calculation in the kernel program?
Message-ID:  <Pine.BSF.3.96.990630224312.14320j-100000@cygnus.rush.net>
In-Reply-To: <377B21AB.D11FE5C3@ntc.nokia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990630224312.14320j-100000>