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
6 * Copyright (C) 1996, 1997, 2000 by Ralf Baechle
8 #ifndef _ASM_SIGCONTEXT_H
9 #define _ASM_SIGCONTEXT_H
12 * Keep this struct definition in sync with the sigcontext fragment
13 * in arch/mips/tools/offset.c
16 unsigned int sc_regmask; /* Unused */
17 unsigned int sc_status;
18 unsigned long long sc_pc;
19 unsigned long long sc_regs[32];
20 unsigned long long sc_fpregs[32];
21 unsigned int sc_ownedfp;
22 unsigned int sc_fpc_csr;
23 unsigned int sc_fpc_eir; /* Unused */
24 unsigned int sc_used_math;
25 unsigned int sc_ssflags; /* Unused */
26 unsigned long long sc_mdhi;
27 unsigned long long sc_mdlo;
29 unsigned int sc_cause; /* Unused */
30 unsigned int sc_badvaddr; /* Unused */
32 unsigned long sc_sigset[4]; /* kernel's sigset_t */
35 #endif /* _ASM_SIGCONTEXT_H */