| * linux/include/asm/reg.h |
| * Layout of the registers as expected by gdb on the Sparc |
| * we should replace the user.h definitions with those in |
| * this file, we don't even use the other |
| * The names of the structures, constants and aliases in this file |
| * have the same names as the sunos ones, some programs rely on these |
| * names (gdb for example). |
| #define FPU_REGS_TYPE unsigned int |
| #define FPU_FSR_TYPE unsigned |
| FPU_REGS_TYPE Fpu_regs[32]; |
| #define fpu_regs f_fpstatus.fpu_fr.Fpu_regs |
| #define fpu_dregs f_fpstatus.fpu_fr.Fpu_dregs |
| #define fpu_fsr f_fpstatus.Fpu_fsr |
| #define fpu_flags f_fpstatus.Fpu_flags |
| #define fpu_extra f_fpstatus.Fpu_extra |
| #define fpu_q f_fpstatus.Fpu_q |
| #define fpu_qcnt f_fpstatus.Fpu_qcnt |
| struct fp_status f_fpstatus; |
| #endif /* __SPARC_REG_H */ |