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 (!defined(CONFIGURE_TASK_STACK_ALLOCATO

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

2021-10-05 Thread Sebastian Huber
[..] + +/* + * If the application wants to provide an IDLE threads stack allocator, it + * must also provide a custom allocator/deallocator for user thread stacks. + */ +#elif (!defined(CONFIGURE_TASK_STACK_ALLOCATOR) \ + && !defined(CONFIGURE_TASK_STACK_DEALLOCATOR)) \ + && defined(CONFIGURE_T

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

2021-10-05 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|