Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 12:40:41 +1030
From:      Mike Smith <mike@smith.net.au>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        Mike Smith <mike@smith.net.au>, ETX-B-SL Martti Kuparinen <erakupa@kk.etx.ericsson.se>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: panic: npxintr from nowhere 
Message-ID:  <199712120210.MAA00359@word.smith.net.au>
In-Reply-To: Your message of "Thu, 11 Dec 1997 17:59:38 -0800." <19971211175938.41550@hydrogen.nike.efn.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Hmm, interesting.  I would guess that this means that you shouldn't run 
> > floating point code in the kernel.
> 
> :)  yeh...  well, I was going to improve the fade screen saver so that
> it wouldn't turn everything to a dull grey...

Fixed point.  Faster too.

> also, if I remeber correctly, there are only two places in the kernel
> that use floating point... one of them is in the Bt848 driver...

I just looked; where?

> > It probably fails because the FPU initialisation is lazy, and if you 
> > haven't initialised it before you use it, you'll die screaming.
> 
> is there a routine for the kernel code to use to initalize it?

You'd have to ask Bruce about that.

mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712120210.MAA00359>