summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-113-15/+26
| | | | | | | * score/include/rtems/score/thread.h, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Disable thread protocol and scheduling capabilities not exercised when POSIX or ITRON API is disabled.
* 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-118-14/+30
| | | | | | | | | | | * score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/objectgetnameasstring.c, score/src/objectidtoname.c, score/src/objectinitializeinformation.c, score/src/objectnamespaceremove.c, score/src/objectnametoidstring.c, score/src/objectsetname.c, score/src/thread.c, score/src/threadcreateidle.c: Disable object string name support when POSIX is not enabled.
* 2009-09-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-095-355/+302
| | | | | | | | | * score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl, score/src/heapallocate.c, score/src/heap.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapwalk.c: Documenation. Simplified block resize. Improved heap walk. Changed heap layout to avoid a special case for _Heap_Is_used() and _Heap_Is_free(). * libmisc/stackchk/check.c: Update for heap API changes.
* 2009-09-06 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-0621-465/+1068
| | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/free.c, libmisc/stackchk/check.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapfree.c, score/src/pheapgetblocksize.c, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c, score/src/pheapgetsize.c, score/src/pheapinit.c, score/src/pheapresizeblock.c, score/src/pheapwalk.c: Update for heap API changes. * score/include/rtems/score/apimutex.h, score/include/rtems/score/object.h: Documentation. * score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/inline/rtems/score/heap.inl, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapfree.c, score/src/heapgetfreeinfo.c, score/src/heapgetinfo.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/heapwalk.c: Overall cleanup. Added boundary constraint to allocation function. More changes follow.
* 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-281-2/+0
| | | | | | * libcsupport/src/malloc_initialize.c, sapi/src/exinit.c, score/src/threadstartmultitasking.c: Fix spacing. * libmisc/stackchk/check.c: Move variable into compiler specific conditional.
* 2009-08-24 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-2612-481/+390
| | | | | | | | | | | | | * libmisc/stackchk/check.c, rtems/src/regionreturnsegment.c, rtems/src/regiongetsegmentsize.c, src/heapalignupuptr.c, src/heapallocatealigned.c, src/heapallocate.c, src/heap.c, src/heapextend.c, src/heapfree.c, src/heapgetfreeinfo.c, src/heapgetinfo.c, src/heapresizeblock.c, src/heapsizeofuserarea.c, src/heapwalk.c, src/pheapgetblocksize.c, inline/rtems/score/heap.inl, include/rtems/score/heap.h: Overall cleanup. Changed all types for addresses, sizes, offsets and alignments to uintptr_t. Reformatted. Added variables for clarity. Renamed various objects. Enabled _HAssert() for all instances. More changes follow.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-191-55/+0
| | | | | | | * sapi/include/confdefs.h, score/Makefile.am, score/include/rtems/score/thread.h: Only instantiate _Thread_Idle_body() if it is going ot be used. * score/src/threadidlebody.c: Removed.
* 2009-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-181-1/+0
| | | | * score/src/heapallocatealigned.c: Remove unused label.
* 2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-181-11/+12
| | | | | * score/src/heapallocatealigned.c: Change break to continue to fix issue encountered on ARM. Fix indentation.
* 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-091-5/+0
| | | | | * score/src/heapresizeblock.c: Remove printk's that were accidentally committed.
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-071-41/+20
| | | | | * score/src/objectextendinformation.c: Minor rework to eliminate uncovered ranges introduced by Chris' patch.
* 2009-08-06 Chris Johns <chrisj@rtems.org>Joel Sherrill2009-08-061-22/+49
| | | | | * score/src/objectextendinformation.c: Ensure that nothing is moved or copied until all memory is successfully allocated.
* Revert.Joel Sherrill2009-08-061-49/+22
|
* Revert.Joel Sherrill2009-08-061-22/+49
|
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-0/+40
| | | | | | * score/Makefile.am: Move from inline to body to avoid path explosion from inlining this. Makes coverage analysis easier. * score/src/heapalignupuptr.c: New file.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-30/+27
| | | | * score/src/heapallocatealigned.c: Fix spacing.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-6/+15
| | | | * score/src/wkspace.c: Improve debug output.
* 2009-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-011-0/+5
| | | | | * score/inline/rtems/score/heap.inl, score/src/heapresizeblock.c: Simplify routine.
* 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-011-3/+31
| | | | | | * score/inline/rtems/score/heap.inl, score/src/heapwalk.c: Do not inline code to check if newline should be printed. It leads to branch path explosion which is really hard to get coverage on.
* 2009-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-311-22/+19
| | | | * score/src/heapgetinfo.c: Simplify implementation.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-301-66/+51
| | | | | | | * score/src/threadinitialize.c: Rework so there is only one error exit path. This required setting every variable that contains memory allocated from the workspace to NULL early and using that assumption in the one failed exit path.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-301-2/+27
| | | | * score/src/wkspace.c: Add debug printks.
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-231-10/+10
| | | | | * score/src/iterateoverthreads.c: Restructure a bit to make analysis easier.
* 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-201-3/+3
| | | | | * score/src/corebarrierwait.c: Reverse order of tests to increase test coverage.
* 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-171-29/+34
| | | | | * score/src/watchdogadjusttochain.c: Correct bug in recent rework. Coverage not impacted.
* add common implementation to dispatch threads in isrThomas Doerfler2009-07-171-0/+44
|
* 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-101-3/+10
| | | | | | | * configure.ac, score/src/threadqenqueuepriority.c: Add RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to disable the loop in _Thread_queue_Enqueue_priority from being unrolled. This reduces code size and makes coverage analysis easier.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-091-20/+31
| | | | | * score/src/watchdogadjusttochain.c: Rework to ease code coverage analysis.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-091-2/+1
| | | | * score/src/heap.c: Remove unneeded include.
* 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-081-5/+8
| | | | * score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
* 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-072-3/+3
| | | | | | | * rtems/src/rtemsobjectapimaximumclass.c, score/include/rtems/score/object.h, score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change return type of API maximum class methods to unsigned.
* 2009-07-07 Chris Johns <chrisj@rtems.org>Joel Sherrill2009-07-071-33/+17
| | | | | * score/src/objectshrinkinformation.c: Rework loop to simplify and remove dead code.
* 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-071-11/+21
| | | | | | | * posix/src/mutexsetprioceiling.c: Restructure to eliminate code paths which are unreachable. Also add more comments. * score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only since it cannot be hit unless coremutexseize.c is broken.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-061-7/+8
| | | | | * score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG conditional.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-031-0/+11
| | | | | * score/src/apiext.c: Unreachable API Extension paths marked as either unused or only with certain APIs.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-031-19/+21
| | | | | | | * itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c, sapi/src/exinit.c, score/include/rtems/score/apiext.h, score/src/apiext.c: No APIs currently implemented use the predriver_hook so disable it until such time as it is used.
* 2009-07-03 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-07-031-6/+18
| | | | | | * sapi/src/exinit.c, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Ensure local node number is set early enough in MP configurations.
* 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-021-34/+36
| | | | | | | * score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c: Mark _CORE_message_queue_Flush_waiting_threads with FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to reach it via an API.
* 2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-171-1/+1
| | | | * score/src/objectshrinkinformation.c: Fix spelling error.
* 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-131-3/+1
| | | | | * score/src/heapwalk.c: Remove include of stdlib.h since abort was not called anymore.
* 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-135-9/+0
| | | | | | | | * rtems/include/rtems/rtems/region.h, rtems/src/rtemsobjectgetclassinfo.c, score/src/heapwalk.c, score/src/objectgetnameasstring.c, score/src/objectsetname.c, score/src/timespecdivide.c, score/src/ts64divide.c: Remove include of stdio.h
* 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-111-10/+14
| | | | | | * score/src/corespinlockwait.c: Mark timeout code which is not currently exercised by any API with the FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
* 2009-06-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-081-6/+25
| | | | * score/src/heapwalk.c: Verify addresses are aligned.
* 2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-014-12/+20
| | | | | | | * score/include/rtems/score/thread.h, score/src/threadinitialize.c, score/src/threadreset.c, score/src/threadresume.c, score/src/threadsuspend.c: Nesting count on thread suspension is only supported from ITRON API so disable if ITRON is disabled.
* 2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-011-56/+54
| | | | | | | | * score/include/rtems/score/thread.h, score/src/threadhandler.c: Merge conditional code from main and init/fini C++ constructors so the body of this method reads better. Mark thread prototypes which are not currently exercised by any APIs with FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
* 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-281-1/+6
| | | | | | | | | PR 1415/cpukit * rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h, score/inline/rtems/score/coremutex.inl, score/src/coremutex.c: Address two paths where a task with a priority above the ceiling could obtain a priority ceiling mutex.
* 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-181-1/+2
| | | | | | PR 1412/cpukit * score/src/coremutex.c: Add missing braces. Broken with strict mutex code added.
* 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-132-2/+19
| | | | | | | PR 1411/cpukit * rtems/src/workspace.c, score/include/rtems/score/protectedheap.h, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c: Improve workspace wrapper methods.
* 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-081-0/+9
| | | | * score/src/objectgetnext.c: Add checks for NULL pointers.
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-021-0/+24
| | | | | | | | * libcsupport/src/malloc_initialize.c, score/Makefile.am, score/include/rtems/score/protectedheap.h, score/inline/rtems/score/heap.inl: Get total heap size correct when using unified C Program Heap and RTEMS Workspace. * score/src/pheapgetsize.c: New file.