summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-10 21:56:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-10 21:56:54 +0000
commit94690433ea406b78f0ec5f05e87cf4b6415025f9 (patch)
treed78932dbe4c13fa4044b9f035a57a67ed08c1a56 /cpukit/score/cpu/sh/cpu.c
parent2006-08-10 Joel Sherrill <joel@oarcorp.com> (diff)
downloadrtems-94690433ea406b78f0ec5f05e87cf4b6415025f9.tar.bz2
2006-08-10 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all compile.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/sh/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index aa646946e6..3ed3131199 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -238,7 +238,7 @@ void _CPU_Context_Initialize(
int _is_fp )
{
_the_context->r15 = (uint32_t *) ((uint32_t ) (_stack_base) + (_size) );
-#if defined(__sh1__) || defined(__sh2__)
+#if defined(__sh1__) || defined(__sh2__) || defined(__SH2E__)
_the_context->sr = (_isr << 4) & 0x00f0 ;
#else
_the_context->sr = SH4_SR_MD | ((_isr << 4) & 0x00f0);