1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uctx.h: Sparc64 {set,get}context() register state layouts.
5 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
8 #ifndef __SPARC64_UCTX_H
9 #define __SPARC64_UCTX_H
32 typedef unsigned long mc_greg_t
;
33 typedef mc_greg_t mc_gregset_t
[MC_NGREG
];
37 unsigned long *mcfq_addr
;
38 unsigned int mcfq_insn
;
43 unsigned int sregs
[32];
44 unsigned long dregs
[32];
45 long double qregs
[16];
47 unsigned long mcfpu_fsr
;
48 unsigned long mcfpu_fprs
;
49 unsigned long mcfpu_gsr
;
50 struct mc_fq
*mcfpu_fq
;
51 unsigned char mcfpu_qcnt
;
52 unsigned char mcfpu_qentsz
;
53 unsigned char mcfpu_enab
;
55 typedef struct mc_fpu mc_fpu_t
;
58 mc_gregset_t mc_gregs
;
65 struct ucontext
*uc_link
;
66 unsigned long uc_flags
;
68 mcontext_t uc_mcontext
;
70 typedef struct ucontext ucontext_t
;
72 #endif /* __SPARC64_UCTX_H */