Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[wrt350n-kernel.git] / include / asm-sparc64 / reg.h
blobfc68f90181b399aa0972d621d596e8f164d6fdc7
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
6 * -miguel
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
17 struct regs {
18 unsigned long r_g1;
19 unsigned long r_g2;
20 unsigned long r_g3;
21 unsigned long r_g4;
22 unsigned long r_g5;
23 unsigned long r_g6;
24 unsigned long r_g7;
25 unsigned long r_o0;
26 unsigned long r_o1;
27 unsigned long r_o2;
28 unsigned long r_o3;
29 unsigned long r_o4;
30 unsigned long r_o5;
31 unsigned long r_o6;
32 unsigned long r_o7;
33 unsigned long __pad;
34 unsigned long r_tstate;
35 unsigned long r_tpc;
36 unsigned long r_tnpc;
37 unsigned int r_y;
38 unsigned int r_fprs;
41 #define FPU_REGS_TYPE unsigned int
42 #define FPU_FSR_TYPE unsigned long
44 struct fp_status {
45 unsigned long fpu_fr[32];
46 unsigned long Fpu_fsr;
49 struct fpu {
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 */