Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-09-19 | Do not use RTEMS_INLINE_ROUTINE | Sebastian Huber | 1 | -9/+9 | |
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935. | |||||
2022-02-28 | cpukit/include/rtems/score/[s-z]*.h: Change license to BSD-2 | Joel Sherrill | 1 | -3/+22 | |
Updates #3053. | |||||
2020-12-02 | score: Canonicalize Doxygen @file comments | Sebastian Huber | 1 | -4/+2 | |
Use common phrases for the file brief descriptions. Update #3706. | |||||
2019-12-11 | states*.h: Fix naming inconsistency and formatting | Joel Sherrill | 1 | -1/+0 | |
2019-05-13 | doxygen: score: adjust doc in statesimpl.h to doxygen guidelines | Andreas Dachsberger | 1 | -25/+63 | |
Update #3706. | |||||
2019-04-04 | doxygen: Rename Score* groups in RTEMSScore* | Sebastian Huber | 1 | -1/+1 | |
Update #3706 | |||||
2018-01-25 | Remove make preinstall | Chris Johns | 1 | -0/+0 | |
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254. | |||||
2017-01-31 | score: Add _Thread_queue_Object_name | Sebastian Huber | 1 | -29/+19 | |
Add the special thread queue name _Thread_queue_Object_name to mark thread queues embedded in an object with identifier. Using the special thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for this purpose since the thread wait information and thread state are protected by different SMP locks in separate critical sections. Remove STATES_THREAD_QUEUE_WITH_IDENTIFIER. Add and use _Thread_queue_Object_initialize(). Update #2858. | |||||
2017-01-12 | score: Remove unused _States_Is_*() | Sebastian Huber | 1 | -153/+0 | |
2017-01-12 | score: Replace STATES_DELAYING | Sebastian Huber | 1 | -37/+6 | |
Replace STATES_DELAYING with STATES_WAITING_FOR_TIME. There is no need for separate timeout thread states. The Thread_Control::Timer::header and Watchdog_Control::cpu members can be used to figure out the kind of timeout. | |||||
2017-01-11 | score: Optimize thread state values | Sebastian Huber | 1 | -48/+73 | |
2017-01-11 | score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER | Sebastian Huber | 1 | -13/+14 | |
Add thread state bit to identify thread queues that are embedded in an object with identifier. | |||||
2017-01-11 | score: Delete STATES_WAITING_FOR_BUFFER | Sebastian Huber | 1 | -19/+1 | |
2017-01-11 | score: Format thread state defines | Sebastian Huber | 1 | -27/+27 | |
Specify all 32-bits in a thread state define. | |||||
2016-07-26 | score: Add a STATES_DEBUGGER for use by debugging agents to a thread's state. | Chris Johns | 1 | -0/+2 | |
2016-05-20 | score: Avoid Giant lock for _Thread_Start() | Sebastian Huber | 1 | -1/+1 | |
Update #2555. | |||||
2016-05-20 | posix: Rework pthread_join() | Sebastian Huber | 1 | -0/+7 | |
Rework pthread_join() to use _Thread_Join(). Close #2402. Update #2555. Update #2626. Close #2714. | |||||
2016-05-20 | score: Rework _Thread_Restart_other() | Sebastian Huber | 1 | -2/+2 | |
Rework _Thread_Restart_other() to use _Thread_Change_life_locked(). Cope with concurrent change requests by means of a pending request counter. Update #2555. Update #2626. | |||||
2016-05-20 | score: Add _Thread_Join() and _Thread_Cancel() | Sebastian Huber | 1 | -2/+0 | |
Split _Thread_Close() into _Thread_Join() and _Thread_Cancel() to prepare for a re-use in pthread_join() and pthread_cancel(). Update #2555. Update #2626. | |||||
2016-05-12 | score: Avoid Giant lock _Scheduler_Set_affinity() | Sebastian Huber | 1 | -2/+0 | |
Update #2555. | |||||
2015-07-30 | score: Add self-contained condition implementation | Sebastian Huber | 1 | -0/+3 | |
2015-07-30 | score: Add self-contained futex implementation | Sebastian Huber | 1 | -0/+3 | |
2015-07-30 | score: Add self-contained semaphore implementation | Sebastian Huber | 1 | -0/+3 | |
2015-07-30 | score: Add self-contained mutex implementation | Sebastian Huber | 1 | -0/+3 | |
This mutex implementation uses a thread priority queue with a simple priority inheritance mechanism (similar to the object based mutexes). The storage space must be supplied by the user (16 bytes on 32-bit targets). | |||||
2015-05-19 | score: Delete STATES_WAITING_ON_THREAD_QUEUE | Sebastian Huber | 1 | -24/+2 | |
Avoid the usage of the current thread state in _Thread_queue_Extract_with_return_code() since thread queues should not know anything about thread states. | |||||
2015-04-23 | score: Fix POSIX thread join | Sebastian Huber | 1 | -1/+3 | |
A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035. | |||||
2015-04-08 | score: Use _Thread_Clear_state() for _Thread_Ready | Sebastian Huber | 1 | -0/+3 | |
2014-05-15 | score: Simplify _Thread_Change_priority() | Sebastian Huber | 1 | -17/+0 | |
The function to change a thread priority was too complex. Simplify it with a new scheduler operation. This increases the average case performance due to the simplified logic. The interrupt disabled critical section is a bit prolonged since now the extract, update and enqueue steps are executed atomically. This should however not impact the worst-case interrupt latency since at least for the Deterministic Priority Scheduler this sequence can be carried out with a wee bit of instructions and no loops. Add _Scheduler_Change_priority() to replace the sequence of - _Thread_Set_transient(), - _Scheduler_Extract(), - _Scheduler_Enqueue(), and - _Scheduler_Enqueue_first(). Delete STATES_TRANSIENT, _States_Is_transient() and _Thread_Set_transient() since this state is now superfluous. With this change it is possible to get rid of the SCHEDULER_SMP_NODE_IN_THE_AIR state. This considerably simplifies the implementation of the new SMP locking protocols. | |||||
2014-05-14 | score: Add STATES_RESTARTING | Sebastian Huber | 1 | -0/+2 | |
Use separate state for thread restart. | |||||
2014-05-14 | score: Typo | Sebastian Huber | 1 | -1/+1 | |
2014-05-07 | score: Implement forced thread migration | Sebastian Huber | 1 | -0/+2 | |
The current implementation of task migration in RTEMS has some implications with respect to the interrupt latency. It is crucial to preserve the system invariant that a task can execute on at most one processor in the system at a time. This is accomplished with a boolean indicator in the task context. The processor architecture specific low-level task context switch code will mark that a task context is no longer executing and waits that the heir context stopped execution before it restores the heir context and resumes execution of the heir task. So there is one point in time in which a processor is without a task. This is essential to avoid cyclic dependencies in case multiple tasks migrate at once. Otherwise some supervising entity is necessary to prevent life-locks. Such a global supervisor would lead to scalability problems so this approach is not used. Currently the thread dispatch is performed with interrupts disabled. So in case the heir task is currently executing on another processor then this prolongs the time of disabled interrupts since one processor has to wait for another processor to make progress. It is difficult to avoid this issue with the interrupt latency since interrupts normally store the context of the interrupted task on its stack. In case a task is marked as not executing we must not use its task stack to store such an interrupt context. We cannot use the heir stack before it stopped execution on another processor. So if we enable interrupts during this transition we have to provide an alternative task independent stack for this time frame. This issue needs further investigation. | |||||
2014-03-31 | score: Thread life cycle re-implementation | Sebastian Huber | 1 | -0/+4 | |
The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors. | |||||
2014-03-24 | score: Delete unused STATES_ALL_SET | Sebastian Huber | 1 | -2/+0 | |
2014-03-21 | Change all references of rtems.com to rtems.org. | Chris Johns | 1 | -1/+1 | |
2013-10-31 | score: New state STATES_WAITING_FOR_BSD_WAKEUP | Sebastian Huber | 1 | -0/+3 | |
This state is necessery to implement the SLEEP(9) FreeBSD kernel API. | |||||
2013-07-26 | score: Create states implementation header | Sebastian Huber | 1 | -6/+91 | |
Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API. | |||||
2013-01-10 | cpukit: Fix many Doxygen warnings | Joel Sherrill | 1 | -1/+1 | |
2013-01-10 | cpukit: Use Consistent Beginning of Doxygen Group Notation | Joel Sherrill | 1 | -3/+2 | |
This is the result of a sed script which converts all uses of @{ into a consistent form. | |||||
2013-01-09 | score: Doxygen Clean Up Task #17 | Alex Ivanov | 1 | -106/+109 | |
2012-10-30 | rtems: Add system events | Sebastian Huber | 1 | -0/+15 | |
System events are similar to normal events. They offer a second set of events. These events are intended for internal RTEMS use and should not be used by applications (with the exception of the transient system event). | |||||
2012-05-11 | Remove All CVS Id Strings Possible Using a Script | Joel Sherrill | 1 | -2/+0 | |
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed. | |||||
2011-02-23 | 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> | Ralf Corsepius | 1 | -0/+2 | |
* score/include/rtems/debug.h, score/include/rtems/score/sysstate.h, score/include/rtems/score/timespec.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/states.inl: Add missing includes. | |||||
2009-07-22 | 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 1 | -22/+106 | |
* score/inline/rtems/score/states.inl: Add _States_Is_interruptible_by_signal. Add more DOxygen comments and clean up. | |||||
2008-12-22 | Eliminate TRUE/FALSE. | Ralf Corsepius | 1 | -38/+38 | |
2008-09-04 | Convert to "bool". | Ralf Corsepius | 1 | -19/+19 | |
2008-08-19 | Add header guard to force indirect inclusion. | Ralf Corsepius | 1 | -0/+4 | |
2005-02-21 | New header guards. | Ralf Corsepius | 1 | -2/+2 | |
2004-11-21 | Adjust doxygen @file. | Ralf Corsepius | 1 | -1/+1 | |
2004-11-01 | 2004-11-01 Joel Sherrill <joel@oarcorp.com> | Joel Sherrill | 1 | -130/+34 | |
* score/cpu/no_cpu/rtems/score/cpu.h, score/include/rtems/debug.h, score/include/rtems/seterr.h, score/include/rtems/system.h, score/include/rtems/score/address.h, score/include/rtems/score/apiext.h, score/include/rtems/score/apimutex.h, score/include/rtems/score/bitfield.h, score/include/rtems/score/chain.h, score/include/rtems/score/context.h, score/include/rtems/score/copyrt.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/include/rtems/score/heap.h, score/include/rtems/score/interr.h, score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h, score/include/rtems/score/objectmp.h, score/include/rtems/score/priority.h, score/include/rtems/score/stack.h, score/include/rtems/score/states.h, score/include/rtems/score/sysstate.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadmp.h, score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h, score/include/rtems/score/userext.h, score/include/rtems/score/watchdog.h, score/include/rtems/score/wkspace.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/chain.inl, score/inline/rtems/score/coremsg.inl, score/inline/rtems/score/coremutex.inl, score/inline/rtems/score/coresem.inl, score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl, score/inline/rtems/score/mppkt.inl, score/inline/rtems/score/objectmp.inl, score/inline/rtems/score/priority.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/states.inl, score/inline/rtems/score/sysstate.inl, score/inline/rtems/score/thread.inl, score/inline/rtems/score/threadmp.inl, score/inline/rtems/score/tod.inl, score/inline/rtems/score/tqdata.inl, score/inline/rtems/score/userext.inl, score/inline/rtems/score/watchdog.inl, score/inline/rtems/score/wkspace.inl: Add Doxygen comments -- working modifications which are not complete and may have broken code. Committing so work and testing can proceed. * score/Doxyfile, score/mainpage.h: New files. | |||||
2003-09-04 | 2003-09-04 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 1 | -1/+1 | |
* include/rtems/debug.h, include/rtems/seterr.h, include/rtems/system.h, include/rtems/score/address.h, include/rtems/score/apiext.h, include/rtems/score/apimutex.h, include/rtems/score/bitfield.h, include/rtems/score/chain.h, include/rtems/score/context.h, include/rtems/score/copyrt.h, include/rtems/score/coremsg.h, include/rtems/score/coremutex.h, include/rtems/score/coresem.h, include/rtems/score/heap.h, include/rtems/score/interr.h, include/rtems/score/isr.h, include/rtems/score/mpci.h, include/rtems/score/mppkt.h, include/rtems/score/object.h, include/rtems/score/objectmp.h, include/rtems/score/priority.h, include/rtems/score/stack.h, include/rtems/score/states.h, include/rtems/score/sysstate.h, include/rtems/score/thread.h, include/rtems/score/threadmp.h, include/rtems/score/threadq.h, include/rtems/score/tod.h, include/rtems/score/tqdata.h, include/rtems/score/userext.h, include/rtems/score/watchdog.h, include/rtems/score/wkspace.h, inline/rtems/score/address.inl, inline/rtems/score/chain.inl, inline/rtems/score/coremsg.inl, inline/rtems/score/coremutex.inl, inline/rtems/score/coresem.inl, inline/rtems/score/heap.inl, inline/rtems/score/isr.inl, inline/rtems/score/mppkt.inl, inline/rtems/score/object.inl, inline/rtems/score/objectmp.inl, inline/rtems/score/priority.inl, inline/rtems/score/stack.inl, inline/rtems/score/states.inl, inline/rtems/score/sysstate.inl, inline/rtems/score/thread.inl, inline/rtems/score/threadmp.inl, inline/rtems/score/tod.inl, inline/rtems/score/tqdata.inl, inline/rtems/score/userext.inl, inline/rtems/score/watchdog.inl, inline/rtems/score/wkspace.inl, macros/rtems/score/address.inl, macros/rtems/score/chain.inl, macros/rtems/score/coremsg.inl, macros/rtems/score/coremutex.inl, macros/rtems/score/coresem.inl, macros/rtems/score/heap.inl, macros/rtems/score/isr.inl, macros/rtems/score/mppkt.inl, macros/rtems/score/object.inl, macros/rtems/score/objectmp.inl, macros/rtems/score/priority.inl, macros/rtems/score/stack.inl, macros/rtems/score/states.inl, macros/rtems/score/sysstate.inl, macros/rtems/score/thread.inl, macros/rtems/score/threadmp.inl, macros/rtems/score/tod.inl, macros/rtems/score/tqdata.inl, macros/rtems/score/userext.inl, macros/rtems/score/watchdog.inl, macros/rtems/score/wkspace.inl, src/apiext.c, src/chain.c, src/coremsg.c, src/coremsgbroadcast.c, src/coremsgclose.c, src/coremsgflush.c, src/coremsgflushsupp.c, src/coremsgflushwait.c, src/coremsginsert.c, src/coremsgseize.c, src/coremsgsubmit.c, src/coremutex.c, src/coremutexflush.c, src/coremutexseize.c, src/coremutexsurrender.c, src/coresem.c, src/coresemflush.c, src/coresemseize.c, src/coresemsurrender.c, src/coretod.c, src/coretodset.c, src/coretodtickle.c, src/coretodtoseconds.c, src/coretodvalidate.c, src/heap.c, src/heapallocate.c, src/heapextend.c, src/heapfree.c, src/heapgetinfo.c, src/heapsizeofuserarea.c, src/heapwalk.c, src/interr.c, src/isr.c, src/iterateoverthreads.c, src/mpci.c, src/object.c, src/objectallocate.c, src/objectallocatebyindex.c, src/objectclearname.c, src/objectcomparenameraw.c, src/objectcomparenamestring.c, src/objectcopynameraw.c, src/objectcopynamestring.c, src/objectextendinformation.c, src/objectfree.c, src/objectget.c, src/objectgetbyindex.c, src/objectgetisr.c, src/objectgetnext.c, src/objectgetnoprotection.c, src/objectidtoname.c, src/objectinitializeinformation.c, src/objectmp.c, src/objectnametoid.c, src/objectshrinkinformation.c, src/thread.c, src/threadchangepriority.c, src/threadclearstate.c, src/threadclose.c, src/threadcreateidle.c, src/threaddelayended.c, src/threaddispatch.c, src/threadevaluatemode.c, src/threadget.c, src/threadhandler.c, src/threadidlebody.c, src/threadinitialize.c, src/threadloadenv.c, src/threadmp.c, src/threadq.c, src/threadqdequeue.c, src/threadqdequeuefifo.c, src/threadqdequeuepriority.c, src/threadqenqueue.c, src/threadqenqueuefifo.c, src/threadqenqueuepriority.c, src/threadqextract.c, src/threadqextractfifo.c, src/threadqextractpriority.c, src/threadqextractwithproxy.c, src/threadqfirst.c, src/threadqfirstfifo.c, src/threadqfirstpriority.c, src/threadqflush.c, src/threadqtimeout.c, src/threadready.c, src/threadreset.c, src/threadresettimeslice.c, src/threadrestart.c, src/threadresume.c, src/threadrotatequeue.c, src/threadsetpriority.c, src/threadsetstate.c, src/threadsettransient.c, src/threadstackallocate.c, src/threadstackfree.c, src/threadstart.c, src/threadstartmultitasking.c, src/threadsuspend.c, src/threadtickletimeslice.c, src/threadyieldprocessor.c, src/userext.c, src/watchdog.c, src/watchdogadjust.c, src/watchdoginsert.c, src/watchdogremove.c, src/watchdogtickle.c, src/wkspace.c: URL for license changed. |