1 /* $Id: uctx.h,v 1.1 1997/06/18 16:51:58 davem Exp $
2 * uctx.h: Sparc64 {set,get}context() register state layouts.
4 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
7 #ifndef __SPARC64_UCTX_H
8 #define __SPARC64_UCTX_H
31 typedef unsigned long mc_greg_t
;
32 typedef mc_greg_t mc_gregset_t
[MC_NGREG
];
36 unsigned long *mcfq_addr
;
37 unsigned int mcfq_insn
;
42 unsigned int sregs
[32];
43 unsigned long dregs
[32];
44 long double qregs
[16];
46 unsigned long mcfpu_fsr
;
47 unsigned long mcfpu_fprs
;
48 unsigned long mcfpu_gsr
;
49 struct mc_fq
*mcfpu_fq
;
50 unsigned char mcfpu_qcnt
;
51 unsigned char mcfpu_qentsz
;
52 unsigned char mcfpu_enab
;
54 typedef struct mc_fpu mc_fpu_t
;
57 mc_gregset_t mc_gregs
;
64 struct ucontext
*uc_link
;
65 unsigned long uc_flags
;
67 mcontext_t uc_mcontext
;
69 typedef struct ucontext ucontext_t
;
71 #endif /* __SPARC64_UCTX_H */