| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/heapallocatealigned.c: Remove unused label.
|
|
|
|
|
| |
* score/src/heapallocatealigned.c: Change break to continue to fix
issue encountered on ARM. Fix indentation.
|
|
|
|
|
| |
* score/src/heapresizeblock.c: Remove printk's that were accidentally
committed.
|
|
|
|
|
| |
* score/src/objectextendinformation.c: Minor rework to eliminate
uncovered ranges introduced by Chris' patch.
|
|
|
|
|
| |
* score/src/objectextendinformation.c: Ensure that nothing is moved or
copied until all memory is successfully allocated.
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/heapallocatealigned.c: Fix spacing.
|
|
|
|
| |
* score/src/wkspace.c: Improve debug output.
|
|
|
|
|
| |
* score/inline/rtems/score/heap.inl, score/src/heapresizeblock.c:
Simplify routine.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/heapgetinfo.c: Simplify implementation.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/wkspace.c: Add debug printks.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c: Restructure a bit to make analysis
easier.
|
|
|
|
|
| |
* score/src/corebarrierwait.c: Reverse order of tests to increase test
coverage.
|
|
|
|
|
| |
* score/src/watchdogadjusttochain.c: Correct bug in recent rework.
Coverage not impacted.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* score/src/watchdogadjusttochain.c: Rework to ease code coverage
analysis.
|
|
|
|
| |
* score/src/heap.c: Remove unneeded include.
|
|
|
|
| |
* score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Rework loop to simplify and
remove dead code.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
conditional.
|
|
|
|
|
| |
* score/src/apiext.c: Unreachable API Extension paths marked as either
unused or only with certain APIs.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Fix spelling error.
|
|
|
|
|
| |
* score/src/heapwalk.c: Remove include of stdlib.h since abort was not
called anymore.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* score/src/heapwalk.c: Verify addresses are aligned.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1412/cpukit
* score/src/coremutex.c: Add missing braces. Broken with strict mutex
code added.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* score/src/objectgetnext.c: Add checks for NULL pointers.
|
|
|
|
|
|
|
|
| |
* 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.
|