From owner-freebsd-questions Wed Jun 30 20: 9:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns10.nokia.com (ns10.nokia.com [131.228.6.229]) by hub.freebsd.org (Postfix) with ESMTP id 0238C14E60 for ; Wed, 30 Jun 1999 20:09:13 -0700 (PDT) (envelope-from hui.huang@ntc.nokia.com) Received: from loki.research.nokia.com (loki.research.nokia.com [172.21.33.76]) by ns10.nokia.com (8.8.8/8.6.9) with ESMTP id GAA20024 for ; Thu, 1 Jul 1999 06:09:11 +0300 (EET DST) Received: from pupu.research.nokia.com (pupu.research.nokia.com [172.21.33.84]) by loki.research.nokia.com (8.9.3/8.9.3) with ESMTP id GAA22410; Thu, 1 Jul 1999 06:09:11 +0300 (EETDST) Received: from ntc.nokia.com (chbeidhcp03173.apac.nokia.com [172.28.31.73]) by pupu.research.nokia.com (8.9.1a/8.9.1) with ESMTP id GAA19732; Thu, 1 Jul 1999 06:06:57 +0300 (EET DST) Message-ID: <377B21AB.D11FE5C3@ntc.nokia.com> Date: Thu, 01 Jul 1999 11:07:08 +0300 From: Hui Huang X-Mailer: Mozilla 4.06 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, hui.huang@ntc.nokia.com Subject: Could I do floating point calculation in the kernel program? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Best regards, Hui HUANG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message