Subject: Re: set/getcontext problems should be fixed
To: None <port-mips@netbsd.org>
From: Toru Nishimura <locore32@gaea.ocn.ne.jp>
List: port-mips
Date: 07/03/2004 21:12:11
Simon Burge simonb@wasabisystems.com reports;

> With some debugging help help from Christos Zoulas and Klaus Klein, I
> think I've fixed the recent csh/panic/cache problems on MIPS platforms.
>
> In a nutshell, the mcontext_t structure was too big because it had both
> the 32-bit and (currently unused) 64-bit FP register sets, and some
> other code assumed that the FP register set was the same size as the
> area for the FP registers in the PCB.  

For longer run, isn't it better to have FP register storage out of PCB?
This would make possible to have a) process to use 32 64bit FP
registers, b) process to use 16 paired 32bit FP registers, c) process
to use no FP math, without sacrificing USPACE.

Toru Nishimura/ALKYL Technology