summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* network: Special case for RTEMS_MULTIPROCESSINGSebastian Huber2016-03-291-0/+12
| | | | Allow network tasks to run with priority 0 (PRIORITY_PSEUDO_ISR).
* score: Fix MPCI workspace size estimateSebastian Huber2016-03-291-0/+9
| | | | Account for the global objects table.
* score: Fix MPCI workspace size estimateSebastian Huber2016-03-291-1/+3
| | | | | Global objects are no real objects with an objects information structure.
* score: The API mutexes are not globalSebastian Huber2016-03-291-1/+1
|
* score: Fix _Objects_MP_Is_remote()Sebastian Huber2016-03-291-1/+1
| | | | | | Bug introduced by be8897644043e4378db7add02c3c9e1ac7fde563. Update #2555.
* score: Fix MPCI receive server workspace sizeSebastian Huber2016-03-291-13/+33
|
* score: Fix multiprocessing thread proxiesSebastian Huber2016-03-296-15/+62
| | | | | | | We must provide thread queue heads for the thread wait information for each thread proxy (thread queue heads were introduced by d7665823b208daefb6855591d808e1f3075cedcb). The thread proxy must be allocated before the enqueue operation.
* score: Allow MPCI packet receive function to blockSebastian Huber2016-03-291-0/+2
|
* score: Fix CORE mutex RTEMS_MULTIPROCESSINGSebastian Huber2016-03-291-8/+3
| | | | Make sure that the thread proxy is registered as the mutex owner.
* score: Use constant for maximum count of CORE semaSebastian Huber2016-03-297-27/+3
|
* score: Remove Thread_queue_Queue::operations fieldSebastian Huber2016-03-2953-279/+261
| | | | | | | | | Remove the Thread_queue_Queue::operations field to reduce the size of this structure. Add a thread queue operations parameter to the _Thread_queue_First(), _Thread_queue_First_locked(), _Thread_queue_Enqueue(), _Thread_queue_Dequeue() and _Thread_queue_Flush() functions. This is a preparation patch to reduce the size of several synchronization objects.
* shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warningsJoel Sherrill2016-03-241-0/+3
|
* shell/hexdump-conv.c: Disable sccsid to avoid unused warningJoel Sherrill2016-03-241-0/+2
|
* cpukit/rtems/src/*mp.c: Fix set but not used warningJoel Sherrill2016-03-246-2/+13
|
* libmisc/shell/main_hexdump.c: Disable unused copyright stringJoel Sherrill2016-03-241-0/+2
|
* libmisc/monitor/mon-prmisc.c: Remove unused rtems_monitor_events_assocJoel Sherrill2016-03-241-36/+0
|
* telnetd.c: Fix no prototype warningJoel Sherrill2016-03-241-4/+5
|
* libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unusedJoel Sherrill2016-03-241-0/+2
|
* cpuuse/cpuusagetop.c: Fix unused variable warningJoel Sherrill2016-03-241-1/+0
|
* score: Use RTEMS_UNREACHABLE()Sebastian Huber2016-03-231-0/+2
| | | | | The _CPU_Context_switch() in _Thread_Start_multitasking() does in fact not return.
* posix: pthread_exit() is a no-return functionSebastian Huber2016-03-231-0/+1
|
* score: Add and use RTEMS_UNREACHABLESebastian Huber2016-03-234-15/+22
|
* cpukit/rtems/include/rtems/rtems/sem.h: Remove junk in commentJoel Sherrill2016-03-221-2/+0
|
* score: Fix for RTEMS_DEBUGSebastian Huber2016-03-222-3/+10
| | | | | | | The rtems_extension_create() no longer uses the Giant lock. Ensure that we call _User_extensions_Add_set() only in the right context. Update #2555.
* score: Always declare _Objects_Get_by_name()Sebastian Huber2016-03-221-2/+0
| | | | | | | Still define it only if RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES is defined. Close #2672.
* rtems: Use object allocator lockSebastian Huber2016-03-221-14/+4
| | | | | | | Object creation and destruction is protected by the object allocator lock and not disabled thread dispatching. Update #2555.
* score: Fix for RTEMS_DEBUGSebastian Huber2016-03-221-3/+8
| | | | Update #2627.
* rtems: Rework rate-monotonic schedulerSebastian Huber2016-03-2210-423/+403
| | | | | | | | | | Use the default thread lock to protect rate-monotonic state changes. This avoids use of the Giant lock. Split rtems_rate_monotonic_period() body into several static functions. Introduce a new thread wait class THREAD_WAIT_CLASS_PERIOD for period objects to synchronize the blocking operation. Close #2631.
* rtems: Avoid __RTEMS_USE_TICKS_FOR_STATISTICS__Sebastian Huber2016-03-211-35/+10
| | | | Option was removed by e6b31b27fbe3cd76534db2d4fc4ef5dcdf0d33b4.
* rtems: Delete Rate_monotonic_Period_time_tSebastian Huber2016-03-214-24/+22
| | | | Variables with this type directly used the _Timestamp_*() functions.
* rtems: Inline _Rate_monotonic_Reset_statistics()Sebastian Huber2016-03-211-43/+16
| | | | Use inline function instead of macro.
* mpci: Avoid Giant lockSebastian Huber2016-03-181-7/+11
| | | | | | The object creation/deletion is protected by the object allocator lock. Update #2555.
* mpci: Avoid Giant lockSebastian Huber2016-03-181-8/+11
| | | | Update #2555.
* score: Avoid Giant lock for CORE spinlockSebastian Huber2016-03-1812-301/+149
| | | | | | Use an ISR lock to protect the spinlock state. Remove empty attributes. Update #2555.
* score: Add _Objects_Get_by_name()Sebastian Huber2016-03-1810-183/+130
| | | | | | | | | | Replace _Objects_Name_to_id_string() with _Objects_Get_by_name() since all users of this function are interested in the object itself and not the identifier. Use the object allocator lock to protect the search. Update #2555.
* ftpd: Resolve function name conflictSebastian Huber2016-03-181-3/+3
| | | | Visible with Newlib be657151f12f4d198e45395987f0a626ee1bbb91.
* score: C++ compatibilitySebastian Huber2016-03-181-1/+1
|
* posix: Use per-thread lookup tree for POSIX KeysSebastian Huber2016-03-1813-409/+326
| | | | | | Yields higher performance on SMP systems. Close #2625.
* score: Destroy thread timer lockSebastian Huber2016-03-181-4/+1
| | | | Update #2554.
* sapi: Include missing header fileSebastian Huber2016-03-172-0/+2
|
* rtems: Avoid Giant lock in rtems_signal_catch()Sebastian Huber2016-03-172-11/+28
| | | | Update #2555.
* rtems: Avoid Giant lock in rtems_task_mode()Sebastian Huber2016-03-171-3/+4
| | | | Update #2555.
* posix: Avoid Giant lock in sched_yield()Sebastian Huber2016-03-171-3/+5
| | | | Update #2555.
* score: Fix CPU time used by executing threadsSebastian Huber2016-03-1712-193/+157
| | | | | | | | | | | | | | The CPU time used of a thread was previously maintained per-processor mostly during _Thread_Dispatch(). However, on SMP configurations the actual processor of a thread is difficult to figure out since thread dispatching is a highly asynchronous process (e.g. via inter-processor interrupts). Only the intended processor of a thread is known to the scheduler easily. Do the CPU usage accounting during thread heir updates in the context of the scheduler operations. Provide the function _Thread_Get_CPU_time_used() to get the CPU usage of a thread using proper locks to get a consistent value. Close #2627.
* timecounter: Avoid invalid memcpy()Sebastian Huber2016-03-161-0/+8
| | | | | In uni-processor configurations we have only one timehand. Do not issue a memcpy() with equal source and destination.
* score: Fix intenal mutex attributesSebastian Huber2016-03-161-1/+1
| | | | A mutex must be released by its owner.
* score: Use allocator lock in _Objects_Get_next()Sebastian Huber2016-03-162-32/+10
| | | | | | | | Use the object allocator lock in _Objects_Get_next() instead of disabled thread dispatching since object creation and deletion is covered by this lock. Update #2555.
* sapi: Do not disable thread dispatchingSebastian Huber2016-03-161-2/+0
| | | | | | | Do not disable thread dispatching to add a user extension. After startup, the object allocator lock is enough. Update #2555.
* monitor: Use object allocator lockSebastian Huber2016-03-146-6/+6
| | | | | | Use object allocator lock instead of disabled thread dispatching. Update #2555.
* score: Use ISR lock for IO driver registrationSebastian Huber2016-03-1416-39/+93
| | | | | | Create implementation header file. Update #2555.