patch-2.3.99-pre4 linux/include/asm-sh/sigcontext.h

Next file: linux/include/asm-sh/string.h
Previous file: linux/include/asm-sh/ptrace.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/include/asm-sh/sigcontext.h linux/include/asm-sh/sigcontext.h
@@ -5,14 +5,22 @@
 	unsigned long	oldmask;
 
 	/* CPU registers */
-	unsigned long sc_regs[15];
+	unsigned long sc_regs[16];
 	unsigned long sc_gbr;
 	unsigned long sc_mach;
 	unsigned long sc_macl;
 	unsigned long sc_pr;
-	unsigned long sc_sp;
 	unsigned long sc_sr;
 	unsigned long sc_pc;
+
+#if defined(__SH4__)
+	/* FPU registers */
+	unsigned long sc_fpregs[16];
+	unsigned long long sc_xdregs[8];
+	unsigned int sc_fpscr;
+	unsigned int sc_fpul;
+	unsigned int sc_ownedfp;
+#endif
 };
 
 #endif /* __ASM_SH_SIGCONTEXT_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)