Subject: Re: missing pubassym.h macros
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-mips
Date: 01/29/1999 16:45:02
On Fri, 29 Jan 1999 13:30:46 -0800
Jonathan Stone <jonathan@DSG.Stanford.EDU> wrote:
> A (complete?) list of symbols missing from asm.h and setjmp.h is:
> _JBLEN /* should be 87 for 32-bit? */
...should go in <machine/setjmp.h>
> STAND_FRAME_SIZE /* "default" stackframe size */
> STAND_RA_OFFSET /* offset in std stackframe of return address */
...should go in <machine/asm.h>
> _OFFSETOF_SC_MASK /* offset of sc_mask in sigcontext */
> _OFFSETOF_SC_REGS /* offset of sc_regs in sigcontext */
> _OFFSETOF_SC_FPREGS /* offset of sc_fpregs in sigcontext */
...should go in <machine/signal.h>, and the C stuff conditionalized on:
#ifndef __ASSEMBLER__
...
#endif
or something.
> Should all these go in <mips/include/asm.h> with appropriate
> 32 vs 64-bit values?
...and then conditionalized on 32 vs 64, sure.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>