summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-118-20/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2011-10-072-11/+23
| | | | | | | | | | | | | PR 1932/cpukit * cpu_asm.S: At some point the interrupt trap handler causes a window-overflow and the window overflow trap handler crashes when writing to 0. I found that this is because the WIM was bad, to the window overflow handler uses a uninitialized stack pointer in a window never used. * g3=CWP, not WIM * CWP is incremented by done_flushing no need doing that here also * I see no reason to create an additional stack frame (save) * Must turn off traps when updating WIM (maybe already done by caller?)
* 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-272-0/+7
| | | | | PR 1914/cpukit * rtems/score/cpu.h: Select timestamp implementation.
* 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-242-10/+10
| | | | | * cpu.c: Remove /*PAGE markers which were interpreted by a long dead print script.
* 2011-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-214-332/+666
| | | | | * rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: Convert comments to Doxygen style and improve.
* 2011-05-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-05-172-2/+7
| | | | * Makefile.am: Reformat.
* 2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-04-182-3/+5
| | | | * rtems/score/sparc.h: Remove warnings.
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-162-524/+52
| | | | | | | | | | | | | | | | | | | | | | PR 1729/cpukit * configure.ac, sapi/include/confdefs.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/cpu/i386/rtems/score/cpu.h, score/cpu/sparc/cpu_asm.S, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/basedefs.h, score/include/rtems/score/context.h, score/include/rtems/score/percpu.h, score/src/percpu.c, score/src/thread.c, score/src/threadcreateidle.c: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint. * aclocal/check-smp.m4, aclocal/enable-smp.m4, score/include/rtems/bspsmp.h, score/include/rtems/score/smplock.h, score/src/smp.c, score/src/smplock.c: New files.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-11/+16
| | | | | * rtems/score/cpu.h, rtems/score/sparc.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-162-3/+4
| | | | * cpu.c: Remove unused variable reported by clang.
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-212-1/+7
| | | | | | * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to _CPU_Context_restore() because it does not return. Telling GCC this avoids generation of dead code.
* 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-292-1/+12
| | | | | | | | | | | PR 1635/cpukit * rtems/score/types.h: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-163-12/+8
| | | | | * rtems/score/cpu.h: Include <rtems/score/types.h> first. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-293-64/+30
| | | | | | | | PR 1573/cpukit * cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed.
* 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-273-0/+12
| | | | * cpu.c, cpu_asm.S: Add include of config.h
* Whitespace removal.Ralf Corsepius2009-12-026-83/+83
|
* 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-122-4/+12
| | | | | | | | PR 1385/cpukit * cpu_asm.S: When the type rtems_boolean was switched to the C99 bool, the size changed from 4 bytes to 1 byte. The interrupt dispatching code accesses two boolean variables for scheduling purposes and the assembly implementations of this code did not get updated.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-122-2/+7
| | | | | * 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-8/+9
| | | | | | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* Fix typo.Ralf Corsepius2008-12-071-1/+1
|
* 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-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-082-3/+7
| | | | * cpu.c: Remove extraneous spaces.
* 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-051-0/+4
| | | | * cpu.c, rtems/score/cpu.h: Convert to "bool".
* Convert to "bool".Ralf Corsepius2008-09-052-2/+2
|
* 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-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-043-38/+9
| | | | | | PR 1294/bsps * rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage of sparc_disable_interrupts.
* 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-042-0/+5
| | | | * rtems/score/cpu.h: Spacing.
* 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-07-312-1/+5
| | | | * 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.
* Fix date.Joel Sherrill2008-05-061-1/+1
|
* 2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>Joel Sherrill2008-02-202-1/+7
| | | | | | PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
* 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-172-0/+7
| | | | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-043-14/+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-21/+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-11-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-022-2/+21
| | | | | | | | * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/context.h, score/src/threadhandler.c: Fix stack so gdb backtrace does not print corrupted frame message after _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the SPARC implementation and I made it more general.
* 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-221-6/+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-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-104-6/+108
| | | | | | | | PR 1237/rtems * cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep when interrupts occur at a sufficient rate that the interrupted thread never gets to clean its stack. This patch ensures that an interrupted thread will not nest ISR dispatches on its stack.
* 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.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-1/+1
|
* Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.Ralf Corsepius2007-04-171-3/+3
|
* 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-11-14 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2006-11-142-0/+9
| | | | * cpu_asm.S: Properly support synchronous traps.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-162-2/+8
| | | | | | * 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.