summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added new defines OBJECTS_ID_NONEThomas Doerfler2008-05-271-0/+5
| | | | and RTEMS_ID_NONE. No object can have this ID.
* 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-223-6/+37
| | | | | | | | | | | | | * itron/include/rtems/itron/task.h, itron/src/del_tsk.c, itron/src/exd_tsk.c, itron/src/task.c, posix/include/rtems/posix/threadsup.h, posix/src/cancel.c, posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c, posix/src/setcancelstate.c, posix/src/setcanceltype.c, posix/src/testcancel.c, rtems/src/taskdelete.c, score/inline/rtems/score/object.inl, score/src/objectclose.c, score/src/threadclose.c: Make all task delete/exit/cancel routines follow the same critical section pattern. Also ensure that POSIX cancelation routines are run at thread exit.
* 2008-05-16 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2008-05-162-16/+26
| | | | | | | | * score/src/threadchangepriority.c: Just in case the transient state was set when we entered, ensure that it is still set when we exit. * score/src/threadclose.c: When a thread is being deleted, it should go into the dormant state -- not the transient state.
* 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-061-2/+2
| | | | | * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve comments.
* Fix date.Joel Sherrill2008-05-061-1/+1
|
* 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-061-1/+29
| | | | * score/src/objectget.c: Improve comments and readability.
* 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-062-4/+22
| | | | | | * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h, score/src/coresemseize.c, score/src/threadhandler.c: Comment improvements from class.
* Fix typo.Joel Sherrill2008-04-281-5/+0
|
* 2008-04-28 Daron Chabot <daron.chabot@usask.ca>Joel Sherrill2008-04-282-1/+7
| | | | | | | | * posix/src/keycreate.c, posix/src/pthreadequal.c, rtems/src/semtranslatereturncode.c, score/cpu/powerpc/rtems/score/powerpc.h, score/src/threadblockingoperationcancel.c: Fix compilation errors when --enable-rtems-debug is used.
* 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-251-1/+1
| | | | * score/include/rtems/system.h: Fix typo in comment.
* 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-182-2/+11
| | | | * cpu.c: Add comment.
* 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-04-172-1/+8
| | | | | * cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for cpsr.
* 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.