RTEMS | Draft: Feature/stack reporter config (!86)
Mohamed Hassan (@Hamzi)
gitlab at rtems.org
Tue Jun 25 06:24:02 UTC 2024
Mohamed Hassan commented on a discussion on cpukit/include/rtems/confdefs/extensions.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108012
> #include <rtems/stackchk.h>
> #endif
>
> +#ifdef CONFIGURE_STACK_CHECKER_ENABLED
> + #ifdef CONFIGURE_STACK_CHECKER_REPORTER
> + const Stack_checker_reporter_initialize _Stack_checker_reporter_initialize =
> + _CONFIGURE_ASSERT_NOT_NULL(
> + Stack_checker_reporter_initialize,
> + CONFIGURE_STACK_CHECKER_REPORTER
> + );
I tried to follow the stack allocate pattern
``` const Stack_Allocator_allocate _Stack_Allocator_allocate =
_CONFIGURE_ASSERT_NOT_NULL(
Stack_Allocator_allocate,
CONFIGURE_TASK_STACK_ALLOCATOR
);
```
however I will revisit the naming.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108012
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240625/eed23977/attachment.htm>
More information about the bugs
mailing list