Subject: Re: N32 patch proposal 2.0
To: Toru Nishimura <locore32@gaea.ocn.ne.jp>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: port-mips
Date: 01/06/2002 09:00:29
Toru Nishimura <locore32@gaea.ocn.ne.jp> wrote:
> Did you think of FP seriously?  

Not yet. Running in 'incremental' mode ;o)

> Please do not any N32 related code
> before your N32-capable kernel can reliably run IRIX N32 applications.

In fact, it's already able to run most system calls in N32 binaires.
Only system calls with more than 4 argument or with 64 bit arguments
(eg: mmap) fail.

For instance, I'm able to run IRIX's N32 /bin/sh. Not for very long,
because it crashes on wait(), but it's better than the SIGILL I had
before on program startup. Dynamically linked programs fail because
mmap() fails.

If setregs_n32 is such a problem, I'll commit it in sys/compat/irix, and
someone else will move it later the day he/she will want it in
sys/arch/mips.

-- 
Emmanuel Dreyfus
manu@netbsd.org