summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/threadhandler.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove, moved to cpukit.Ralf Corsepius2002-07-221-158/+0
|
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-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 Sherrill2001-11-201-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 Sherrill2001-10-221-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 Sherrill2001-09-271-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 Sherrill1999-11-171-2/+1
|
* Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to addJoel Sherrill1999-08-301-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 isJoel Sherrill1999-05-171-0/+119
split into one function per file, this will decrease the size of executables.