1 #ifndef _ASM_M32R_SIGCONTEXT_H
2 #define _ASM_M32R_SIGCONTEXT_H
6 #include <linux/config.h>
10 /* Saved main processor registers. */
14 struct pt_regs
*sc_pt_regs
;
26 /* Saved main processor status and miscellaneous context registers. */
27 #if defined(CONFIG_ISA_M32R2) && defined(CONFIG_ISA_DSP_LEVEL2)
28 unsigned long sc_acc0h
;
29 unsigned long sc_acc0l
;
30 unsigned long sc_acc1h
;
31 unsigned long sc_acc1l
;
32 #elif defined(CONFIG_ISA_M32R2) || defined(CONFIG_ISA_M32R)
33 unsigned long sc_acch
;
34 unsigned long sc_accl
;
35 unsigned long sc_dummy_acc1h
;
36 unsigned long sc_dummy_acc1l
;
38 #error unknown isa configuration
41 unsigned long sc_bpc
; /* saved PC for TRAP syscalls */
42 unsigned long sc_bbpsw
;
43 unsigned long sc_bbpc
;
44 unsigned long sc_spu
; /* saved user stack */
46 unsigned long sc_lr
; /* saved PC for JL syscalls */
47 unsigned long sc_spi
; /* saved kernel stack */
49 unsigned long oldmask
;
52 #endif /* _ASM_M32R_SIGCONTEXT_H */