summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* score: Avoid clash with <strings.h> provided fls()Sebastian Huber2017-07-051-1/+2
|
* arm: Fix ARMv7-M interrupt processingSebastian Huber2017-07-042-30/+48
| | | | | | | | | | | | Right after a "msr basepri_max, %[basepri]" instruction an interrupt service may still take place (observed at least on Cortex-M7). However, pendable service calls that are activated during this interrupt service may be delayed until interrupts are enable again. The _ARMV7M_Pendable_service_call() did not check that a thread dispatch is allowed. Move this test from _ARMV7M_Interrupt_service_leave() to _ARMV7M_Pendable_service_call(). Update #3060.
* score: Add assert to _Thread_Dispatch()Sebastian Huber2017-07-041-0/+1
| | | | Update #3060.
* score: Add RTEMS_NO_INLINESebastian Huber2017-06-291-1/+11
| | | | Update #3056.
* score: Add SMP EDF schedulerSebastian Huber2017-06-296-16/+658
| | | | Update #3056.
* score: Add red-black tree node to Scheduler_NodeSebastian Huber2017-06-297-39/+47
| | | | | | | In SMP configurations, add a red-black tree node to Scheduler_Node to enable an EDF scheduler implementation. Update #3056.
* powerpc: Fix PPC_CONTEXT_VOLATILE_SIZESebastian Huber2017-06-201-0/+4
| | | | Account for legacy AltiVec context.
* powerpc: Fix TLS supportSebastian Huber2017-06-201-10/+11
| | | | | Do not zero the GPR2 in the thread context via dcbz instructions. Bug was introduced by 32b4a0c42704f0076da8e2d5411290f55d1b2965.
* score: Remove rtems_ada_selfSebastian Huber2017-06-142-12/+0
| | | | | | This task variable is superfluous since we use thread-local storage now. Update #2289.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-124-11/+62
| | | | Update #2468.
* i386: Move _CPU_Context_Initialize()Sebastian Huber2017-06-092-46/+65
| | | | Update #2468.
* Simplify TLS support in context switchSebastian Huber2017-06-091-11/+2
| | | | | | There is no need to save the thread pointer in _CPU_Context_switch() since it is a thread invariant. It is initialized once in _CPU_Context_Initialize().
* Fix CPU_COPY() usageSebastian Huber2017-06-072-3/+3
| | | | | | | | The original CPU_COPY() support of Newlib <sys/cpuset.h> had the parameters in the wrong order. This is fixed in Newlib since 2017-05-22. Update #3023.
* build-system: Parallel build all subdirs.Chris Johns2017-05-242-2/+2
|
* arm: Fix profiling support of Thumb-1 targetsSebastian Huber2017-05-231-1/+3
| | | | Update #2751.
* score/cpu/or1k/rtems/score/cpu.h: Fix printf() format warningJoel Sherrill2017-04-251-1/+3
|
* score/cpu/or1k/or1k-exception-frame-print.c: Fix printf() format warningJoel Sherrill2017-04-251-2/+4
|
* moxie/rtems/score/cpu.h: Fix printf() format warningJoel Sherrill2017-04-251-1/+1
|
* epiphany/rtems/score/cpu.h: Fix printf() format warningJoel Sherrill2017-04-251-1/+3
|
* epiphany/cpu.c: Fix typo to eliminate warningJoel Sherrill2017-04-251-2/+2
|
* epiphany/cpu.c: Fix not a prototype warningJoel Sherrill2017-04-241-2/+2
|
* cpukit/../i386/cpu.c: Use inttypes.h to fix 1 warning.Cillian O'Donnell2017-04-141-1/+2
|
* SMP: Simplify SMP multicast actionsSebastian Huber2017-04-054-63/+85
|
* arm: Optimize context switchSebastian Huber2017-03-283-78/+55
| | | | | | | | | Set CPU_ENABLE_ROBUST_THREAD_DISPATCH to TRUE. In this case the interrupts are always enabled during a context switch even after interrupt processing (see #2751). Remove the CPSR from the context control since it contains only volatile bits. Close #2954.
* arm: Fix CPU context validation for Cortex-R4Sebastian Huber2017-03-092-7/+3
| | | | Do not touch the FPSCR[QC] bit since this is DNM/RAZ on Cortex-R4.
* arm: Remove legacy execption supportSebastian Huber2017-03-084-301/+0
|
* score: Fix scheduler yield in SMP configurationsSebastian Huber2017-03-074-20/+46
| | | | | | | | | Check that no ask help request is registered during unblock and yield scheduler operations. There is no need to ask for help if a scheduled thread yields, since this is already covered by the pre-emption detection. Update #2556.
* powerpc: Fix PPC_CONTEXT_VOLATILE_SIZESebastian Huber2017-03-061-1/+1
|
* score: Add RTEMS_WEAK_ALIAS()Sebastian Huber2017-02-231-0/+10
|
* score: Fix warningSebastian Huber2017-02-151-0/+2
|
* score: Fix warning in _Thread_Set_name()Sebastian Huber2017-02-141-1/+1
|
* score: Move _Thread_Scheduler_ask_for_help()Sebastian Huber2017-02-033-36/+34
| | | | | Move _Thread_Scheduler_ask_for_help(), rename it to _Thread_Ask_for_help() and make it static.
* score: Improve scheduler helping protocolSebastian Huber2017-02-0322-169/+88
| | | | | | | | | | | Only register ask for help requests in the scheduler unblock and yield operations. The actual ask for help operation is carried out during _Thread_Do_dispatch() on a processor related to the thread. This yields a better separation of scheduler instances. A thread of one scheduler instance should not be forced to carry out too much work for threads on other scheduler instances. Update #2556.
* sparc: Fix volatile clobberSebastian Huber2017-02-031-1/+1
| | | | | | | Do not adjust the stack pointer, since this is already done by the restor instruction. Update #2270.
* score: Add _Thread_queue_Object_nameSebastian Huber2017-01-3118-56/+130
| | | | | | | | | | | | | Add the special thread queue name _Thread_queue_Object_name to mark thread queues embedded in an object with identifier. Using the special thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for this purpose since the thread wait information and thread state are protected by different SMP locks in separate critical sections. Remove STATES_THREAD_QUEUE_WITH_IDENTIFIER. Add and use _Thread_queue_Object_initialize(). Update #2858.
* score: Fix _Thread_Initialize()Sebastian Huber2017-01-312-2/+5
|
* score: Fix unused parameter warningSebastian Huber2017-01-301-0/+2
| | | | Close #2890.
* bsps/arm: Fix Cortex-M DWT CPU counter.Christian Mauderer2017-01-301-1/+45
| | | | | | | | | It is necessary to enable the DWT using a special initialization sequence before the CYCCNT can be enabled. See for example the RESET_CYCLE_COUNTER in libbsp/arm/atsam/utils/utility.h. Note that this problem only occurs if no debugger is connected. A debugger most likely already enables the necessary module.
* score: Clarify _Heap_Extend()Sebastian Huber2017-01-271-5/+6
| | | | Update #1747.
* score: Fix typoSebastian Huber2017-01-271-1/+1
|
* score: Fix user extensions orderSebastian Huber2017-01-263-15/+26
| | | | | | | | | | | Use forward and reverse order for initial and dynamic extensions. This is the behaviour documented in the C Users Guide. Change thread terminate order to backward to be in line with the thread delete order. Change fatal error order to forward to ensure that initial extensions are called first due the peculiar execution context of fatal error extensions, see _Terminate() documentation. Update #2692.
* score: Delete _CPU_Context_Fp_start()Sebastian Huber2017-01-2618-288/+14
| | | | | | | | | | Since the FP area pointer is passed by reference in _CPU_Context_Initialize_fp() the optional FP area adjustment via _CPU_Context_Fp_start() is superfluous. It is also wrong with respect to memory management, e.g. pointer passed to _Workspace_Free() may be not the one returned by _Workspace_Allocate(). Close #1400.
* Adding ARM VFP V2 supportKevin Kirspel2017-01-241-0/+6
|
* sparc: Relax CPU_STACK_ALIGNMENTSebastian Huber2017-01-241-12/+3
| | | | Close #2352.
* Remove CPU_BIG_ENDIAN and CPU_LITTLE_ENDIANSebastian Huber2017-01-2417-310/+0
| | | | | | Use de-facto standard BYTE_ORDER instead. Close #2803.
* posix: shared memory supportGedare Bloom2017-01-132-2/+4
| | | | | | | | | Add POSIX shared memory manager (Shm). Includes a hook-based approach for the backing memory storage that defaults to the Workspace, and a test is provided using the heap. A test is also provided for the basic use of mmap'ing a shared memory object. This test currently fails at the mmap stage due to no support for mmap.
* configure: Remove HAVE_STRUCT__THREAD_QUEUE_QUEUESebastian Huber2017-01-136-24/+0
|
* score: Add _Thread_Set_name()Sebastian Huber2017-01-134-0/+35
| | | | | | Add configuration option CONFIGURE_MAXIMUM_THREAD_NAME_SIZE. Update #2858.
* score: Add and use _Thread_Get_name()Sebastian Huber2017-01-133-1/+45
| | | | Update #2858.
* score: Add Thread_queue_Queue::nameSebastian Huber2017-01-137-21/+46
| | | | Update #2858.