1 /* $Id: reg.h,v 1.6 1999/09/06 08:22:10 jj Exp $
2 * linux/asm-sparc64/reg.h
3 * Layout of the registers as expected by gdb on the Sparc
4 * we should replace the user.h definitions with those in
5 * this file, we don't even use the other
8 * The names of the structures, constants and aliases in this file
9 * have the same names as the sunos ones, some programs rely on these
10 * names (gdb for example).
14 #ifndef __SPARC64_REG_H
15 #define __SPARC64_REG_H
34 unsigned long r_tstate;
41 #define FPU_REGS_TYPE unsigned int
42 #define FPU_FSR_TYPE unsigned long
45 unsigned long fpu_fr[32];
46 unsigned long Fpu_fsr;
50 struct fp_status f_fpstatus;
53 #define fpu_regs f_fpstatus.fpu_fr
54 #define fpu_fsr f_fpstatus.Fpu_fsr
56 #endif /* __SPARC64_REG_H */