[PATCH] score: RTEMS_PREDICT_TRUE(), RTEMS_PREDICT_FALSE()

2018-07-24 Thread Sebastian Huber
Add RTEMS_PREDICT_TRUE() and RTEMS_PREDICT_FALSE() for static branch prediction hints. Close #3475. --- cpukit/include/rtems/score/basedefs.h | 28 cpukit/posix/src/sempost.c| 4 ++-- cpukit/posix/src/semtimedwait.c | 2 +- cpukit/posix/src/semtryw

RTEMS 5 tool chain update

2018-07-24 Thread Sebastian Huber
Hello, I updated the tool chain (RSB) to use the latest Newlib snapshot (3.0.0.20180720) and Binutils 2.31.1. An immediate update from the previous tools based on Newlib 3.0.0 is not necessary. I merged the RISC-V tool targets riscv32-rtems5 and riscv64-rtems5 into a common riscv-rtems5 targ

Re: [PATCH] score: RTEMS_PREDICT_TRUE(), RTEMS_PREDICT_FALSE()

2018-07-24 Thread Joel Sherrill
On Tue, Jul 24, 2018, 2:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Add RTEMS_PREDICT_TRUE() and RTEMS_PREDICT_FALSE() for static branch > prediction hints. > > Close #3475. > --- > cpukit/include/rtems/score/basedefs.h | 28 > cpukit/posix/sr

[PATCH 1/3] score: _SMP_Inter_processor_interrupt_handler()

2018-07-24 Thread Sebastian Huber
Pass current processor control via parameter since it may be already available at the caller side. --- bsps/arm/raspberrypi/irq/irq.c | 4 +++- bsps/arm/shared/start/arm-a9mpcore-smp.c | 2 +- bsps/i386/pc386/start/smp-imps.c | 2 +- bsps/powerpc/qoriq/irq/irq.c | 2 +

[PATCH 2/3] bsps: bsp_start_on_secondary_processor()

2018-07-24 Thread Sebastian Huber
Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit. --- bsps/include/bsp/bootcard.h | 4 +++- bsps/powerpc/qoriq/include/bsp.h | 4 +++- bsps/powerpc/qoriq/start/bspsmp.c | 10 --

[PATCH 3/3] _SMP_Start_multitasking_on_secondary_processor()

2018-07-24 Thread Sebastian Huber
Pass current processor control as first parameter to make dependency more explicit. --- bsps/arm/include/bsp/arm-a9mpcore-start.h | 2 +- bsps/arm/raspberrypi/start/bspsmp_init.c | 2 +- bsps/i386/pc386/start/smp-imps.c | 2 +- bsps/powerpc/qoriq/start/bspsmp.c | 2 +- bsps/s

[PATCH] Coverage: Add support to generate separate reports for each symbol-set

2018-07-24 Thread Vijay Kumar Banerjee
Invoke covoar multiple times from the script to generate separate reports for each symbol-set. --- tester/rt/coverage.py | 32 +-- tester/rtems/testing/coverage/symbol-sets.ini | 11 ++--- 2 files changed, 23 insertions(+), 20 deletions(-) diff