[PATCH 4/5] config: Statically allocate MP object controls

2019-12-12 Thread Sebastian Huber
Update #3735. --- cpukit/include/rtems/confdefs.h | 20 cpukit/include/rtems/score/objectdata.h | 7 +++ cpukit/score/src/mpcidefault.c | 3 +++ cpukit/score/src/objectmp.c | 7 ++- 4 files changed, 16 insertions(+), 21 deletions(-) dif

[PATCH 2/5] config: Add _MPCI_Configuration

2019-12-12 Thread Sebastian Huber
Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735. --- bsps/include/shm_driver.h| 2 +- cpukit/Makefile.am | 1 + cpukit/include/rtems/confdefs.h | 16 + cpukit/include/rtems/config.h| 63 ++-

[PATCH 1/5] rtems: Add and use rtems_object_get_local_node()

2019-12-12 Thread Sebastian Huber
Update #3841. --- bsps/include/shm_driver.h | 2 +- bsps/shared/shmdr/shmdr-dump.c | 2 +- bsps/shared/shmdr/shmdr-init.c | 2 +- bsps/shared/shmdr/shmdr-send.c | 2 +- cpukit/include/rtems/rtems/object.h | 10 ++ cpukit/include/rtems/score/

[PATCH 5/5] score: Remove _Workspace_Allocate_or_fatal_error()

2019-12-12 Thread Sebastian Huber
This function is unused. Update #3735. --- cpukit/include/rtems/score/interr.h| 2 +- cpukit/include/rtems/score/wkspace.h | 15 --- cpukit/score/src/wkspace.c | 23 -- testsuites/sptests/Makefile.am | 9 - testsu

[PATCH 3/5] config: Statically allocate MP thread proxies

2019-12-12 Thread Sebastian Huber
Update #3735. --- cpukit/include/rtems/confdefs.h | 19 +-- cpukit/include/rtems/score/thread.h | 17 + cpukit/score/src/mpcidefault.c | 7 +++ cpukit/score/src/threadmp.c | 6 +- 4 files changed, 38 insertions(+), 11 deletions(-) diff --

[PATCH] c-user: Document CONFIGURE_IMFS_ENABLE_MKFIFO

2019-12-12 Thread Sebastian Huber
Close #3840. --- c-user/configuring_a_system.rst | 23 +++ 1 file changed, 23 insertions(+) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index cdb86ec..17278c0 100644 --- a/c-user/configuring_a_system.rst +++ b/c-user/configuring_a_system.rst

Placement of new unit and validation tests?

2019-12-12 Thread Sebastian Huber
Hello, I would like to write new test cases and programs using the RTEMS Test Framework: https://docs.rtems.org/branches/master/eng/test-framework.html There will be two sets of tests. One set are unit tests. The other set are validation tests. The validation tests check that the implementat

Re: Placement of new unit and validation tests?

2019-12-12 Thread Chris Johns
On 13/12/19 12:56 am, Sebastian Huber wrote: > I would like to write new test cases and programs using the RTEMS Test > Framework: > > https://docs.rtems.org/branches/master/eng/test-framework.html I have no specific issue with the test framework as a way forward however I am not yet comfortable

[PATCH] 5/rtems-epiphany.bset: Rework to have meaningful name for gdb

2019-12-12 Thread Joel Sherrill
closes #3809. --- rtems/config/5/rtems-epiphany.bset | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset index 01bf464..bfee50f 100644 --- a/rtems/config/5/rtems-epiphany.bset +++ b/rtems/config/5/rtems-e

Re: [PATCH] 5/rtems-epiphany.bset: Rework to have meaningful name for gdb

2019-12-12 Thread Joel Sherrill
Please wait for v2. On Thu, Dec 12, 2019 at 12:12 PM Joel Sherrill wrote: > closes #3809. > --- > rtems/config/5/rtems-epiphany.bset | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/rtems/config/5/rtems-epiphany.bset > b/rtems/config/5/rtems-epiphany.bset > index 01

[PATCH v2] 5/rtems-epiphany.bset: Rework to have meaningful name for gdb

2019-12-12 Thread Joel Sherrill
closes #3809. --- rtems/config/5/rtems-epiphany.bset | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset index 01bf464..bb937b1 100644 --- a/rtems/config/5/rtems-epiphany.bset +++ b/rtems/config/5/rtems-

[PATCH v2] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 65 +++ cpukit/include/rtems/c++/thread | 469 ++ cpukit/librtemscxx/error.cc | 76 +++ cpukit/librtemscxx/thread.cc | 414 .../cpukit/RTEMS-B

[PATCH v3] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 65 +++ cpukit/include/rtems/c++/thread | 469 ++ cpukit/librtemscxx/error.cc | 76 +++ cpukit/librtemscxx/thread.cc | 414 .../cpukit/RTEMS-B

[PATCH 2/2] libcsupport: Update rtems_print printk handler to return the length

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/libcsupport/src/printk_plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpukit/libcsupport/src/printk_plugin.c b/cpukit/libcsupport/src/printk_plugin.c index 9676b83978..b45a781636 100644 --- a/cpukit/libcsupport/src/printk_plugin.c +++

[PATCH 1/2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-12 Thread chrisj
From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 --- cpukit/libmisc/cpuuse/cpuusagetop.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/c

Re: Placement of new unit and validation tests?

2019-12-12 Thread Sebastian Huber
On 12/12/2019 17:10, Chris Johns wrote: On 13/12/19 12:56 am, Sebastian Huber wrote: I would like to write new test cases and programs using the RTEMS Test Framework: https://docs.rtems.org/branches/master/eng/test-framework.html I have no specific issue with the test framework as a way forw

Re: [PATCH v3] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-12 Thread Sebastian Huber
Hello Chris, looks good. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine ges

[PATCH v2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-12 Thread Sebastian Huber
From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 --- cpukit/libmisc/cpuuse/cpuusagetop.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit

Re: [PATCH 1/2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-12 Thread Sebastian Huber
On 13/12/2019 00:23, chr...@rtems.org wrote: From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 Please have a look at: https://lists.rtems.org/pipermail/devel/2019-December/056441.html The summary results (Load Average...) of the "t

Re:[PATCH v2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-12 Thread jameszxj
Hi,    1. "data->current_idle" and "data->idle" should be initialize (_Timestamp_Set_to_zero), or the " Load Average" will not be right.    2. On z7020 board, SMP mode, the RPRI and CPRI of idle seems not reasonable.  ID         | NAME                | RPRI | CPRI   | TIME                | TO