diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-26 14:29:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-26 14:29:56 +0000 |
commit | 274ee57ad2cfc4f73e9b17e99e4674676a14fa77 (patch) | |
tree | 4640880680129c7d8ca69ffe89f0ed120ba83cba /cpukit | |
parent | 2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-274ee57ad2cfc4f73e9b17e99e4674676a14fa77.tar.bz2 |
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.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/cpu/avr/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/cpu.c | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/cpu_asm.c | 2 |
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() |