summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 16:06:06 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:33:35 -0500
commit6b514360b8df3434723a9a39504832745c4b4245 (patch)
tree151b3b0695f2eb7de3e058e6cce689a7ea36c11d
parentm32c/m32csim/timer/timer.c: Fix warnings (diff)
downloadrtems-6b514360b8df3434723a9a39504832745c4b4245.tar.bz2
score/cpu/m32c: Fix warnings
-rw-r--r--cpukit/score/cpu/m32c/cpu_asm.c7
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h2
2 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/score/cpu/m32c/cpu_asm.c b/cpukit/score/cpu/m32c/cpu_asm.c
index 9515264ff0..f992c57b3d 100644
--- a/cpukit/score/cpu/m32c/cpu_asm.c
+++ b/cpukit/score/cpu/m32c/cpu_asm.c
@@ -36,15 +36,16 @@
#include <rtems/system.h>
#include <rtems/score/cpu.h>
+void _ISR_Handler(void);
+
/* void __ISR_Handler()
*
* This routine provides the RTEMS interrupt management.
*
- * NO_CPU Specific Information:
+ * M32C Specific Information:
*
- * XXX document implementation including references if appropriate
+ * Interrupts are not currently supported.
*/
-
void _ISR_Handler(void)
{
/*
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 011fe48b7e..55e9853aad 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -842,7 +842,7 @@ void _CPU_Context_Initialize(
*/
void _CPU_Context_Restart_self(
Context_Control *the_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext