Chen Liqin | 6bc9a39 | 2009-06-12 22:01:00 +0800 | [diff] [blame] | 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 */ |