1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _ASM_SCORE_SIGCONTEXT_H 3 #define _ASM_SCORE_SIGCONTEXT_H 4 5 /* 6 * Keep this struct definition in sync with the sigcontext fragment 7 * in arch/score/tools/offset.c 8 */ 9 struct sigcontext { 10 unsigned int sc_regmask; 11 unsigned int sc_psr; 12 unsigned int sc_condition; 13 unsigned long sc_pc; 14 unsigned long sc_regs[32]; 15 unsigned int sc_ssflags; 16 unsigned int sc_mdceh; 17 unsigned int sc_mdcel; 18 unsigned int sc_ecr; 19 unsigned long sc_ema; 20 unsigned long sc_sigset[4]; 21 }; 22 23 #endif /* _ASM_SCORE_SIGCONTEXT_H */ 24