1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1996, 1997, 1999 by Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
8 */
9 #ifndef _ASM_SIGCONTEXT_H
10 #define _ASM_SIGCONTEXT_H
11
12 /*
13 * Keep this struct definition in sync with the sigcontext fragment
14 * in arch/mips/tools/offset.c
15 */
16 struct sigcontext {
17 unsigned long long sc_regs[32];
18 unsigned long long sc_fpregs[32];
19 unsigned long long sc_mdhi;
20 unsigned long long sc_mdlo;
21 unsigned long long sc_pc;
22 unsigned int sc_status;
23 unsigned int sc_fpc_csr;
24 unsigned int sc_fpc_eir;
25 unsigned int sc_used_math;
26 unsigned int sc_cause;
27 unsigned int sc_badvaddr;
28 };
29
30 struct sigcontext32 {
31 u32 sc_regmask; /* Unused */
32 u32 sc_status;
33 u64 sc_pc;
34 u64 sc_regs[32];
35 u64 sc_fpregs[32];
36 u32 sc_ownedfp; /* Unused */
37 u32 sc_fpc_csr;
38 u32 sc_fpc_eir; /* Unused */
39 u32 sc_used_math;
40 u32 sc_ssflags; /* Unused */
41 u64 sc_mdhi;
42 u64 sc_mdlo;
43
44 u32 sc_cause; /* Unused */
45 u32 sc_badvaddr; /* Unused */
46
47 u32 sc_sigset[4]; /* kernel's sigset_t */
48 };
49
50 #endif /* _ASM_SIGCONTEXT_H */
Cache object: d2e25f6953f40a4669387f78ddb6fe8e
|