summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/avr/ChangeLog6
-rw-r--r--cpukit/score/cpu/avr/cpu.c2
-rw-r--r--cpukit/score/cpu/avr/cpu_asm.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index 9b92635579..fa93b1385a 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu.c, cpu_asm.c: Add debug printk() calls until the BSP/port can
+ initialize and shutdown completely cleanly. When this works,
+ implement context switch. Testing on avrtest and simulavr.
+
2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
diff --git a/cpukit/score/cpu/avr/cpu.c b/cpukit/score/cpu/avr/cpu.c
index a6bfc593d7..bbd4f85a23 100644
--- a/cpukit/score/cpu/avr/cpu.c
+++ b/cpukit/score/cpu/avr/cpu.c
@@ -33,6 +33,8 @@ void _CPU_Initialize(
void (*thread_dispatch) /* ignored on this CPU */
)
{
+ printk( "AVR CPU Initialize\n" );
+
/*
* The thread_dispatch argument is the address of the entry point
* for the routine called at the end of an ISR once it has been
diff --git a/cpukit/score/cpu/avr/cpu_asm.c b/cpukit/score/cpu/avr/cpu_asm.c
index c65e9050fe..f864e5d51c 100644
--- a/cpukit/score/cpu/avr/cpu_asm.c
+++ b/cpukit/score/cpu/avr/cpu_asm.c
@@ -86,6 +86,7 @@ void _CPU_Context_switch(
Context_Control *heir
)
{
+ printk( "AVR _CPU_Context_switch\n" );
}
/*
@@ -105,6 +106,7 @@ void _CPU_Context_restore(
Context_Control *new_context
)
{
+ printk( "AVR _CPU_Context_restore\n" );
}
/* void __ISR_Handler()