| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_M32R_SIGCONTEXT_H | 
 | 2 | #define _ASM_M32R_SIGCONTEXT_H | 
 | 3 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | struct 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. */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | 	unsigned long sc_acc0h; | 
 | 24 | 	unsigned long sc_acc0l; | 
| Hirokazu Takata | 8b03a63 | 2006-12-08 02:35:54 -0800 | [diff] [blame] | 25 | 	unsigned long sc_acc1h;	/* ISA_DSP_LEVEL2 only */ | 
 | 26 | 	unsigned long sc_acc1l;	/* ISA_DSP_LEVEL2 only */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ |