summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-04-09 Madhusudan.C.S <madhusudancs@gmail.com>Joel Sherrill2008-04-091-2/+2
| | | | * score/include/rtems/score/tod.h: Fix typo.
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-051-2/+2
| | | | * score/include/rtems/score/copyrt.h: Update year.
* 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-283-7/+48
| | | | | | | | | | | | | | * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c, posix/src/pthreadcreate.c, rtems/src/taskcreate.c, rtems/src/taskdelete.c, rtems/src/timerserver.c, score/src/threadclose.c, score/src/threadcreateidle.c, score/src/threadinitialize.c: Switch task create and delete operations to using API Allocator Mutex. This moves almost all uses of the RTEMS Workspace from dispatching disabled to mutex protected which should improve deterministic behavior. The implementation was carefully done to allow task create and delete extensions to invoke more services. In particular, a task delete extension should be able to do mutex and file operations.
* 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-261-3/+0
| | | | | * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some warnings.
* Update copyright date.Joel Sherrill2008-02-261-1/+1
|
* 2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>Joel Sherrill2008-02-202-1/+7
| | | | | | PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
* 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-201-0/+6
| | | | | | * rtems/old-exceptions/cpu.h: Remove (Abandoned). * rtems/score/cpu.h: Remove ref to rtems/old-exceptions/cpu.h. * Makefile.am: Remove ref to rtems/old-exceptions/cpu.h.
* Regenerate.Ralf Corsepius2008-02-201-9/+0
|
* Remove ref to rtems/old-exceptions/cpu.h.Ralf Corsepius2008-02-202-7/+0
|
* Remove (Abandoned).Ralf Corsepius2008-02-201-450/+0
|
* 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-065-72/+111
| | | | | | | | | | | * posix/src/mqueueunlink.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl: Enhance _Objects_Namespace_remove() to handle freeing object names which are strings. All changed _Objects_Close() to call _Objects_Namespace_remove(). The resulting code was then moved from inline routines to function calls. * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
* 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-043-5/+12
| | | | | | * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c, score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle Object Id of SELF.
* 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-314-40/+16
| | | | | | | | | | | | | | | | * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c, posix/src/semaphorenametoid.c: Add option for all POSIX objects whether named or unnamed to have a string name. If the API does not directly support having a name, then the user must explicitly assign it using rtems_object_set_name(). * rtems/src/rtemsobjectgetapiclassname.c: Improved testability. * score/include/rtems/score/object.h, score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c, score/src/objectsetname.c: Modifications required to pass testing of recently modified object name operations. Also eliminated multiprocessing related code that was not reachable.
* 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-312-9/+9
| | | | | | | | * score/include/rtems/score/object.h, score/src/objectgetinfo.c, rtems/include/rtems/rtems/object.h, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and cannot be used as a parameter.
* 2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-304-42/+73
| | | | | | | * score/Makefile.am, score/include/rtems/score/threadq.h, score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout was really too complex to be inlined. * score/src/threadqprocesstimeout.c: New file.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-301-321/+86
| | | | * score/Doxyfile: Revert Doxygen version changes.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-2913-136/+400
| | | | | | | | | | | | | | | | * score/Doxyfile: Update to latest Doxygen format. * score/include/rtems/score/apimutex.h, score/include/rtems/score/corebarrier.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/corerwlock.h, score/include/rtems/score/heap.h, score/include/rtems/score/object.h, score/include/rtems/score/protectedheap.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadsync.h, score/include/rtems/score/tod.h, score/inline/rtems/score/corerwlock.inl, score/inline/rtems/score/corespinlock.inl: Remove most doxygen warnings.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-292-1/+15
| | | | * rtems/score/cpu.h: Remove most doxygen warnings.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-291-0/+9
| | | | * score/include/rtems/system.h: First cut at Doxygen mainpage.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-2910-58/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c, posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h, rtems/include/rtems/rtems/support.h, rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c, rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c, rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c, rtems/src/timerserver.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/Unlimited.txt, score/src/objectgetnameasstring.c, score/src/threadqextractwithproxy.c: Add new Object Services collection. This changed the name of a few previously public but undocumented services and added a some new services. * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c, rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c, rtems/src/rtemsobjectapiminimumclass.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c, rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemsobjectgetclassinfo.c, rtems/src/rtemsobjectidapimaximum.c, rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c, rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c, rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c, score/src/objectapimaximumclass.c, score/src/objectgetinfo.c, score/src/objectgetinfoid.c, score/src/objectsetname.c: New files. * rtems/src/rtemsidtoname.c: Removed.
* 2008-01-29 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-01-292-42/+40
| | | | | * score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed switch statements to if statements.
* 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-291-14/+0
| | | | | | | | | | | * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c, libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign as helper and as exposed nmemalign variant with few restrictions. Also turn on compilation of _Heap_Walk but make forced calls to it conditionally compiled. This should allow more flexibility to the user as to run-time checking of the heap. * libcsupport/src/rtems_memalign.c: New file.
* 2008-01-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-284-6/+15
| | | | | | | * sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c, score/src/objectnametoid.c, score/src/objectnametoidstring.c: Multiprocessing compiles again and survives initialization. The recent object name and confdefs.h changes had broken it.
* 2008-01-25 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-01-254-4/+40
| | | | | | | * sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/interr.h, score/inline/rtems/score/thread.inl, score/src/coremutexseize.c: Modifications to aid in full path testing.
* 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-244-25/+2
| | | | | | | | * score/include/rtems/score/object.h, score/src/objectextendinformation.c, score/src/objectinitializeinformation.c, score/src/objectshrinkinformation.c: Eliminate name_table since it is not used.
* 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-231-0/+107
| | | | * score/src/objectnametoidstring.c: New file.
* 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-2313-380/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c, libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/monitor/mon-manager.c, libmisc/stackchk/check.c, posix/src/condinit.c, posix/src/keycreate.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/mutexinit.c, posix/src/pbarrierinit.c, posix/src/prwlockinit.c, posix/src/pspininit.c, posix/src/pthreadcreate.c, posix/src/pthreadexit.c, posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c, posix/src/timercreate.c, rtems/src/barrierident.c, rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c, rtems/src/ratemonident.c, rtems/src/regionident.c, rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c, sapi/src/extensionident.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/apimutexallocate.c, score/src/objectextendinformation.c, score/src/objectgetnameasstring.c, score/src/objectmp.c, score/src/objectnametoid.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases. * score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c: Removed.
* 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-232-9/+14
| | | | | * score/src/threadblockingoperationcancel.c: Clean up. * score/src/threadqextract.c: Restructure to eliminate dead code.
* 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-223-29/+20
| | | | | | | * rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c, score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c, score/src/threadqdequeuepriority.c: Fix bugs encountered while testing and clean up more code.
* 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-221-13/+6
| | | | * score/src/threadqfirst.c: Remove switch.
* 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-2227-216/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems/include/rtems/rtems/event.h, rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c, rtems/src/eventseize.c, rtems/src/eventsurrender.c, rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/interr.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadq.h, score/include/rtems/score/tqdata.h, score/inline/rtems/score/threadq.inl, score/inline/rtems/score/tqdata.inl, score/src/threadq.c, score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c, score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c, score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c, score/src/threadqextract.c, score/src/threadqextractfifo.c, score/src/threadqextractpriority.c, score/src/threadqextractwithproxy.c, score/src/threadqfirst.c, score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c, score/src/threadqflush.c, score/src/threadqrequeue.c, score/src/threadqtimeout.c: Refactor thread queue enqueue and event blocking synchronization critical sections. This resulted in three copies of essentially the same hard to test critical section code becoming the one shared routine _Thread_blocking_operation_Cancel. In addition, the thread queue and event code now share a common synchronization enumerated type. Along the way, switches were reworked to eliminate dead code generated by gcc and comments and copyrights were updated. * score/include/rtems/score/threadsync.h, score/src/threadblockingoperationcancel.c: New files.
* 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-221-3/+9
| | | | | * libi2c/README_libi2c: Correct spelling error. * score/src/threadclearstate.c: Improve comment.
* 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-222-33/+40
| | | | * cpu_asm.S: Spacing and comment alignment.
* 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-01-181-1/+16
| | | | | | | * posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c, posix/src/cleanuppush.c, posix/src/mqueueclose.c, posix/src/timergettime.c, posix/src/timersettime.c, score/include/rtems/score/timespec.h:
* 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-093-34/+52
| | | | | | | | | * score/include/rtems/score/wkspace.h, score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not inline _Workspace_Free or _Workspace_Allocate since they are not always inlined and actually smaller overall as subroutines. They are not particularly time critical so inlining is not absolutely necessary.
* 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-092-4/+16
| | | | | | * score/include/rtems/score/coremutex.h, score/src/coremutexseizeintr.c: Fix conditional code for inlining _CORE_mutex_Seize_interrupt_trylock() and add comments.
* 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-091-14/+10
| | | | | * score/src/objectgetnoprotection.c: Eliminate duplicate exit path code when there is an error.
* 2008-01-09 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-01-091-1/+2
| | | | | | * posix/src/keycreate.c, rtems/src/eventseize.c, score/include/rtems/score/interr.h: Rearranged source to allow more test coverage.
* 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-081-1/+2
| | | | * score/Makefile.am: Add missing file.
* 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-073-14/+11
| | | | | | | | * score/inline/rtems/score/isr.inl: Fix spacing. * score/src/apimutexallocate.c: Fix spacing. * score/src/coremsgseize.c: Check for message pending instead of message pending count to avoid dead code from inlined chain routine. It checks if the chain is empty so is redundant to count == 0.
* 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-071-0/+17
| | | | * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
* 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-071-2/+1
| | | | | * score/src/threadget.c: Use _Objects_Is_api_valid rather than open coding it.
* 2008-01-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-01-041-0/+8
| | | | | | | | * score/src/threadhandler.c, sapi/src/exshutdown.c: cannot call _fini via atexit() from rtems_shutdown_executive() because at the point where rtems_shutdown_executive is called the C-library is already dead. Instead, register an atexit(_fini) after calling _init().
* 2007-12-22 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-223-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: fixed bug that always enabled strict order mutexes. * score/inline/rtems/score/coremutex.inl: Fixed coding standard. * score/src/coremutex.c: Add the holder's thread to the lock_mutex list if the mutex is initialised locked. * libnetworking/rtems/rtems_glue.c: Changed semaphore error message to show the error is an rtems-net error. * libmisc/monitor/mon-network.c: Removed warnings. * telnetd/icmds.c: Changed shell_* to rtems_shell_*. * score/Makefile.am: Fixed typo that stopped 'make tags' working. * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c, libmisc/shell/extern-cp.h, libmisc/shell/fts.c, libmisc/shell/fts.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c, libmisc/shell/verr.c, libmisc/shell/verrx.c, libmisc/shell/vwarn.c, libmisc/shell/vwarnx.c, libmisc/shell/warn.c, libmisc/shell/warnx.c: New. Ported from BSD. * libmisc/shell/shellconfig.h: Add the cp command. * libmisc/Makefile.am: Add the new files to the shell. * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting support. * libblock/src/flashdisk.c: Fixed disk drive count size setting bug.
* 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-212-3/+49
| | | | | | | | * configure.ac, score/include/rtems/score/coremutex.h, score/inline/rtems/score/coremutex.inl: Add the ability to disable inlining coremutex seize. This reduces the code size and also improves the process of coverage analysis. * score/src/coremutexseizeintr.c: New file.
* 2007-12-21 Xi Yang <hiyangxi@gmail.com>Joel Sherrill2007-12-215-8/+81
| | | | | | | | | * configure.ac, score/include/rtems/score/coremutex.h, score/include/rtems/score/thread.h, score/inline/rtems/score/coremutex.inl, score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add support for proper stacking of priority inheritance on mutexes as well as enforce proper order of release.
* 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-202-1/+5
| | | | * rtems/score/cpu.h: Use correct register name.
* 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-191-4/+5
| | | | | | | | | | | * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_report_statistics_plugin.c, libmisc/shell/shell.c, libmisc/shell/shell.h, score/src/objectinitializeinformation.c: Add posix_memalign. Split out management of deferred frees to subroutines. * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
* 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-1728-0/+104
| | | | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
* 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-171-11/+12
| | | | | * score/src/threadqextractwithproxy.c: Conditionalize code that is only required in multiprocessing configuration.