summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m32c/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-10 20:08:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-10 20:08:50 +0000
commit65636918c89952033ce4df15cb386e63973d1376 (patch)
tree14b27a433777a3c0be2385a4fa8f212a64971f01 /cpukit/score/cpu/m32c/cpu.c
parent2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-65636918c89952033ce4df15cb386e63973d1376.tar.bz2
2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* context_init.c, context_switch.S, cpu.c: Now builds multilib. R8C paths produce warnings for now.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/m32c/cpu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m32c/cpu.c b/cpukit/score/cpu/m32c/cpu.c
index 20b949e174..41100e0d96 100644
--- a/cpukit/score/cpu/m32c/cpu.c
+++ b/cpukit/score/cpu/m32c/cpu.c
@@ -32,7 +32,9 @@
void _CPU_Initialize(void)
{
- asm volatile( "ldc #__var_vects,intb" );
+ #if !defined(__r8c_cpu__)
+ asm volatile( "ldc #__var_vects,intb" );
+ #endif
}
/*
@@ -70,7 +72,11 @@ void _CPU_ISR_install_raw_handler(
* This is where we install the interrupt handler into the "raw" interrupt
* table used by the CPU to dispatch interrupt handlers.
*/
+#if defined(__r8c_cpu__)
+ #warning "_CPU_ISR_install_raw_handler not implemented on R8C"
+#else
_set_var_vect(new_handler,vector);
+#endif
}
/*PAGE