From owner-freebsd-arch Thu Jan 10 11:17: 2 2002 Delivered-To: freebsd-arch@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 36C0637B41C for ; Thu, 10 Jan 2002 11:16:58 -0800 (PST) Received: from pool0030.cvx22-bradley.dialup.earthlink.net ([209.179.198.30] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16Okgm-0000Li-00; Thu, 10 Jan 2002 11:16:37 -0800 Message-ID: <3C3DE891.99C85D24@mindspring.com> Date: Thu, 10 Jan 2002 11:16:33 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Eischen Cc: Peter Wemm , Nate Williams , Daniel Eischen , Archie Cobbs , Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: Request for review: getcontext, setcontext, etc References: <20020110091018.0788A38CC@overcee.netplex.com.au> <3C3D8C47.D3B11B87@vigrid.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Eischen wrote: > I think we determined that the only time we care about the FP state is > when sending a signal. In that case, the kernel should know how to > get the FPU state and copy it out to the context. If there are > different FPU formats, there is a flags word that can be set accordingly > and the userland setcontext() can be made to account for different > floating point formats. > > Currently the kernel doesn't save the FPU state in the sigcontext, > but it should. Wouldn't this solve the problem? What problem? Using FP code in signal handlers isn't legal. Why does everyone want to do Bezier curves in signal handlers? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message