summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-11 21:10:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-11 21:10:26 +0000
commit78aa0609b4e11e24fed195d5f508d61310509a9d (patch)
tree2312279f76c2522fb26e9892df7b39c8bd1ac14f /cpukit/score
parent2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-78aa0609b4e11e24fed195d5f508d61310509a9d.tar.bz2
2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/cpu/avr/ChangeLog4
-rw-r--r--cpukit/score/cpu/avr/cpu.c7
-rw-r--r--cpukit/score/cpu/avr/cpu_asm.c6
3 files changed, 13 insertions, 4 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index fa93b1385a..02321e9b82 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
+
2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.c: Add debug printk() calls until the BSP/port can
diff --git a/cpukit/score/cpu/avr/cpu.c b/cpukit/score/cpu/avr/cpu.c
index 4ba9e6c008..445ec67e3e 100644
--- a/cpukit/score/cpu/avr/cpu.c
+++ b/cpukit/score/cpu/avr/cpu.c
@@ -1,8 +1,8 @@
/*
- * XXX CPU Dependent Source
+ * AVR CPU Dependent Source
*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -16,6 +16,8 @@
#include <rtems/score/isr.h>
#include <rtems/score/wkspace.h>
+#include <rtems/bspIo.h> /* XXX remove me later */
+
/* _CPU_Initialize
*
* This routine performs processor dependent initialization.
@@ -180,4 +182,5 @@ void *_CPU_Thread_Idle_body( uint32_t ignored )
for( ; ; )
/* insert your "halt" instruction here */ ;
+ return (void *) 0;
}
diff --git a/cpukit/score/cpu/avr/cpu_asm.c b/cpukit/score/cpu/avr/cpu_asm.c
index f864e5d51c..685c4247a0 100644
--- a/cpukit/score/cpu/avr/cpu_asm.c
+++ b/cpukit/score/cpu/avr/cpu_asm.c
@@ -6,7 +6,7 @@
*
* NOTE: This is supposed to be a .S or .s file NOT a C file.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -26,6 +26,8 @@
#include <rtems/score/cpu.h>
/* #include "cpu_asm.h> */
+#include <rtems/bspIo.h> /* XXX remove me later */
+
/*
* _CPU_Context_save_fp_context
*
@@ -118,7 +120,7 @@ void _CPU_Context_restore(
* XXX document implementation including references if appropriate
*/
-void _ISR_Handler()
+void _ISR_Handler(void)
{
/*
* This discussion ignores a lot of the ugly details in a real