forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||||
|
|||||||
@@ -46,8 +46,12 @@ extern "C" {
|
|||||||
* predefines.
|
* predefines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__SH2E__) || defined(__SH3E__) || \
|
#if defined(__SH2E__) || defined(__SH3E__)
|
||||||
defined(__SH4__) || defined(__SH4_SINGLE_ONLY__)
|
|
||||||
|
/* 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.
|
* Define this if you want to use XD-registers.
|
||||||
|
|||||||
Reference in New Issue
Block a user