1#ifndef _ASM_M32R_SIGCONTEXT_H 2#define _ASM_M32R_SIGCONTEXT_H 3 4struct sigcontext { 5 /* CPU registers */ 6 /* Saved main processor registers. */ 7 unsigned long sc_r4; 8 unsigned long sc_r5; 9 unsigned long sc_r6; 10 struct pt_regs *sc_pt_regs; 11 unsigned long sc_r0; 12 unsigned long sc_r1; 13 unsigned long sc_r2; 14 unsigned long sc_r3; 15 unsigned long sc_r7; 16 unsigned long sc_r8; 17 unsigned long sc_r9; 18 unsigned long sc_r10; 19 unsigned long sc_r11; 20 unsigned long sc_r12; 21 22 /* Saved main processor status and miscellaneous context registers. */ 23 unsigned long sc_acc0h; 24 unsigned long sc_acc0l; 25 unsigned long sc_acc1h; /* ISA_DSP_LEVEL2 only */ 26 unsigned long sc_acc1l; /* ISA_DSP_LEVEL2 only */ 27 unsigned long sc_psw; 28 unsigned long sc_bpc; /* saved PC for TRAP syscalls */ 29 unsigned long sc_bbpsw; 30 unsigned long sc_bbpc; 31 unsigned long sc_spu; /* saved user stack */ 32 unsigned long sc_fp; 33 unsigned long sc_lr; /* saved PC for JL syscalls */ 34 unsigned long sc_spi; /* saved kernel stack */ 35 36 unsigned long oldmask; 37}; 38 39#endif /* _ASM_M32R_SIGCONTEXT_H */ 40