Re: [RTEMS 5 v3] Add support for IDLE Thread stack allocator

2021-10-07 Thread Joel Sherrill
On Thu, Oct 7, 2021, 1:31 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 07/10/2021 17:34, Joel Sherrill wrote: > > Add a stack allocator hook specifically for allocation of IDLE thread > stacks. > > This allows the user to decide if IDLE thread stacks are statically >

Re: [PATCH rtems-libbsd 1/2] waf_libbsd: Fix typo in previous patch

2021-10-07 Thread Chris Johns
OK On 8/10/21 7:43 am, Kinsey Moore wrote: > There was a typo in the patch that added the HAVE_ definition > that prevented "./waf configure" from succeeding. This adds the missing > character. > --- > waf_libbsd.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH rtems-libbsd 2/2] rtemsbsd/atomic: Return a value for CMPSET

2021-10-07 Thread Chris Johns
OK On 8/10/21 7:43 am, Kinsey Moore wrote: > When the cmpset and fcmpset functions were refactored, the return value > of the operation was discarded instead of being returned for SMP builds > outside of gcc 4.x. This had the effect of turning these functions into > a long busywait loop that

[RTEMS Docs 5 v2] task-stack-alloc.rst: Add CONFIGURE_TASK_STACK_FROM_ALLOCATOR

2021-10-07 Thread Joel Sherrill
Updates #4520. --- c-user/config/task-stack-alloc.rst | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/c-user/config/task-stack-alloc.rst b/c-user/config/task-stack-alloc.rst index 297c624..a779c9f 100644 ---

[PATCH rtems-libbsd 1/2] waf_libbsd: Fix typo in previous patch

2021-10-07 Thread Kinsey Moore
There was a typo in the patch that added the HAVE_ definition that prevented "./waf configure" from succeeding. This adds the missing character. --- waf_libbsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waf_libbsd.py b/waf_libbsd.py index 613797aa..9e3724d6 100644 ---

[PATCH rtems-libbsd 2/2] rtemsbsd/atomic: Return a value for CMPSET

2021-10-07 Thread Kinsey Moore
When the cmpset and fcmpset functions were refactored, the return value of the operation was discarded instead of being returned for SMP builds outside of gcc 4.x. This had the effect of turning these functions into a long busywait loop that eventually failed due to integer overflow. This patch

Re: [PATCH rtems-tools v1 0/2] Uncaught exception patches

2021-10-07 Thread Chris Johns
OK for both On 8/10/21 12:40 am, Ryan Long wrote: > Hi, > > These patches fix the "Uncaught exception" Coverity issues. To fix this, > I just added a try and catch for the exception that Coverity identified. > > Thanks, > Ryan > > Ryan Long (2): > TraceConverter.cc: Add catch for exception >

[RTEMS 6 v1] Add support for IDLE Thread stack allocator

2021-10-07 Thread Joel Sherrill
Add a stack allocator hook specifically for allocation of IDLE thread stacks. This allows the user to decide if IDLE thread stacks are statically allocated or handled by the same custom allocator mechanism as other thread stacks. Closes #4524. --- cpukit/include/rtems/confdefs/percpu.h|

[PATCH rtems-tools v1 2/2] rld-rapp.cpp: Add catch for exception

2021-10-07 Thread Ryan Long
CID 1471643: Uncaught exception Closes #4502 --- rtemstoolkit/rld-rap.cpp | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/rld-rap.cpp b/rtemstoolkit/rld-rap.cpp index 235de27..93ffbdc 100644 --- a/rtemstoolkit/rld-rap.cpp +++

[PATCH rtems-tools v1 0/2] Uncaught exception patches

2021-10-07 Thread Ryan Long
Hi, These patches fix the "Uncaught exception" Coverity issues. To fix this, I just added a try and catch for the exception that Coverity identified. Thanks, Ryan Ryan Long (2): TraceConverter.cc: Add catch for exception rld-rapp.cpp: Add catch for exception rtemstoolkit/rld-rap.cpp

[PATCH rtems-tools v1 1/2] TraceConverter.cc: Add catch for exception

2021-10-07 Thread Ryan Long
CID 1471639: Uncaught exception Closes #4501 --- tester/covoar/TraceConverter.cc | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/tester/covoar/TraceConverter.cc b/tester/covoar/TraceConverter.cc index 0f32efb..16c69d4 100644 ---

[RTEMS 5 v3] Add support for IDLE Thread stack allocator

2021-10-07 Thread Joel Sherrill
Add a stack allocator hook specifically for allocation of IDLE thread stacks. This allows the user to decide if IDLE thread stacks are statically allocated or handled by the same custom allocator mechanism as other thread stacks. Closes #4520. --- cpukit/Makefile.am|

Re: [RTEMS 5 v2] Add support for IDLE Thread stack allocator

2021-10-07 Thread Joel Sherrill
On Wed, Oct 6, 2021 at 12:19 AM Sebastian Huber wrote: > > [..] > > + > > +/* > > + * If the application wants to provide an IDLE threads stack allocator, it > > + * must also provide a custom allocator/deallocator for user thread stacks. > > + */ > > +#elif

[PATCH rtems] libdl/rtl-mdreloc-h8300.c: Remove remnant of h8300 port

2021-10-07 Thread Joel Sherrill
--- cpukit/libdl/rtl-mdreloc-h8300.c | 212 --- 1 file changed, 212 deletions(-) delete mode 100644 cpukit/libdl/rtl-mdreloc-h8300.c diff --git a/cpukit/libdl/rtl-mdreloc-h8300.c b/cpukit/libdl/rtl-mdreloc-h8300.c deleted file mode 100644 index

Re: [RTEMS 5 v3] Add support for IDLE Thread stack allocator

2021-10-07 Thread Sebastian Huber
On 07/10/2021 17:34, Joel Sherrill wrote: Add a stack allocator hook specifically for allocation of IDLE thread stacks. This allows the user to decide if IDLE thread stacks are statically allocated or handled by the same custom allocator mechanism as other thread stacks. Closes #4520. Thanks,