summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/avr (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-273-0/+13
| | | | * cpu.c, cpu_asm.S: Add include of config.h
* 2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-022-0/+8
| | | | * rtems/score/avr.h: Add avr6.
* Whitespace removal.Ralf Corsepius2009-11-30134-595/+595
|
* 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-08-114-115/+111
| | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in _CPU_Context_Initialize.
* 2009-08-05 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-08-06151-0/+154011
| | | | | | * Makefile.am: added AVR specific Header files to score/cpu/avr/avr. These are from avr-libc 1.6 and assumed to exist by AVR applications. * preinstall.am: Regenerated.
* 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-284-96/+103
| | | | | | | * 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-233-10/+32
| | | | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
* 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-173-23/+30
| | | | | | | *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-09 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-102-3/+9
| | | | | | * cpu_asm.S: 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-066-38/+761
| | | | | | | | | | | | | | | | | * 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-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-052-1/+11
| | | | | * rtems/score/cpu.h: Lower number of priorities and do not inline as much.
* 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-052-2/+7
| | | | | * rtems/score/cpu.h: Lower minimum stack size to 512 and CPU alignment to 4.
* 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-042-0/+14
| | | | * cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib.
* 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-272-1/+5
| | | | * rtems/score/cpu.h: AVR stack grows down.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-123-2/+7
| | | | | * 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-113-39/+9
| | | | | | * 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-113-4/+13
| | | | * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* Fix typo.Ralf Corsepius2008-12-071-1/+1
|
* 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-11-263-0/+10
| | | | | | * 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>Ralf Corsepius2008-09-112-6/+11
| | | | | * rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.
* 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-211-0/+6
| | | | | | * rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to CPU_NAME cascade. * rtems/score/cpu.h: Add missing prototypes.h.
* Add avr25, avr31, avr35, avr51 to CPU_NAME cascade.Ralf Corsepius2008-08-211-0/+16
|
* Add missing prototypes.Ralf Corsepius2008-08-211-1/+1
|
* 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-211-0/+5
| | | | | * rtems/score/types.h: Include stdbool.h. Use bool as base-type for boolean.
* Include stdbool.h. Use bool as base-type for boolean.Ralf Corsepius2008-08-211-1/+2
|
* 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-07-313-2/+6
| | | | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-052-0/+21
| | | | | | | | * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to indicate that the port uses the Simple Vectored Interrupt model or the Programmable Interrupt Controller Model. The PIC model is implemented primarily in the BSP and it is responsible for all memory allocation.
* 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-172-0/+8
| | | | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
* 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-172-1/+5
| | | | * rtems/score/avr.h: Sweep to make sure grep for COPYRIGHT passes.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-17/+6
| | | | | | * 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-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-032-30/+9
| | | | | | | | | * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 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.
* 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-05-092-1/+4
| | | | * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-171-0/+8
| | | | | | | | * cpu_asm.c: Use Context_Control_fp* instead of void* for fp_contexts. * rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
* Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2007-04-171-2/+2
|
* Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2007-04-171-3/+3
| | | | Eliminate evil casts.
* Regenerate.Ralf Corsepius2007-01-081-2/+2
|
* 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-172-4/+4
| | | | * rtems/score/types.h: Remove unsigned64, signed64.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-162-6/+11
| | | | | | * rtems/score/cpu.h: Part of a large patch to improve Doxygen output. As a side-effect, grammar and spelling errors were corrected, spacing errors were address, and some variable names were improved.
* Regenerate.Ralf Corsepius2006-01-141-1/+1
|
* RegenerateRalf Corsepius2006-01-131-0/+2
|
* Remove all-local.Ralf Corsepius2006-01-121-2/+0
|
* Regenerate.Ralf Corsepius2006-01-121-2/+2
|
* CleanupsRalf Corsepius2006-01-121-4/+0
|
* 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-11-082-2/+6
| | | | * rtems/score/types.h: Eliminate unsigned16, unsigned32.
* 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-10-272-4/+6
| | | | | * rtems/asm.h: Remove private version of CONCAT macros. Include <rtems/concat.h> instead.
* Auto-generated update.Ralf Corsepius2005-02-191-1/+1
|
* Cosmetics.Ralf Corsepius2005-02-191-1/+1
|
* 2005-02-19 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-192-58/+62
| | | | * rtems/score/cpu.h: Remove traces from NO_CPU.