summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 13:12:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 13:32:35 +0100
commitd138a7906a6ae75173be289bb01b0cd66ab76854 (patch)
treeb24293c0863b9b11c8edf4ef896d1ac79032e61f /cpukit/include/rtems/confdefs
parentbsps: Change license to BSD-2-Clause of some files (diff)
downloadrtems-d138a7906a6ae75173be289bb01b0cd66ab76854.tar.bz2
config: Adjust stack allocator initialization
Use the right system initialization step for the stack allocator initialization. Do the stack allocator initialization before the workspace initialization so that _Memory_Allocate() can be used to get memory for the allocator.
Diffstat (limited to 'cpukit/include/rtems/confdefs')
-rw-r--r--cpukit/include/rtems/confdefs/wkspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/confdefs/wkspace.h b/cpukit/include/rtems/confdefs/wkspace.h
index b37af79411..46bdee6da1 100644
--- a/cpukit/include/rtems/confdefs/wkspace.h
+++ b/cpukit/include/rtems/confdefs/wkspace.h
@@ -167,7 +167,7 @@ const uintptr_t _Stack_Space_size = _CONFIGURE_STACK_SPACE_SIZE;
RTEMS_SYSINIT_ITEM(
_Stack_Allocator_do_initialize,
- RTEMS_SYSINIT_DIRTY_MEMORY,
+ RTEMS_SYSINIT_STACK_ALLOCATOR,
RTEMS_SYSINIT_ORDER_MIDDLE
);
#endif