aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/sigcontext.h')
-rw-r--r--include/asm-sh/sigcontext.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-sh/sigcontext.h b/include/asm-sh/sigcontext.h
index eb8effba2e80..8583143fa28f 100644
--- a/include/asm-sh/sigcontext.h
+++ b/include/asm-sh/sigcontext.h
@@ -4,6 +4,18 @@
4struct sigcontext { 4struct sigcontext {
5 unsigned long oldmask; 5 unsigned long oldmask;
6 6
7#if defined(__SH5__) || defined(CONFIG_CPU_SH5)
8 /* CPU registers */
9 unsigned long long sc_regs[63];
10 unsigned long long sc_tregs[8];
11 unsigned long long sc_pc;
12 unsigned long long sc_sr;
13
14 /* FPU registers */
15 unsigned long long sc_fpregs[32];
16 unsigned int sc_fpscr;
17 unsigned int sc_fpvalid;
18#else
7 /* CPU registers */ 19 /* CPU registers */
8 unsigned long sc_regs[16]; 20 unsigned long sc_regs[16];
9 unsigned long sc_pc; 21 unsigned long sc_pc;
@@ -21,6 +33,7 @@ struct sigcontext {
21 unsigned int sc_fpul; 33 unsigned int sc_fpul;
22 unsigned int sc_ownedfp; 34 unsigned int sc_ownedfp;
23#endif 35#endif
36#endif
24}; 37};
25 38
26#endif /* __ASM_SH_SIGCONTEXT_H */ 39#endif /* __ASM_SH_SIGCONTEXT_H */