From owner-freebsd-questions Tue Jun 29 20:42: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns11.nokia.com (ns11.nokia.com [131.228.6.230]) by hub.freebsd.org (Postfix) with ESMTP id 8C7D714D0A for ; Tue, 29 Jun 1999 20:41:57 -0700 (PDT) (envelope-from hui.huang@ntc.nokia.com) Received: from loki.research.nokia.com (loki.research.nokia.com [172.21.33.76]) by ns11.nokia.com (8.8.8/8.6.9) with ESMTP id GAA05086 for ; Wed, 30 Jun 1999 06:41:56 +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 GAA02973 for ; Wed, 30 Jun 1999 06:41:56 +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 GAA12938 for ; Wed, 30 Jun 1999 06:39:42 +0300 (EET DST) Message-ID: <3779D7DA.1EDD6AC0@ntc.nokia.com> Date: Wed, 30 Jun 1999 11:39:54 +0300 From: Hui Huang X-Mailer: Mozilla 4.06 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG 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? Your help will be highly appreciated. Best regards, Hui HUANG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message