[SPARC64]: Move signal compat bits to new header file.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-m32r / sigcontext.h
blob73025c0c41a1ff94a5ff5ac5e979a566011c7aad
1 #ifndef _ASM_M32R_SIGCONTEXT_H
2 #define _ASM_M32R_SIGCONTEXT_H
4 /* $Id$ */
7 struct sigcontext {
8 /* CPU registers */
9 /* Saved main processor registers. */
10 unsigned long sc_r4;
11 unsigned long sc_r5;
12 unsigned long sc_r6;
13 struct pt_regs *sc_pt_regs;
14 unsigned long sc_r0;
15 unsigned long sc_r1;
16 unsigned long sc_r2;
17 unsigned long sc_r3;
18 unsigned long sc_r7;
19 unsigned long sc_r8;
20 unsigned long sc_r9;
21 unsigned long sc_r10;
22 unsigned long sc_r11;
23 unsigned long sc_r12;
25 /* Saved main processor status and miscellaneous context registers. */
26 #if defined(CONFIG_ISA_M32R2) && defined(CONFIG_ISA_DSP_LEVEL2)
27 unsigned long sc_acc0h;
28 unsigned long sc_acc0l;
29 unsigned long sc_acc1h;
30 unsigned long sc_acc1l;
31 #elif defined(CONFIG_ISA_M32R2) || defined(CONFIG_ISA_M32R)
32 unsigned long sc_acch;
33 unsigned long sc_accl;
34 unsigned long sc_dummy_acc1h;
35 unsigned long sc_dummy_acc1l;
36 #else
37 #error unknown isa configuration
38 #endif
39 unsigned long sc_psw;
40 unsigned long sc_bpc; /* saved PC for TRAP syscalls */
41 unsigned long sc_bbpsw;
42 unsigned long sc_bbpc;
43 unsigned long sc_spu; /* saved user stack */
44 unsigned long sc_fp;
45 unsigned long sc_lr; /* saved PC for JL syscalls */
46 unsigned long sc_spi; /* saved kernel stack */
48 unsigned long oldmask;
51 #endif /* _ASM_M32R_SIGCONTEXT_H */