| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* posix/src/alarm.c: If 0 seconds do not insert timer.
* rtems/src/regionextend.c: Eliminate warning. Use default else.
|
|
|
|
| |
* rtems/src/timerserver.c: Indentation.
|
|
|
|
|
|
|
|
|
| |
* rtems/src/regiondelete.c, rtems/src/regionextend.c,
rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c,
rtems/src/regiongetsegment.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c: Avoid initializing status code. This
generates dead code on some targets. Add default case to eliminate
unitialized variable warning.
|
|
|
|
|
|
|
|
| |
* rtems/src/ratemonreportstatistics.c: owner field is always set so
safe to use. Reformat.
* rtems/src/regionresizesegment.c: Always evaluate the blocked queue
if the resize succeeded.
* rtems/src/tasksetnote.c: Spacing.
|
|
|
|
|
|
|
| |
* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c,
rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c: Remove warnings.
|
|
|
|
|
|
|
|
| |
* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c,
rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c: Do not initialize return status to
RTEMS_INTERNAL_ERROR.
|
|
|
|
|
|
| |
* libmisc/capture/capture.c, posix/src/pthread.c, rtems/src/tasks.c,
score/include/rtems/score/userext.h: Eliminate use of deprecated
rtems_extension. Re-add prototype for _User_extensions_Add_API_set.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/src/wkspace.c: Removed work space area consistency checks.
* libblock/include/rtems/ide_part_table.h: Functions are now
deprecated.
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c,
libcsupport/src/malloc_boundary.c,
libcsupport/src/malloc_initialize.c,
libcsupport/src/malloc_report_statistics_plugin.c,
libcsupport/src/malloc_statistics_helpers.c,
libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
rtems/inline/rtems/rtems/region.inl: Update for heap API changes.
2009-09-14 Christian Mauderer <christian.mauderer@embedded-brains.de>
* libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the
pointer to the string is NULL.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/config.h: Add
rtems_configuration_get_maximum_semaphores().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* rtems/src/taskmode.c, sapi/src/exshutdown.c,
score/include/rtems/score/sysstate.h,
score/inline/rtems/score/sysstate.inl: Added
_System_state_Is_shutdown(). Removed direct uses of
_System_state_Current. Documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems/src/timerreset.c: Rework to ease analysis.
|
|
|
|
|
| |
* rtems/src/clockget.c: Restructure to ease coverage analysis of
deprecated routine.
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/preinstall.am,
posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
rtems/preinstall.am, score/Makefile.am, score/preinstall.am: Revert
modifications accidentally committed.
|
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
sapi/Makefile.am, score/Makefile.am,
score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under
by one uint32_t. This showed up in the unlimited and heapwalk tests
on ARM targets.
|
| |
|
|
|
|
| |
* rtems/include/rtems/rtems/types.h: Improve documentation.
|
|
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am,
sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
score/preinstall.am, score/include/rtems/score/heap.h,
score/inline/rtems/score/heap.inl: Remove inline version now that it
is in a C file.
* libcsupport/src/end_profile.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/include/rtems/libio_.h,
libcsupport/src/fs_null_handlers.c: Null handlers are now const.
* libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create
semaphores on the fly.
* cpukit/libblock/src/bdpart.c: Fixed format specifier.
* cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h,
rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h,
rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/barriermp.h,
rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h,
rtems/include/rtems/rtems/event.h,
rtems/include/rtems/rtems/eventmp.h,
rtems/include/rtems/rtems/eventset.h,
rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h,
rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h,
rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/region.h,
rtems/include/rtems/rtems/regionmp.h,
rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h,
rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h,
rtems/include/rtems/rtems/signalmp.h,
rtems/include/rtems/rtems/status.h,
rtems/include/rtems/rtems/support.h,
rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h,
rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h,
rtems/inline/rtems/rtems/support.inl: Documentation.
* include/rtems/irq-extension.h: Documentation. Added API for
interrupt servers.
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable
rtems_interrupt_catch on targets which do not use the simple vectored
interrupt model.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/region.h: Use new name.
* score/include/rtems/debug.h: Fix spacing.
|
|
|
|
| |
* rtems/include/rtems/rtems/support.h: Fix comments.
|
|
|
|
|
| |
* rtems/src/timerreset.c: Mark an unreachable path that is a sanity
check as conditional on RTEMS_DEBUG.
|
|
|
|
| |
* rtems/src/regionextend.c: Remove warning.
|
|
|
|
|
|
| |
* rtems/src/eventseize.c, rtems/src/eventsurrender.c,
rtems/src/eventtimeout.c: Clean up and minor rework as a side-effect
of coverage analysis.
|
|
|
|
| |
* rtems/src/ratemongetstatus.c: Fix spacing.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix
a bug introduced by rework.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Restructure to simplify and improve ability to
anlize this routine for coverage.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* rtems/src/taskinitusers.c: Restructure to eliminate dead check --
loop will not be executed when 0 tasks. Also improved comments and
eliminated a local variable.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/src/regionextend.c: Restructure to eliminate dead code being
generated.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
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 1413/cpukit
* rtems/src/timerserver.c: Fix bug where server based timers which
reinitiated themselves did not get reinserted onto timer chain.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c,
rtems/include/rtems/rtems/timer.h: Fix warnings.
|
|
|
|
|
| |
* posix/include/rtems/posix/psignal.h,
rtems/inline/rtems/rtems/support.inl: Remove warnings.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/part.h,
rtems/inline/rtems/rtems/region.inl: Fix warnings.
|
|
|
|
|
| |
* rtems/include/rtems/rtems/clock.h, rtems/src/clocktodtoseconds.c,
rtems/src/clocktodvalidate.c: Add const to parameter.
|
|
|
|
|
|
|
| |
PR 1388/cpukit
* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
and ceiling attributes to be set on semaphore create. These
attributes are mutually exclusive and this should be an error.
|
|
|
|
|
|
|
| |
Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1357/cpukit
* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
|
|
|
|
| |
* rtems/src/tasks.c: Initialize event_condition to 0 just because.
|
| |
|
|
|
|
| |
* rtems/src/timerserver.c: Remove _Timer_Server_body warnings.
|
| |
|
|
|
|
|
|
| |
* rtems/src/dpmemcreate.c: Spacing.
* rtems/src/timerserver.c: Move error check to RTEMS_DEBUG. Cannot
happen under normal circumstances.
|
|
|
|
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h,
sapi/src/exinit.c, score/Makefile.am,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate
Object Handler Initialization routine since it was all for MP
configurations.
* score/src/object.c: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/Makefile.am, rtems/include/rtems/rtems/attr.h,
rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h,
rtems/include/rtems/rtems/message.h,
rtems/include/rtems/rtems/part.h,
rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c,
rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c,
rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c,
sapi/src/rtemsapi.c: Convert manager initialization routines to
directly pull parameters from configuration table. Eliminate empty
routines sportted.
* rtems/src/intr.c: Removed.
|