From 45ee958552ca35b6834985718ecd59b27fc52f86 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 30 Sep 2022 08:06:18 +0200 Subject: config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZE By default, allocate the IDLE task storage areas from the RTEMS Workspace. This avoids having to estimate the thread-local storage size in the default configuration. Add the application configuration option CONFIGURE_IDLE_TASK_STORAGE_SIZE to request a static allocation of the task storage area for IDLE tasks. Update #3835. Update #4524. --- cpukit/sapi/src/interrtext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/sapi') diff --git a/cpukit/sapi/src/interrtext.c b/cpukit/sapi/src/interrtext.c index 6ed115f430..e828a82051 100644 --- a/cpukit/sapi/src/interrtext.c +++ b/cpukit/sapi/src/interrtext.c @@ -84,7 +84,8 @@ static const char *const internal_error_text[] = { "INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA", "INTERNAL_ERROR_TOO_LARGE_TLS_SIZE", "INTERNAL_ERROR_RTEMS_INIT_TASK_CONSTRUCT_FAILED", - "INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED" + "INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED", + "INTERNAL_ERROR_NO_MEMORY_FOR_IDLE_TASK_STORAGE" }; const char *rtems_internal_error_text( rtems_fatal_code error ) -- cgit v1.2.3