summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/rtems/score/sh.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-17 20:39:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-17 20:39:44 +0000
commit94dd4f6cdfa1d1aba18f8259ebb10ea52a344322 (patch)
tree43a1da1f6a250cfee3cc24398448bd957099d0cd /cpukit/score/cpu/sh/rtems/score/sh.h
parent2009-02-17 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-94dd4f6cdfa1d1aba18f8259ebb10ea52a344322.tar.bz2
2009-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/sh.h: SH2E and SH3E have a DSP rather than an FPU. They are not compatible. We currently only support the FPU found on the SH3 and SH4.
Diffstat (limited to 'cpukit/score/cpu/sh/rtems/score/sh.h')
-rw-r--r--cpukit/score/cpu/sh/rtems/score/sh.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h
index b19855abe1..32b7d6b05a 100644
--- a/cpukit/score/cpu/sh/rtems/score/sh.h
+++ b/cpukit/score/cpu/sh/rtems/score/sh.h
@@ -46,8 +46,12 @@ extern "C" {
* predefines.
*/
-#if defined(__SH2E__) || defined(__SH3E__) || \
- defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
+#if defined(__SH2E__) || defined(__SH3E__)
+
+/* FIXME: SH-DSP context not currently supported */
+#define SH_HAS_FPU 0
+
+#elif defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
/*
* Define this if you want to use XD-registers.