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, 2000 by Ralf Baechle 7 */ 8#ifndef _ASM_SIGCONTEXT_H 9#define _ASM_SIGCONTEXT_H 10 11/* 12 * Keep this struct definition in sync with the sigcontext fragment 13 * in arch/mips/tools/offset.c 14 */ 15struct sigcontext { 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; /* Unused */ 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; 28 29 unsigned int sc_cause; /* Unused */ 30 unsigned int sc_badvaddr; /* Unused */ 31 32 unsigned long sc_sigset[4]; /* kernel's sigset_t */ 33}; 34 35#endif /* _ASM_SIGCONTEXT_H */ 36