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