summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-07 06:25:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-08 08:15:13 +0200
commitfd27bae5b949f1beee2ca2ba4cccecc7e89f40cb (patch)
tree4f2a002431ec9bf8b8f448289f332de78ddc75ff /cpukit/include/rtems/confdefs.h
parenttests: Remove CONFIGURE_MAXIMUM_DRIVERS (diff)
downloadrtems-fd27bae5b949f1beee2ca2ba4cccecc7e89f40cb.tar.bz2
CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
Make CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE configurable by the user. Update #3434.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r--cpukit/include/rtems/confdefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index 6e7bcdf570..7d1407564b 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -1165,8 +1165,10 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
* This specifies the default POSIX thread stack size. By default, it is
* twice that recommended for the port.
*/
+#ifndef CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
#define CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE \
(2 * CONFIGURE_MINIMUM_TASK_STACK_SIZE)
+#endif
/**
* @brief Idle task stack size configuration.
@@ -3050,6 +3052,9 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
};
+
+ const size_t _Configuration_POSIX_Minimum_stack_size =
+ CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE;
#endif
/**