Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 21:36:18 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Kernel area libmish stuff
Message-ID:  <000b01c0a90a$e3287360$1200a8c0@gsicomp.on.ca>
References:  <Pine.BSF.4.10.10103091805250.62467-100000@mail.matriplex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, 9 Mar 2001, Matt Dillon wrote:
>
> >     You can't safely do FP instructions in the kernel.  I do not
> >     believe the FP context is saved/restored between processes in kernel
> >     mode, only from user mode.  The kernel saves and restores the fp
state
> >     in the few places it uses FP instructions (for memory copying).
> >     In anycase, I think there'd be a problem here.
>
> The last time I tried using FP in a device driver, it caused kernel
> panics (I hate it when that happens...)

Seeing as the original requestor wanted to use FP functions to do number
crunching in screen savers, would adding a few strategic FP save/restore
calls in the syscons driver be enough to allow FP calculations in screen
saver modules?

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c0a90a$e3287360$1200a8c0>