[PATCH] mpci: Simplify MPCI configuration

2019-12-09 Thread Sebastian Huber
Use watchdog for shared memory driver instead of a Classic API Timer. --- bsps/include/shm_driver.h | 1 + bsps/shared/shmdr/shmdr-poll.c | 43 - cpukit/include/rtems/confdefs.h | 11 ++- 3 files changed, 28 insertions(+), 27 deletions(-) di

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

2019-12-09 Thread Sebastian Huber
On 10/12/2019 00:28, chr...@rtems.org wrote: diff --git a/testsuites/libtests/rcxx01/init.c b/testsuites/libtests/rcxx01/init.c new file mode 100644 index 00..129f7ee4ba --- /dev/null +++ b/testsuites/libtests/rcxx01/init.c @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2019 Chris Johns + * + *

Re: [PATCH] Add a C++ thread with attributes

2019-12-09 Thread Sebastian Huber
Hello Chris, On 10/12/2019 00:28, chr...@rtems.org wrote: Hi, This patch adds C++ thread support that is similar to the standard C++ std::thread class however it has attributes so you can control a thread priority, stack size and other attributes. looks good, but I don't like the short librar

Re: [PATCH v3] Add TOD Hooks to allow BSP to take action when TOD is set

2019-12-09 Thread Sebastian Huber
On 09/12/2019 16:32, Joel Sherrill wrote: Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting envir

[PATCH] Add a C++ thread with attributes

2019-12-09 Thread chrisj
Hi, This patch adds C++ thread support that is similar to the standard C++ std::thread class however it has attributes so you can control a thread priority, stack size and

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

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

Re: _TOD_Set lock release question

2019-12-09 Thread Joel Sherrill
I think I have implemented what you suggested and my new test is passing on positive and negative cases. Hopefully this version is ready to merge so I can begin to test the new build system. Thanks. --joel On Wed, Dec 4, 2019 at 12:51 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wr

[PATCH v3] Add TOD Hooks to allow BSP to take action when TOD is set

2019-12-09 Thread Joel Sherrill
Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of appl

[PATCH 2/2] rtems: Simplify semaphore configuration

2019-12-09 Thread Sebastian Huber
The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization opt

[PATCH 1/2] rtems: Optimize semaphore control block

2019-12-09 Thread Sebastian Huber
Move variant, discipline, and global information to flags stored in a node pointer of active semaphores. Update #3833. --- cpukit/include/rtems/rtems/semdata.h | 28 +-- cpukit/include/rtems/rtems/semimpl.h | 69 ++-- cpukit/libmisc/monitor/mon-sema.c