summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scheduler: Specify thread of yield operationSebastian Huber2013-06-141-5/+13
| | | | | | The yielding thread of the yield operation is now specified by a parameter. The tick operation may be performed for each executing thread in a SMP configuration.
* scheduler: Add start idle thread operationSebastian Huber2013-06-141-5/+15
| | | | Add and use _Scheduler_Start_idle().
* score: Add and use _Thread_Dispatch_if_necessary()Sebastian Huber2013-06-141-4/+1
| | | | | | | | | Delete _Thread_Evaluate_is_dispatch_needed(). Use _Thread_Dispatch_is_enabled() in rtems_task_mode() instead of the system state to determine if a thread dispatch is allowed. Signales are now delivered in rtems_task_mode() even if preemption is disabled. This is in line with rtems_signal_send().
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-141-1/+1
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* rtems: Simplify rtems_task_mode()Sebastian Huber2013-06-141-6/+4
|
* score: Add and use _Objects_Put()Sebastian Huber2013-06-0752-82/+84
| | | | | | Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
* score: Add _Objects_Put_for_get_isr_disable()Sebastian Huber2013-06-071-0/+2
| | | | | Provide SMP support. The ISR disable/enable is not enough to ensure mutual exclusion for SMP configurations.
* score: Simplify _CORE_semaphore_Seize_isr_disableSebastian Huber2013-06-071-1/+1
|
* rtems: Move unnest dispatch after ISR enableSebastian Huber2013-06-071-1/+1
| | | | This prevents a lock order reversal.
* rtems: Fix system event send for remote threadsSebastian Huber2013-06-071-0/+1
|
* smp: Replace task delete with suspendSebastian Huber2013-05-291-0/+4
| | | | The rtems_task_delete() does not work on SMP at the moment. See PR1814.
* rtems: Avoid NULL pointer accessSebastian Huber2013-01-101-5/+7
| | | | | The _MPCI_table may be NULL in case multiprocessing is disabled in the application configuration.
* rtems: Simplify _Event_Surrender()Sebastian Huber2013-01-071-28/+14
| | | | Check for a satisfied event condition only once.
* rtems: Simplify _Event_Surrender()Sebastian Huber2013-01-071-4/+6
| | | | Remove superfluous test for _ISR_Is_in_progress().
* rtems: Simplify _Event_Surrender()Sebastian Huber2013-01-071-2/+1
| | | | | | | It is impossible to reach the simplified expression if we are in the THREAD_BLOCKING_OPERATION_TIMEOUT state since in this case Wait.count (event condition) would be set to zero and thus the seized event set would be empty.
* rtems: Critical fix for eventsSebastian Huber2013-01-071-7/+12
| | | | | | | Commit 4b45c1393ce4ee3e1c2762ef3145d2bd6b5b38da marked a test in _Event_Timeout() as debug only. This test is required also in non-debug configurations since otherwise state corruption can happen. A revised test sptests/spintrcritical10 checks the relevant sequences.
* rtems: Add commentSebastian Huber2013-01-071-0/+5
|
* misc rtems: Clean up Doxygen GCI Task #8Mathew Kallada2012-12-0818-45/+127
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8024203
* rtems misc: Clean up Doxygen GCI Task #5Mathew Kallada2012-12-0520-58/+140
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8015207
* rtems misc: Clean up Doxygen GCI Task #7Alex Ivanov2012-12-0519-282/+133
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7950206
* rtems misc: Clean up Doxygen GCI Task #6Alex Ivanov2012-12-0519-299/+129
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8019205
* rtems: Add signal post switch extension on the flySebastian Huber2012-12-052-50/+44
|
* score: Add API extensions post switch listSebastian Huber2012-12-051-4/+7
| | | | | | | | Move post switch hook from API_extensions_Control to new API_extensions_Post_switch_control. Rename _API_extensions_Run_postswitch() in _API_extensions_Run_post_switch(). Add _API_extensions_Post_switch_list and _API_extensions_Add_post_switch().
* rtems misc: Clean up Doxygen GCI Task #4Alex Ivanov2012-12-0420-241/+140
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7950205
* cpukit: Clean up Doxygen #3 (GCI 2012)Alex Ivanov2012-12-0320-318/+140
|
* score misc: Clean up Doxygen #14 (GCI 2012)Mathew Kallada2012-12-0220-265/+140
| | | | | | | 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/8025204
* score misc: Clean up Doxygen #12 (GCI 2012)Alex Ivanov2012-12-0220-343/+140
| | | | | | | 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/8025203
* score: Add and use <rtems/score/userextimpl.h>Sebastian Huber2012-11-2216-16/+1
| | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation.
* rtems: Add rtems_clock_get_uptime_seconds()Sebastian Huber2012-11-211-0/+34
|
* rtems: Add rtems_clock_get_uptime_timeval()Sebastian Huber2012-11-211-0/+27
|
* rtems: Use correct sync state for system eventsSebastian Huber2012-10-312-28/+11
|
* rtems: Add system eventsSebastian Huber2012-10-304-0/+136
| | | | | | | 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).
* rtems: Reusable event implementationSebastian Huber2012-10-305-168/+110
| | | | Change event implementation to enable reuse for system events.
* rtems: Remove unused event_condition memberSebastian Huber2012-10-301-1/+0
|
* score: Change _Heap_Extend() APISebastian Huber2012-10-251-4/+3
| | | | | | | | | | | | | | The _Heap_Extend() has now the same signature as _Heap_Initialize(). The 4th parameter is ignored (page size in _Heap_Initialize()). Add Heap_Area and Heap_Initialization_or_extend_handler. Add and test _Heap_No_extend(). This helps to do a table based heap initialization and extension. Create a table of Heap_Area elements and iterate through it. Set the handler to _Heap_Initialize() in the first iteration and then to _Heap_Extend().
* rtems: PR1844: Fix MP process packet sizeSebastian Huber2012-10-081-2/+2
|
* score: Change greedy allocation APISebastian Huber2012-07-171-2/+5
|
* score: New structure TOD_ControlSebastian Huber2012-06-146-6/+6
| | | | | Group the global TOD variables (_TOD_Now, _TOD_Uptime, and _TOD_Is_set) in a structure to reduce address loads in _TOD_Tickle_ticks().
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-11156-312/+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.
* score: Fix commentSebastian Huber2012-04-201-1/+2
|
* Add functions for greedy workspace allocationSebastian Huber2012-02-171-0/+38
| | | | | | | Various tests must check program paths that result due to failed memory allocations from the workspace. To avoid tinkering with internal workspace structures throughout the test code these functions should be used.
* PR 1991/cpukit - attr.c (really mode code) warning reworkJoel Sherrill2012-02-021-7/+11
| | | | | | | | | | | | | | This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-0/+1
| | | | | * rtems/src/rtemsobjectsetname.c: Include <rtems/rtems/object.h> (Missing prototype).
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-0/+1
| | | | | * rtems/src/rtemsobjectgetclassicname.c: Include <rtems/rtems/object.h> (Missing prototype).
* 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-081-0/+1
| | | | | * rtems/src/rtemsobjectgetname.c: Include <rtems/rtems/object.h> (Missing prototype).
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-2/+3
| | | | | | * rtems/src/rtemsobjectapiminimumclass.c: Include <rtems/rtems/object.h> (Missing prototype). Adjust rtems_object_api_minimum_class to prototype.
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-2/+3
| | | | | * rtems/src/workspace.c: Include <rtems/rtems/support.h> (Missing prototypes).
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-061-1/+1
| | | | | * rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics static.
* 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-051-0/+1
| | | | | | | * rtems/src/rtemsobjectapimaximumclass.c: Include <rtems/rtems/object.h> (Missing prototypes). * sapi/src/exshutdown.c: Include <rtems/init.h> (Missing prototypes).
* 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-051-1/+1
| | | | * rtems/src/tasks.c: Fix typos.