Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: Introduce _Internal_error() | Sebastian Huber | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | score: Remove fatal is internal indicator | Sebastian Huber | 2016-12-09 | 1 | -5/+1 |
| | | | | | | | | | The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825. | ||||
* | score: Allow interrupts during thread dispatch | Sebastian Huber | 2016-11-18 | 1 | -3/+0 |
| | | | | | | | | | Use a processor-specific interrupt frame during context switches in case the executing thread is longer executes on the processor and the heir thread is about to start execution. During this period we must not use a thread stack for interrupt processing. Update #2809. | ||||
* | score: Add optional _CPU_Get_thread_executing() | Sebastian Huber | 2016-11-07 | 1 | -1/+2 |
| | |||||
* | score: Remove superfluous SMP debug support | Sebastian Huber | 2016-09-07 | 1 | -6/+2 |
| | | | | This information turned out to be useless in the last couple of months. | ||||
* | score: Relax thread begin extension environment | Sebastian Huber | 2016-07-25 | 1 | -7/+8 |
| | | | | Update #2752. | ||||
* | score: Rename _ISR_Disable_without_giant() | Sebastian Huber | 2016-05-20 | 1 | -1/+1 |
| | | | | | | | | | Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555. | ||||
* | score: Introduce Thread_Entry_information | Sebastian Huber | 2016-01-11 | 1 | -33/+4 |
| | | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514. | ||||
* | score: Add and use _Thread_Do_dispatch() | Sebastian Huber | 2015-03-05 | 1 | -39/+31 |
| | | | | | | | | | | | | The _Thread_Dispatch() function is quite complex and the time to set up and tear down the stack frame is significant. Split this function into two parts. The complex part is now in _Thread_Do_dispatch(). Call _Thread_Do_dispatch() in _Thread_Enable_dispatch() only if necessary. This increases the average case performance. Simplify _Thread_Handler() for SMP configurations. Update #2273. | ||||
* | score: Fix FP context restore via _Thread_Handler | Sebastian Huber | 2015-02-17 | 1 | -10/+1 |
| | | | | | | | | | | After a context switch we end up in the second part of _Thread_Dispatch() or in _Thread_Handler() in case of new threads. Use the same function _Thread_Restore_fp() to restore the floating-point context. It makes no sense to do this in _Thread_Start_multitasking(). This fixes also a race condition in SMP configurations. Update #2268. | ||||
* | score: Rework global construction | Sebastian Huber | 2014-10-13 | 1 | -82/+2 |
| | | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation. | ||||
* | score: Implement forced thread migration | Sebastian Huber | 2014-05-07 | 1 | -2/+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. | ||||
* | score: Use common names for per-CPU variables | Sebastian Huber | 2014-04-22 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | Use "cpu" for an arbitrary Per_CPU_Control variable. Use "cpu_self" for the Per_CPU_Control of the current processor. Use "cpu_index" for an arbitrary processor index. Use "cpu_index_self" for the processor index of the current processor. Use "cpu_count" for the processor count obtained via _SMP_Get_processor_count(). Use "cpu_max" for the processor maximum obtained by rtems_configuration_get_maximum_processors(). | ||||
* | Change all references of rtems.com to rtems.org. | Chris Johns | 2014-03-21 | 1 | -1/+1 |
| | |||||
* | score: Add SMP lock profiling support | Sebastian Huber | 2014-03-14 | 1 | -1/+2 |
| | |||||
* | score: Add per-CPU profiling | Sebastian Huber | 2014-03-14 | 1 | -0/+1 |
| | | | | | | | Add per-CPU profiling stats API. Implement the thread dispatch disable level profiling. The interrupt profiling must be implemented in CPU port specific parts (mostly assembler code). Add a support function _Profiling_Outer_most_interrupt_entry_and_exit() for this purpose. | ||||
* | score: Add local context to SMP lock API | Sebastian Huber | 2014-03-11 | 1 | -2/+4 |
| | | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated. | ||||
* | score: Rename _Internal_error_Occurred() | Sebastian Huber | 2014-02-21 | 1 | -1/+1 |
| | | | | Rename _Internal_error_Occurred() into _Terminate(). | ||||
* | score: Per-CPU thread dispatch disable level | Sebastian Huber | 2013-08-09 | 1 | -17/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a per-CPU thread dispatch disable level. So instead of one global thread dispatch disable level we have now one instance per processor. This is a major performance improvement for SMP. On non-SMP configurations this may simplifiy the interrupt entry/exit code. The giant lock is still present, but it is now decoupled from the thread dispatching in _Thread_Dispatch(), _Thread_Handler(), _Thread_Restart_self() and the interrupt entry/exit. Access to the giant lock is now available via _Giant_Acquire() and _Giant_Release(). The giant lock is still implicitly acquired via _Thread_Dispatch_decrement_disable_level(). The giant lock is only acquired for high-level operations in interrupt handlers (e.g. release of a semaphore, sending of an event). As a side-effect this change fixes the lost thread dispatch necessary indication bug in _Thread_Dispatch(). A per-CPU thread dispatch disable level greatly simplifies the SMP support for the interrupt entry/exit code since no spin locks have to be acquired in this area. It is only necessary to get the current processor index and use this to calculate the address of the own per-CPU control. This reduces the interrupt latency considerably. All elements for the interrupt entry/exit code are now part of the Per_CPU_Control structure: thread dispatch disable level, ISR nest level and thread dispatch necessary. Nothing else is required (except CPU port specific stuff like on SPARC). | ||||
* | score: Create thread implementation header | Sebastian Huber | 2013-07-26 | 1 | -14/+2 |
| | | | | | | | | Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files. | ||||
* | score: Merge sysstate API into one file | Sebastian Huber | 2013-07-24 | 1 | -1/+0 |
| | |||||
* | threadhandler.c: Add comments | Joel Sherrill | 2013-07-09 | 1 | -0/+10 |
| | |||||
* | score: Move thread dispatch content to new file | Sebastian Huber | 2013-06-07 | 1 | -0/+1 |
| | | | | | | | Move thread dispatch declarations and inline functions to new header <rtems/score/threaddispatch.h> to make it independent of the Thread_Control structure. This avoids a cyclic dependency in case thread dispatch functions are used for the object implementation. | ||||
* | smp: Move secondary CPU initialization request | Sebastian Huber | 2013-05-29 | 1 | -6/+0 |
| | | | | | Do not assume that the scheduler selects the main processor for the initialization thread. | ||||
* | score misc: Score misc: Clean up Doxygen #11 (GCI 2012) | Daniel Georgiev | 2012-12-01 | 1 | -24/+2 |
| | | | | | | | This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/8013204 | ||||
* | score: Add and use <rtems/score/userextimpl.h> | Sebastian Huber | 2012-11-22 | 1 | -1/+1 |
| | | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation. | ||||
* | threadhandler.c: Fix spelling of __main() in prototype | Joel Sherrill | 2012-06-11 | 1 | -5/+8 |
| | |||||
* | Remove All CVS Id Strings Possible Using a Script | Joel Sherrill | 2012-05-11 | 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-10-07 Ralf Corsépius <ralf.corsepius@rtems.org> | Ralf Corsepius | 2011-10-07 | 1 | -5/+0 |
| | | | | | * score/src/threadhandler.c: Don't undefine __USE_INIT_FINI__ for the avr. | ||||
* | 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2011-09-09 | 1 | -5/+12 |
| | | | | | | PR 1901/cpukit * score/src/threadhandler.c: Do not use internal tasks for global initialization in MP configuration. | ||||
* | 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com> | Joel Sherrill | 2011-08-29 | 1 | -8/+8 |
| | | | | | * include/rtems/userenv.h, score/src/threadhandler.c: Formatting. * sapi/src/exshutdown.c: Add comments. | ||||
* | 2011-08-15 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2011-08-15 | 1 | -0/+2 |
| | | | | | | * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added init/fini array support for ARM EABI. The __libc_init_array() and __libc_fini_array() functions are provided by Newlib. | ||||
* | 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2011-07-24 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, libcsupport/src/geteuid.c, libcsupport/src/getgroups.c, libcsupport/src/getpgrp.c, libcsupport/src/getpid.c, libcsupport/src/getppid.c, libcsupport/src/setpgid.c, libcsupport/src/setsid.c, libcsupport/src/utsname.c, libmisc/stackchk/check.c, posix/include/rtems/posix/mqueue.h, posix/inline/rtems/posix/cond.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/mutex.inl, posix/inline/rtems/posix/pthread.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/timer.inl, posix/src/alarm.c, posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c, posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c, posix/src/cleanuppop.c, posix/src/cleanuppush.c, posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c, posix/src/clockgetres.c, posix/src/clockgettime.c, posix/src/clocksetenableattr.c, posix/src/clocksettime.c, posix/src/cond.c, posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c, posix/src/condattrinit.c, posix/src/condattrsetpshared.c, posix/src/condbroadcast.c, posix/src/conddefaultattributes.c, posix/src/conddestroy.c, posix/src/condinit.c, posix/src/condsignal.c, posix/src/condsignalsupp.c, posix/src/condtimedwait.c, posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/keygetspecific.c, posix/src/keyrundestructors.c, posix/src/keysetspecific.c, posix/src/mprotect.c, posix/src/mqueue.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c, posix/src/mqueuenotify.c, posix/src/mqueuereceive.c, posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c, posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c, posix/src/mqueuetranslatereturncode.c, posix/src/mqueueunlink.c, posix/src/mutex.c, posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c, posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c, posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c, posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c, posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c, posix/src/mutexlock.c, posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c, posix/src/mutextrylock.c, posix/src/mutexunlock.c, posix/src/nanosleep.c, posix/src/psignal.c, posix/src/psignalchecksignal.c, posix/src/psignalclearprocesssignals.c, posix/src/psignalclearsignals.c, posix/src/psignalsetprocesssignals.c, posix/src/psignalunblockthread.c, posix/src/pthreadinitthreads.c, posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c, posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c, posix/src/semaphore.c, posix/src/semaphoredeletesupp.c, posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c, posix/src/semclose.c, posix/src/semdestroy.c, posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c, posix/src/sempost.c, posix/src/semtimedwait.c, posix/src/semtrywait.c, posix/src/semunlink.c, posix/src/semwait.c, posix/src/sysconf.c, posix/src/testcancel.c, posix/src/ualarm.c, rtems/src/clockgetuptime.c, rtems/src/clockset.c, rtems/src/clocksetnsecshandler.c, rtems/src/clocktick.c, rtems/src/clocktodtoseconds.c, rtems/src/clocktodvalidate.c, rtems/src/dpmem.c, rtems/src/dpmemcreate.c, rtems/src/dpmemdelete.c, rtems/src/dpmemexternal2internal.c, rtems/src/dpmemident.c, rtems/src/dpmeminternal2external.c, rtems/src/event.c, rtems/src/eventmp.c, rtems/src/eventreceive.c, rtems/src/eventseize.c, rtems/src/eventsend.c, rtems/src/eventsurrender.c, rtems/src/eventtimeout.c, rtems/src/mp.c, rtems/src/msg.c, rtems/src/msgmp.c, rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c, rtems/src/msgqdelete.c, rtems/src/msgqflush.c, rtems/src/msgqgetnumberpending.c, rtems/src/msgqident.c, rtems/src/msgqreceive.c, rtems/src/msgqtranslatereturncode.c, rtems/src/msgqurgent.c, rtems/src/part.c, rtems/src/partcreate.c, rtems/src/partdelete.c, rtems/src/partgetbuffer.c, rtems/src/partident.c, rtems/src/partmp.c, rtems/src/partreturnbuffer.c, rtems/src/ratemon.c, rtems/src/ratemoncancel.c, rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c, rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c, rtems/src/ratemontimeout.c, rtems/src/region.c, rtems/src/regioncreate.c, rtems/src/regiondelete.c, rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionident.c, rtems/src/regionmp.c, rtems/src/regionprocessqueue.c, rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c, rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/semcreate.c, rtems/src/semdelete.c, rtems/src/semflush.c, rtems/src/semident.c, rtems/src/semmp.c, rtems/src/semobtain.c, rtems/src/semrelease.c, rtems/src/semtranslatereturncode.c, rtems/src/signal.c, rtems/src/signalcatch.c, rtems/src/signalmp.c, rtems/src/signalsend.c, rtems/src/taskcreate.c, rtems/src/taskdelete.c, rtems/src/taskgetnote.c, rtems/src/taskident.c, rtems/src/taskinitusers.c, rtems/src/taskissuspended.c, rtems/src/taskmp.c, rtems/src/taskrestart.c, rtems/src/taskresume.c, rtems/src/tasks.c, rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c, rtems/src/taskstart.c, rtems/src/tasksuspend.c, rtems/src/taskwakeafter.c, rtems/src/taskwakewhen.c, rtems/src/timercancel.c, rtems/src/timercreate.c, rtems/src/timerdelete.c, rtems/src/timerfireafter.c, rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c, rtems/src/timerident.c, rtems/src/timerreset.c, rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c, sapi/src/debug.c, sapi/src/extension.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/apiext.c, score/src/chain.c, score/src/corebarrier.c, score/src/corebarrierrelease.c, score/src/corebarrierwait.c, score/src/coremsgbroadcast.c, score/src/coremsgclose.c, score/src/coremsgflush.c, score/src/coremsgflushsupp.c, score/src/coremsgflushwait.c, score/src/coremsginsert.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c, score/src/coremutex.c, score/src/coremutexflush.c, score/src/coremutexseize.c, score/src/corerwlock.c, score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c, score/src/coresem.c, score/src/coresemflush.c, score/src/coresemsurrender.c, score/src/corespinlock.c, score/src/corespinlockrelease.c, score/src/corespinlockwait.c, score/src/coretod.c, score/src/coretodset.c, score/src/coretodtickle.c, score/src/heap.c, score/src/interr.c, score/src/mpci.c, score/src/objectallocate.c, score/src/objectextendinformation.c, score/src/objectfree.c, score/src/objectget.c, score/src/objectgetisr.c, score/src/objectgetnext.c, score/src/objectgetnoprotection.c, score/src/objectinitializeinformation.c, score/src/objectmp.c, score/src/objectnametoid.c, score/src/objectnametoidstring.c, score/src/objectshrinkinformation.c, score/src/rbtree.c, score/src/threaddelayended.c, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadloadenv.c, score/src/threadmp.c, 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/threadstackallocate.c, score/src/threadstartmultitasking.c, score/src/watchdog.c, score/src/watchdogadjust.c, score/src/watchdoginsert.c, score/src/watchdogremove.c, score/src/watchdogtickle.c: Remove /*PAGE markers which were interpreted by a long dead print script. | ||||
* | 2011-05-26 Jennifer Averett <Jennifer.Averett@OARcorp.com> | Jennifer Averett | 2011-05-26 | 1 | -2/+14 |
| | | | | | | | | PR 1796/cpukit * sapi/src/exshutdown.c, score/include/rtems/score/percpu.h, score/include/rtems/score/smp.h, score/src/smp.c, score/src/threaddispatch.c, score/src/threadhandler.c: Added SMP interprocess communications. | ||||
* | 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com> | Joel Sherrill | 2011-01-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h, score/cpu/i386/rtems/score/idtr.h, score/cpu/powerpc/rtems/powerpc/registers.h, score/src/objectidtoname.c, score/src/schedulerpriorityblock.c, score/src/schedulerpriorityschedule.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriorityyield.c, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadclose.c, score/src/threadcreateidle.c, score/src/threaddelayended.c, score/src/threaddispatch.c, score/src/threadget.c, score/src/threadhandler.c, score/src/threadinitialize.c, score/src/threadloadenv.c, score/src/threadready.c, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/threadstart.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c: Fix typo where license said found in found in. | ||||
* | 2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2010-11-30 | 1 | -22/+0 |
| | | | | | | | * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert previous commit due to too many broken linker command files. The HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but only few linker command files respect this. | ||||
* | 2010-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2010-11-29 | 1 | -0/+22 |
| | | | | | * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added support for .preinit_array, .init_array and .fini_array sections. | ||||
* | 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. |