Subject: Re: N32 support (patch proposal)
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: port-mips
Date: 01/02/2002 20:36:12
>  > This patch is for launching N32 binaries. Is it reasonable to commit it
>  > to the tree?
> The patch isn't quite correct .. N32 requires that the trap stubs
> save/restore all 64 bits of each GPR, right?

This patch does not bring N32 support, this is just about launching
correctly N32 binaries. Next step is handling correctly trap frames for
64 bit large arguments.

The solution is probably to have 64 bit slots in the trap frame for both
o32 and n32 binaries. But it's the next step.

This patch gives some results however: instead of crashing with a
SIGILL, N32 binaries are now able to do a few dozen of sucessful system
calls before failing on a mmap().

-- 
Emmanuel Dreyfus
UNIX *is* user friendly. It is just a bit selective about his friends
manu@netbsd.org