Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cosmetics from CVS-HEAD. | Ralf Corsepius | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | Whitespace removal. | Ralf Corsepius | 2009-11-29 | 1 | -1/+1 |
| | |||||
* | 2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-10-14 | 1 | -3/+0 |
| | | | | * score/src/threadhandler.c: Remove comment mentioning unix port. | ||||
* | 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2009-09-11 | 1 | -5/+8 |
| | | | | | | | * score/include/rtems/score/thread.h, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Disable thread protocol and scheduling capabilities not exercised when POSIX or ITRON API is disabled. | ||||
* | 2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2009-06-01 | 1 | -56/+54 |
| | | | | | | | | * score/include/rtems/score/thread.h, score/src/threadhandler.c: Merge conditional code from main and init/fini C++ constructors so the body of this method reads better. Mark thread prototypes which are not currently exercised by any APIs with FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional. | ||||
* | Eliminate TRUE/FALSE. | Ralf Corsepius | 2008-12-22 | 1 | -1/+1 |
| | |||||
* | 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2008-11-20 | 1 | -2/+2 |
| | | | | | | * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Do not think about running init/fini on AVR. We do not know what mechanism it uses but this is not it. | ||||
* | 2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2008-11-05 | 1 | -2/+8 |
| | | | | * score/src/threadhandler.c: M32R uses different name for init. | ||||
* | 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2008-08-18 | 1 | -6/+7 |
| | | | | | | | | | | | | * itron/include/rtems/itron/task.h, itron/src/def_cyc.c, itron/src/task.c, libcsupport/src/newlibc_exit.c, libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c, posix/include/rtems/posix/pthread.h, posix/src/pthread.c, posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h, rtems/src/tasks.c, score/include/rtems/score/stack.h, score/inline/rtems/score/stack.inl, score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix various nested-externs warnings. | ||||
* | 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2008-05-27 | 1 | -2/+0 |
| | | | | | | * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call fini() as part of exit(). This avoids atexit() being a required function. | ||||
* | 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2008-05-06 | 1 | -1/+1 |
| | | | | | | * rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h, score/src/coresemseize.c, score/src/threadhandler.c: Comment improvements from class. | ||||
* | 2008-01-03 Till Straumann <strauman@slac.stanford.edu> | Till Straumann | 2008-01-04 | 1 | -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-11-02 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2007-11-02 | 1 | -0/+7 |
| | | | | | | | | * score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/context.h, score/src/threadhandler.c: Fix stack so gdb backtrace does not print corrupted frame message after _Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the SPARC implementation and I made it more general. | ||||
* | 2007-08-28 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2007-08-28 | 1 | -1/+0 |
| | | | | | * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix spacing and spelling. | ||||
* | 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2007-05-15 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am, rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h, rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c, rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c, rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c, score/Makefile.am, score/include/rtems/score/object.h, score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate Monotonic Statistics and Period Usage into Rate Monotonic Manager. Added the following directives: rtems_rate_monotonic_get_statistics, rtems_rate_monotonic_reset_statistics, rtems_rate_montonic_reset_all_statistics, rtems_rate_montonic_report_statistics, and rtems_object_get_name. Obsoleted the rtems/rtmonuse.h file as a public interface. * rtems/src/ratemongetstatistics.c, rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c, rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c, score/src/objectgetnameasstring.c: New files. * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed. | ||||
* | 2007-03-05 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2007-03-05 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | PR 1222/cpukit * score/Makefile.am, score/include/rtems/score/coremutex.h, score/include/rtems/score/threadq.h, score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c, score/src/coremutexsurrender.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadqdequeuefifo.c, score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c, score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c, score/src/threadqextractfifo.c, score/src/threadqextractpriority.c, score/src/threadsetstate.c: Enhance so that when the prioirity of a thread that is blocked on a priority based thread queue is changed, that its placement in the queue is reevaluated based upon the new priority. This enhancement includes modifications to the SuperCore as well as new test cases. * score/src/threadqrequeue.c: New file. | ||||
* | 2006-03-08 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2006-03-08 | 1 | -1/+1 |
| | | | | | | | PR 761/rtems * score/src/threadhandler.c: Add volatile cast so test is weak function is present will do something. Otherwise, it can be assume by gcc to always be a true condition. | ||||
* | Include config.h. | Ralf Corsepius | 2005-01-27 | 1 | -0/+4 |
| | |||||
* | Remove stray white spaces. | Ralf Corsepius | 2004-04-18 | 1 | -8/+8 |
| | |||||
* | Remove stray white spaces. | Ralf Corsepius | 2004-04-17 | 1 | -6/+6 |
| | |||||
* | 2003-09-04 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2003-09-04 | 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. | ||||
* | 2003-03-18 Till Straumann <strauman@slac.stanford.edu> | Joel Sherrill | 2003-03-18 | 1 | -2/+2 |
| | | | | | | | | PR 356/bsps * src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant. Let Thread_Handler verify that _init/_main are non-NULL before calling them (gives the linker script/user more freedom to handle special cases). | ||||
* | 2002-10-28 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2002-10-28 | 1 | -0/+6 |
| | | | | | * src/threadhandler.c: Prototype _init() and _main() if they are needed to avoid a warning. | ||||
* | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> | Joel Sherrill | 2002-05-14 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_. | ||||
* | 2001-11-20 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2001-11-20 | 1 | -2/+7 |
| | | | | | | | | * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, invoke the global constructors via __main. Reported as tested by Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov <vvv@oktet.ru> in conjunction with a new set of tool RPMs (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. | ||||
* | 2001-10-22 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2001-10-22 | 1 | -3/+3 |
| | | | | | * src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI pollutes the application namespace. | ||||
* | 2001-09-27 Eric Norum <eric.norum@usask.ca> | Joel Sherrill | 2001-09-27 | 1 | -0/+13 |
| | | | | | | | * src/threadhandler.c: Now process C++ global constructors (_init) as part of the first task execution not in BSP space. This depends on the toolset defining USE_INIT_FINI so you have to have the right toolset version. | ||||
* | Updated copyright notice. | Joel Sherrill | 1999-11-17 | 1 | -2/+1 |
| | |||||
* | Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to add | Joel Sherrill | 1999-08-30 | 1 | -13/+24 |
| | | | | | support for return codes from POSIX threads that do an implicit exit by returning from the bottom of the main function. | ||||
* | Thread Handler split into multiple files. Eventually, as RTEMS is | Joel Sherrill | 1999-05-17 | 1 | -0/+119 |
split into one function per file, this will decrease the size of executables. |