summaryrefslogtreecommitdiffstats
path: root/cpukit/score (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-302010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill12-16/+16
PR 1599/cpukit * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c, rtems/src/signalsend.c, score/include/rtems/score/percpu.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threaddispatch.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetstate.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-302010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill6-3/+21
PR 1599/cpukit * cpu_asm.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-302010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill4-2/+14
PR 1599/cpukit * irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-302010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill4-2/+14
PR 1599/cpukit * cpu_asm.S: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
2010-07-292010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill17-258/+358
PR 1635/cpukit * sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: 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. * score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
2010-07-292010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill10-5/+60
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-292010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill33-22/+143
PR 1635/cpukit * rtems/score/cpu.h, 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-272010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-3/+14
* rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-272010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-0/+11
* rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-272010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-10/+14
* rtems/asm.h: Fixed header guard. * rtems/score/cpu.h: Assembler compatibility fixes.
2010-07-272010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-8/+11
* score/src/threadget.c: Conditionalize a check that can only occur when POSIX is disabled.
2010-07-272010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-3/+8
* rtems/src/taskmode.c, score/inline/rtems/score/thread.inl: Rework a bit to eliminate unreachable path for task blocked while calling rtems_task_mode() on itself.
2010-07-262010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+8
* libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c, posix/Makefile.am, posix/include/rtems/posix/key.h, posix/src/keycreate.c, posix/src/keydelete.c, score/src/iterateoverthreads.c: Since removing ITRON, the loop over all APIs for tasks has a path that cannot be reached. Either modify the code or mark tests for NULL as RTEMS_DEBUG. * posix/src/keyfreememory.c: New file.
2010-07-162010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber45-189/+123
* rtems/score/cpu.h: Include <rtems/score/types.h> first. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-162010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber6-322/+282
* rtems/new-exceptions/cpu.h: Removed file. * Makefile.am, preinstall.am: Reflect change above. * rtems/score/cpu.h: Include <rtems/score/types.h> first. Added contents of <rtems/new-exceptions/cpu.h>. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-162010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber5-144/+175
* score/include/rtems/score/basedefs.h: New file. * score/Makefile.am, score/preinstall.am: Reflect change above. * score/include/rtems/score/percpu.h: Include <rtems/score/cpu.h>. * score/include/rtems/system.h: Moved definition of SCORE_EXTERN, SAPI_EXTERN, RTEMS_EXTERN, POSIX_EXTERN, RTEMS_INLINE_ROUTINE, RTEMS_COMPILER_MEMORY_BARRIER, RTEMS_COMPILER_NO_RETURN_ATTRIBUTE, RTEMS_COMPILER_DEPRECATED_ATTRIBUTE, TRUE, and FALSE to <rtems/score/basedefs.h>. Removed include of <rtems/score/cpu.h>, <stdint.h> and <stddef.h>.
2010-07-152010-07-15 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-36/+63
PR 1607/cpukit * score/src/coremutexsurrender.c: Clean up and split out helper routines.
2010-07-152010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-0/+2
* score/include/rtems/seterr.h: Include <errno.h>.
2010-07-072010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
PR 1606/cpukit * score/include/rtems/score/interr.h: Remove INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
2010-07-062010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-51/+1
* score/src/isrthreaddispatch.c: Removed file. * score/Makefile.am: Reflect change above. * score/include/rtems/score/isr.h: Removed _ISR_Thread_dispatch() declaration.
2010-07-062010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-2/+5
* rtems/score/cpu.h: Removed CPU_ENABLE_C_ISR_DISPATCH_IMPLEMENTATION define.
2010-07-012010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-1/+9
* rtems/asm.h, rtems/score/cpu.h: cpu.h defines were not available to assembly programs. This resulted in percpu.h (when included from assembly) not being able to detect that the MIPS does not have a dedicated software managed interrupt stack.
2010-07-012010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* libcsupport/src/rtems_memalign.c, score/include/rtems/score/heap.h: Remove stray references to malloc boundary.
2010-06-302010-06-30 Peter Dufault <dufault@hda.com>Sebastian Huber2-16/+22
PR 1588/cpukit * rtems/powerpc/registers.h: Renamed defines SR0 .. SR15 in PPC_SR0 .. PPC_SR15.
2010-06-292010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-9/+15
* configure.ac, score/include/rtems/score/percpu.h: Add __RTEMS_SIZEOF_VOID_P__ to cpuopts.h so percpu.h has this information available during build and after installation.
2010-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill13-86/+247
PR 1573/cpukit * configure.ac, posix/src/killinfo.c, posix/src/psignalclearprocesssignals.c, posix/src/psignalsetprocesssignals.c, posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c, posix/src/pthreadkill.c, posix/src/pthreadsigmask.c, rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am, score/preinstall.am, score/include/rtems/system.h, score/include/rtems/score/context.h, score/include/rtems/score/isr.h, score/include/rtems/score/thread.h, score/src/isr.c, score/src/isrthreaddispatch.c, score/src/thread.c, score/src/threaddispatch.c, score/src/threadloadenv.c: 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. * score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
2010-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill15-179/+94
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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-16/+7
PR 1573/cpukit * 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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-16/+8
PR 1573/cpukit * rtems/new-exceptions/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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill9-51/+27
PR 1573/cpukit * cpu_asm.c, 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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill6-46/+22
PR 1573/cpukit * irq.c, 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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-63/+42
PR 1573/cpukit * cpu_asm.S, rtems/asm.h, 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-06-292010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-15/+11
PR 1573/cpukit * arm_exc_interrupt.S: 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-06-242010-06-24 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill4-62/+22
PR 1589/cpukit * score/Makefile.am, score/include/rtems/score/thread.h, score/inline/rtems/score/thread.inl: Make _Thread_Evaluate_mode() an inline method. It is only used in one place and relatively simple. * score/src/threadevaluatemode.c: Removed.
2010-06-242010-06-24 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill4-89/+13
PR 1590/cpukit * score/Makefile.am, score/include/rtems/score/thread.h, score/src/threadtickletimeslice.c: Remove _Thread_Reset_timeslice and replaces its single use with a call to the functionally equivalent _Thread_Yield_processor(). * score/src/threadresettimeslice.c: Removed.
2010-06-212010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-6/+9
PR 1554/cpukit Coverity Id 17 * libi2c/libi2c.c, score/src/objectextendinformation.c: Fix memory leak on error.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+2
* score/include/rtems/score/object.h: Remove OBJECTS_ITRON_API.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+2
* score/include/rtems/score/thread.h: Remove ITRON.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+1
* score/include/rtems/score/interr.h: Remove ITRON.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+0
* score/src/objectapimaximumclass.c: Remove OBJECTS_ITRON_API.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-14/+0
* score/include/rtems/system.h: Remove ITRON_EXTERN.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-5/+1
* score/src/apiext.c: Remove comment referring to ITRON.
2010-06-182010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-19/+0
* core/include/rtems/score/object.h: Remove Objects_ITRON_API.
2010-06-18Remove RTEMS_ITRON_API conditional blocks.Ralf Corsepius7-26/+2
2010-06-172010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-52/+0
* score/include/rtems/score/object.h, score/include/rtems/score/thread.h: Remove prototypes for ITRON only methods removed by Ralf.
2010-06-17Remove LIBITRON.Ralf Corsepius1-10/+0
2010-06-17Remove.Ralf Corsepius3-248/+0
2010-06-162010-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+16
* score/src/objectallocate.c: Add conditionally compiled debug code to printk a message when an object allocation error occurs. This should be helpful in identifying when a ported package required more resources.
2010-06-162010-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-68/+70
* cpu_asm.S: Remove trailing tabs.
2010-06-162010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2-103/+106
* cpu_asm.S: Use SYM macro to be consistent with other ports.