summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-common/cpu/sigcontext.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-07-29 22:46:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-29 22:46:55 +0900
commit93dc544cf4892b9188d7d0d4946b0394020b4551 (patch)
tree5b518ad829e53e23304cc463e8013b66f1c087a0 /arch/sh/include/cpu-common/cpu/sigcontext.h
parent1795cf48b322b4d19230a40dbe7181acedd34a94 (diff)
downloadtalos-obmc-linux-93dc544cf4892b9188d7d0d4946b0394020b4551.tar.gz
talos-obmc-linux-93dc544cf4892b9188d7d0d4946b0394020b4551.zip
sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-common/cpu/sigcontext.h')
-rw-r--r--arch/sh/include/cpu-common/cpu/sigcontext.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-common/cpu/sigcontext.h b/arch/sh/include/cpu-common/cpu/sigcontext.h
new file mode 100644
index 000000000000..fe5c15dd6e87
--- /dev/null
+++ b/arch/sh/include/cpu-common/cpu/sigcontext.h
@@ -0,0 +1,17 @@
+#ifndef __ASM_CPU_SH2_SIGCONTEXT_H
+#define __ASM_CPU_SH2_SIGCONTEXT_H
+
+struct sigcontext {
+ unsigned long oldmask;
+
+ /* CPU registers */
+ unsigned long sc_regs[16];
+ unsigned long sc_pc;
+ unsigned long sc_pr;
+ unsigned long sc_sr;
+ unsigned long sc_gbr;
+ unsigned long sc_mach;
+ unsigned long sc_macl;
+};
+
+#endif /* __ASM_CPU_SH2_SIGCONTEXT_H */
OpenPOWER on IntegriCloud