summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-231-4/+12
| | | | | * rtems/src/timerreset.c: Mark an unreachable path that is a sanity check as conditional on RTEMS_DEBUG.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-4/+5
| | | | * rtems/src/regionextend.c: Remove warning.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-213-15/+20
| | | | | | * rtems/src/eventseize.c, rtems/src/eventsurrender.c, rtems/src/eventtimeout.c: Clean up and minor rework as a side-effect of coverage analysis.
* 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-201-1/+1
| | | | * rtems/src/ratemongetstatus.c: Fix spacing.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-091-47/+46
| | | | | * rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix a bug introduced by rework.
* 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-081-61/+57
| | | | | * rtems/src/semcreate.c: Restructure to simplify and improve ability to anlize this routine for coverage.
* 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-071-1/+1
| | | | | | | * 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-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-041-11/+10
| | | | | | * 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.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-031-1/+3
| | | | | | | * 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-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-06-181-16/+12
| | | | | * rtems/src/regionextend.c: Restructure to eliminate dead code being generated.
* 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-132-6/+1
| | | | | | | | * 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-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-282-12/+13
| | | | | | | | | 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-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-211-0/+6
| | | | | | PR 1413/cpukit * rtems/src/timerserver.c: Fix bug where server based timers which reinitiated themselves did not get reinserted onto timer chain.
* 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-131-15/+28
| | | | | | | 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-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-101-2/+2
| | | | | * libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c, rtems/include/rtems/rtems/timer.h: Fix warnings.
* 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-081-4/+4
| | | | | * posix/include/rtems/posix/psignal.h, rtems/inline/rtems/rtems/support.inl: Remove warnings.
* 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-052-2/+2
| | | | | * rtems/include/rtems/rtems/part.h, rtems/inline/rtems/rtems/region.inl: Fix warnings.
* 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-043-4/+4
| | | | | * rtems/include/rtems/rtems/clock.h, rtems/src/clocktodtoseconds.c, rtems/src/clocktodvalidate.c: Add const to parameter.
* 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-021-1/+5
| | | | | | | 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.
* 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>Joel Sherrill2009-01-211-2/+0
| | | | | | | Joel Sherrill <joel.sherrill@oarcorp.com> PR 1357/cpukit * rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
* 2009-01-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-01-211-0/+1
| | | | * rtems/src/tasks.c: Initialize event_condition to 0 just because.
* Eliminate TRUE/FALSE.Ralf Corsepius2009-01-0628-45/+45
|
* 2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-311-5/+3
| | | | * rtems/src/timerserver.c: Remove _Timer_Server_body warnings.
* Eliminate TRUE/FALSE.Ralf Corsepius2008-12-234-10/+10
|
* 2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-192-4/+7
| | | | | | * rtems/src/dpmemcreate.c: Spacing. * rtems/src/timerserver.c: Move error check to RTEMS_DEBUG. Cannot happen under normal circumstances.
* 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-181-1/+1
| | | | | | | | | | * 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.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1722-159/+77
| | | | | | | | | | | | | | | | | | * 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.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-161-2/+3
| | | | | | | | | | | | | * libblock/src/bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/mw-fb/mw_uid.c, rtems/include/rtems/rtems/support.h, score/Makefile.am, score/include/rtems/score/tod.h, score/src/coretod.c, score/src/coretodtickle.c: Eliminate all public use of TOD conversion routines. Eliminate _TOD_Microseconds_per_tick and let every place use the field directly from the Configuration Table. This required moving some methods from macros to bodies. * score/src/coretodmsecstoticks.c, score/src/coretodtickspersec.c, score/src/coretodusectoticks.c: New files.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-164-5/+13
| | | | | | | | | | * libcsupport/src/__times.c, posix/src/adjtime.c, posix/src/clockgetres.c, posix/src/sysconf.c, rtems/src/clockgettickspersecond.c, rtems/src/clockgettod.c, rtems/src/clockset.c, rtems/src/clocktodvalidate.c, score/src/timespecfromticks.c, score/src/timespectoticks.c, score/src/ts64toticks.c: More case converted to use configuration table entry not _TOD_Microseconds_per_tick.
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-153-7/+14
| | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c, posix/include/rtems/posix/config.h, posix/include/rtems/posix/posixapi.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Eliminate pointers to API configuration tables in the main configuration table. Reference the main configuration table and the API configuration tables directly using the confdefs.h version rather than obtaining a pointer to it. This eliminated some variables, a potential fatal error, some unnecessary default configuration structures. Overall, about a 4.5% reduction in the code size for minimum and hello on the SPARC.
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-151-1/+1
| | | | * rtems/include/rtems/rtems/types.h: Fix incorrect type name.
* 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-147-18/+18
| | | | | | | | | | | | | | | | * libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionmp.c, rtems/src/regionresizesegment.c, sapi/include/rtems/config.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change sizes of heap/region and allocated objects in heap to intptr_t so they can be larger than a single allocatable object (e.g. size_t).
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* 2008-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-106-54/+134
| | | | | | | | | | * rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, score/include/rtems/score/thread.h, score/src/coretodgetuptime.c: Make all Thread and Period Statistics use publicly defined types. Do not leak the SuperCore Timestamp type through the APIs.
* 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-0810-67/+68
| | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, posix/src/clockgettime.c, posix/src/pthread.c, posix/src/timersettime.c, rtems/include/rtems/rtems/ratemon.h, rtems/src/clockgetsecondssinceepoch.c, rtems/src/clockgetuptime.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, rtems/src/taskwakewhen.c, rtems/src/timerfirewhen.c, rtems/src/timerserver.c, rtems/src/timerserverfirewhen.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/src/coretod.c, score/src/coretodget.c, score/src/coretodgetuptime.c, score/src/coretodset.c, score/src/coretodtickle.c, score/src/threaddispatch.c, score/src/threadinitialize.c: Add SuperCore handler Timestamp to provide an opaque class for the representation and manipulation of uptime, time of day, and the difference between two timestamps. By using SuperCore Timestamp, it is clear which methods and APIs really have to be struct timespec and which can be in an optimized native format. * score/include/rtems/score/timestamp.h, score/src/coretodgetuptimetimespec.c: New files.
* #include <sys/time.h>Ralf Corsepius2008-12-081-0/+2
|
* 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-041-0/+4
| | | | | | PR 1348/cpukit * rtems/src/ratemonperiod.c: Properly handle period statistics after cpu usage information is reset while a period is running.
* 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-036-231/+307
| | | | | | | | | | | PR 1347/cpukit * rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c, rtems/src/timerreset.c, rtems/src/timerserver.c, rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c, score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer Server to ensure that the context allows for blocking, allocating memory, and acquiring semaphores and mutexes. * score/src/watchdogadjusttochain.c: New file.
* 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-031-2/+2
| | | | | | PR 1346/cpukit * rtems/include/rtems/rtems/ratemon.h: Sense of rate monotonic statistics nanoseconds or ticks granularity conditional is backwards.
* 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-015-55/+16
| | | | | | | * rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/support.h, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/workspace.c: Revert ssize_t patch.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-0/+2
| | | | | | * libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do not have fp context type when no hardware or software floating point is available.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-025-10/+10
| | | | | | | | | | | | | | | | | * libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/support.h, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/workspace.c, sapi/include/confdefs.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/include/rtems/score/wkspace.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapgetblocksize.c, score/src/wkspace.c: Change size_t to ssize_t on all Heap, Workspace and Region calls. On 16-bit architectures, size_t can be 16-bits which would limit sizes to 64K.
* 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-172-1362/+7
| | | | | | * Doxyfile.in, rtems/mainpage.h, score/include/rtems/system.h: Move to generating Doxygen for more of CPU Kit. * rtems/Doxyfile, score/Doxyfile, score/mainpage.h: Removed.
* 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-111-4/+6
| | | | | * rtems/include/rtems/rtems/types.h: Do not define rtems_boolean, rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
* 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-081-1/+1
| | | | | | | | | | | | * libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
* 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-054-5/+5
| | | | | | | * rtems/src/msgmp.c, rtems/src/msgqtranslatereturncode.c, rtems/src/semmp.c, rtems/src/semtranslatereturncode.c: Correct confusion over SuperCore proxy blocking status and Classic API proxy blocking status constants.
* Convert to "bool".Ralf Corsepius2008-09-0437-113/+113
|
* 2008-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-301-1/+1
| | | | | * posix/Makefile.am, rtems/src/tasksetpriority.c: Improve comments and wrapping.
* 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-202-36/+36
| | | | | | * libcsupport/src/error.c, libmisc/dummy/dummy.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
* Add header guard to force indirect inclusion.Ralf Corsepius2008-08-1917-0/+68
|