summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/avr/cpu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace removal.Ralf Corsepius2009-11-301-3/+3
|
* 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-08-111-79/+3
| | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in _CPU_Context_Initialize.
* 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-281-16/+33
| | | | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well enough to run ticker to completion with the simulator clock idle task. But if you comment out the printk's in _CPU_Context_Initialize, it hangs. This remains to be investigated.
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-231-9/+27
| | | | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
* 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-171-0/+5
| | | | | | | *cpu_asm.S: implemented _CPU_Context_Restore by adding tags to restore section of context switch. Fixed bug in _CPU_Context_Switch. The wrong registers were being used for pointer to running task Context_Control struct.
* 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-061-2/+38
| | | | | | | | | | | | | | | | | * cpu.c: Implemented _CPU_Context_Initialize as a C function instead of a macro. It works with limited functionality. Implemented _CPU_Thread_Idle_body to use sleep instruction. * Makefile.am: Changed cpu_asm.c -> cpu_asm.S * cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm * rtems/asm.h: Appended "macros.inc" to the end of "asm.h" * rtems/score/cpu.h: + Included "avr/io.h". + Added use 16 bit object definition. + Modified Context_Control struct to relect the registers that need to be saved. + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash. Added function definitions for _CPU_Context_Initialize and _CPU_Push.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-121-1/+1
| | | | | * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-111-20/+2
| | | | | | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-111-2/+5
| | | | * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
* Fix typo.Ralf Corsepius2008-12-071-1/+1
|
* 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-11-261-0/+2
| | | | | | * 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-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-07-311-1/+1
| | | | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-2/+0
| | | | | | * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-221-2/+0
| | | | | | | | | * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c, score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c, score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c, score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c, cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared executive initialization.
* New.Ralf Corsepius2004-09-241-0/+185