Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RFC: adding __jbslot_t to <machine/ansi.h>



On Tue, Jul 28, 2009 at 08:46:23PM -0700, Matt Thomas wrote:
> While looking at adding MIPS N32 ABI support to NetBSD, one of the  
> impediments I've stumbled across is the use of long which defining the  
> various jmp_buf variants.  In N32, long is not large enough to contain a 
> register value since registers are 64bits long.
>
> To fix this, I want to add __jbslot_t to <machine/ansi.h> which will be 
> typedef'ed to long except which N32 is used on MIPS.
>
> I'll then change <setjmp.h> to use jbslot_t instead of long.

Don't we already have a register_t for this kind of thing?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index