2017-11-01 14:08:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2009-06-12 14:01:00 +00:00
|
|
|
#ifndef _ASM_SCORE_SIGCONTEXT_H
|
|
|
|
#define _ASM_SCORE_SIGCONTEXT_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Keep this struct definition in sync with the sigcontext fragment
|
|
|
|
* in arch/score/tools/offset.c
|
|
|
|
*/
|
|
|
|
struct sigcontext {
|
|
|
|
unsigned int sc_regmask;
|
|
|
|
unsigned int sc_psr;
|
|
|
|
unsigned int sc_condition;
|
|
|
|
unsigned long sc_pc;
|
|
|
|
unsigned long sc_regs[32];
|
|
|
|
unsigned int sc_ssflags;
|
|
|
|
unsigned int sc_mdceh;
|
|
|
|
unsigned int sc_mdcel;
|
|
|
|
unsigned int sc_ecr;
|
|
|
|
unsigned long sc_ema;
|
|
|
|
unsigned long sc_sigset[4];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _ASM_SCORE_SIGCONTEXT_H */
|