diff options
Diffstat (limited to 'arch/score/include/asm/sigcontext.h')
-rw-r--r-- | arch/score/include/asm/sigcontext.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/score/include/asm/sigcontext.h b/arch/score/include/asm/sigcontext.h new file mode 100644 index 000000000000..5ffda39ddb90 --- /dev/null +++ b/arch/score/include/asm/sigcontext.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _ASM_SCORE_SIGCONTEXT_H | ||
2 | #define _ASM_SCORE_SIGCONTEXT_H | ||
3 | |||
4 | /* | ||
5 | * Keep this struct definition in sync with the sigcontext fragment | ||
6 | * in arch/score/tools/offset.c | ||
7 | */ | ||
8 | struct sigcontext { | ||
9 | unsigned int sc_regmask; | ||
10 | unsigned int sc_psr; | ||
11 | unsigned int sc_condition; | ||
12 | unsigned long sc_pc; | ||
13 | unsigned long sc_regs[32]; | ||
14 | unsigned int sc_ssflags; | ||
15 | unsigned int sc_mdceh; | ||
16 | unsigned int sc_mdcel; | ||
17 | unsigned int sc_ecr; | ||
18 | unsigned long sc_ema; | ||
19 | unsigned long sc_sigset[4]; | ||
20 | }; | ||
21 | |||
22 | #endif /* _ASM_SCORE_SIGCONTEXT_H */ | ||