summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2021-10-01 14:56:34 -0500
committerJoel Sherrill <joel@rtems.org>2021-10-07 10:31:38 -0500
commitc8a10609883c67629ea029be617a42b75d168f0f (patch)
tree77fb5ef6d9a04763840be4a205516d5fb542d6e4 /cpukit/include/rtems/config.h
parentpowerpc/motorola_powerpc: Map LibBSD bus space to the PCI base address (diff)
downloadrtems-c8a10609883c67629ea029be617a42b75d168f0f.tar.bz2
Add support for IDLE Thread stack allocator
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.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index e82c7abf11..a826581658 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -129,6 +129,9 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
#define rtems_configuration_get_stack_free_hook() \
(_Stack_Allocator_free)
+#define rtems_configuration_get_stack_allocate_for_idle_hook() \
+ (_Stack_Allocator_allocate_for_idle)
+
/**
* This macro assists in accessing the field which indicates whether
* RTEMS is responsible for zeroing the Executive Workspace.