Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | network: Special case for RTEMS_MULTIPROCESSING | Sebastian Huber | 2016-03-29 | 1 | -0/+12 |
| | | | | Allow network tasks to run with priority 0 (PRIORITY_PSEUDO_ISR). | ||||
* | score: Fix MPCI workspace size estimate | Sebastian Huber | 2016-03-29 | 1 | -0/+9 |
| | | | | Account for the global objects table. | ||||
* | score: Fix MPCI workspace size estimate | Sebastian Huber | 2016-03-29 | 1 | -1/+3 |
| | | | | | Global objects are no real objects with an objects information structure. | ||||
* | score: The API mutexes are not global | Sebastian Huber | 2016-03-29 | 1 | -1/+1 |
| | |||||
* | score: Fix _Objects_MP_Is_remote() | Sebastian Huber | 2016-03-29 | 1 | -1/+1 |
| | | | | | | Bug introduced by be8897644043e4378db7add02c3c9e1ac7fde563. Update #2555. | ||||
* | score: Fix MPCI receive server workspace size | Sebastian Huber | 2016-03-29 | 1 | -13/+33 |
| | |||||
* | score: Fix multiprocessing thread proxies | Sebastian Huber | 2016-03-29 | 6 | -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 block | Sebastian Huber | 2016-03-29 | 1 | -0/+2 |
| | |||||
* | score: Fix CORE mutex RTEMS_MULTIPROCESSING | Sebastian Huber | 2016-03-29 | 1 | -8/+3 |
| | | | | Make sure that the thread proxy is registered as the mutex owner. | ||||
* | score: Use constant for maximum count of CORE sema | Sebastian Huber | 2016-03-29 | 7 | -27/+3 |
| | |||||
* | score: Remove Thread_queue_Queue::operations field | Sebastian Huber | 2016-03-29 | 53 | -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 warnings | Joel Sherrill | 2016-03-24 | 1 | -0/+3 |
| | |||||
* | shell/hexdump-conv.c: Disable sccsid to avoid unused warning | Joel Sherrill | 2016-03-24 | 1 | -0/+2 |
| | |||||
* | cpukit/rtems/src/*mp.c: Fix set but not used warning | Joel Sherrill | 2016-03-24 | 6 | -2/+13 |
| | |||||
* | libmisc/shell/main_hexdump.c: Disable unused copyright string | Joel Sherrill | 2016-03-24 | 1 | -0/+2 |
| | |||||
* | libmisc/monitor/mon-prmisc.c: Remove unused rtems_monitor_events_assoc | Joel Sherrill | 2016-03-24 | 1 | -36/+0 |
| | |||||
* | telnetd.c: Fix no prototype warning | Joel Sherrill | 2016-03-24 | 1 | -4/+5 |
| | |||||
* | libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused | Joel Sherrill | 2016-03-24 | 1 | -0/+2 |
| | |||||
* | cpuuse/cpuusagetop.c: Fix unused variable warning | Joel Sherrill | 2016-03-24 | 1 | -1/+0 |
| | |||||
* | score: Use RTEMS_UNREACHABLE() | Sebastian Huber | 2016-03-23 | 1 | -0/+2 |
| | | | | | The _CPU_Context_switch() in _Thread_Start_multitasking() does in fact not return. | ||||
* | posix: pthread_exit() is a no-return function | Sebastian Huber | 2016-03-23 | 1 | -0/+1 |
| | |||||
* | score: Add and use RTEMS_UNREACHABLE | Sebastian Huber | 2016-03-23 | 4 | -15/+22 |
| | |||||
* | cpukit/rtems/include/rtems/rtems/sem.h: Remove junk in comment | Joel Sherrill | 2016-03-22 | 1 | -2/+0 |
| | |||||
* | score: Fix for RTEMS_DEBUG | Sebastian Huber | 2016-03-22 | 2 | -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 Huber | 2016-03-22 | 1 | -2/+0 |
| | | | | | | | Still define it only if RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES is defined. Close #2672. | ||||
* | rtems: Use object allocator lock | Sebastian Huber | 2016-03-22 | 1 | -14/+4 |
| | | | | | | | Object creation and destruction is protected by the object allocator lock and not disabled thread dispatching. Update #2555. | ||||
* | score: Fix for RTEMS_DEBUG | Sebastian Huber | 2016-03-22 | 1 | -3/+8 |
| | | | | Update #2627. | ||||
* | rtems: Rework rate-monotonic scheduler | Sebastian Huber | 2016-03-22 | 10 | -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 Huber | 2016-03-21 | 1 | -35/+10 |
| | | | | Option was removed by e6b31b27fbe3cd76534db2d4fc4ef5dcdf0d33b4. | ||||
* | rtems: Delete Rate_monotonic_Period_time_t | Sebastian Huber | 2016-03-21 | 4 | -24/+22 |
| | | | | Variables with this type directly used the _Timestamp_*() functions. | ||||
* | rtems: Inline _Rate_monotonic_Reset_statistics() | Sebastian Huber | 2016-03-21 | 1 | -43/+16 |
| | | | | Use inline function instead of macro. | ||||
* | mpci: Avoid Giant lock | Sebastian Huber | 2016-03-18 | 1 | -7/+11 |
| | | | | | | The object creation/deletion is protected by the object allocator lock. Update #2555. | ||||
* | mpci: Avoid Giant lock | Sebastian Huber | 2016-03-18 | 1 | -8/+11 |
| | | | | Update #2555. | ||||
* | score: Avoid Giant lock for CORE spinlock | Sebastian Huber | 2016-03-18 | 12 | -301/+149 |
| | | | | | | Use an ISR lock to protect the spinlock state. Remove empty attributes. Update #2555. | ||||
* | score: Add _Objects_Get_by_name() | Sebastian Huber | 2016-03-18 | 10 | -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 conflict | Sebastian Huber | 2016-03-18 | 1 | -3/+3 |
| | | | | Visible with Newlib be657151f12f4d198e45395987f0a626ee1bbb91. | ||||
* | score: C++ compatibility | Sebastian Huber | 2016-03-18 | 1 | -1/+1 |
| | |||||
* | posix: Use per-thread lookup tree for POSIX Keys | Sebastian Huber | 2016-03-18 | 13 | -409/+326 |
| | | | | | | Yields higher performance on SMP systems. Close #2625. | ||||
* | score: Destroy thread timer lock | Sebastian Huber | 2016-03-18 | 1 | -4/+1 |
| | | | | Update #2554. | ||||
* | sapi: Include missing header file | Sebastian Huber | 2016-03-17 | 2 | -0/+2 |
| | |||||
* | rtems: Avoid Giant lock in rtems_signal_catch() | Sebastian Huber | 2016-03-17 | 2 | -11/+28 |
| | | | | Update #2555. | ||||
* | rtems: Avoid Giant lock in rtems_task_mode() | Sebastian Huber | 2016-03-17 | 1 | -3/+4 |
| | | | | Update #2555. | ||||
* | posix: Avoid Giant lock in sched_yield() | Sebastian Huber | 2016-03-17 | 1 | -3/+5 |
| | | | | Update #2555. | ||||
* | score: Fix CPU time used by executing threads | Sebastian Huber | 2016-03-17 | 12 | -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 Huber | 2016-03-16 | 1 | -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 attributes | Sebastian Huber | 2016-03-16 | 1 | -1/+1 |
| | | | | A mutex must be released by its owner. | ||||
* | score: Use allocator lock in _Objects_Get_next() | Sebastian Huber | 2016-03-16 | 2 | -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 dispatching | Sebastian Huber | 2016-03-16 | 1 | -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 lock | Sebastian Huber | 2016-03-14 | 6 | -6/+6 |
| | | | | | | Use object allocator lock instead of disabled thread dispatching. Update #2555. | ||||
* | score: Use ISR lock for IO driver registration | Sebastian Huber | 2016-03-14 | 16 | -39/+93 |
| | | | | | | Create implementation header file. Update #2555. |