From cf4045630e1dd59221c67005ca1652b4350ad8eb Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Tue, 10 Mar 2015 15:28:19 -0400 Subject: cpukit: deprecate task variables. closes #2293. --- cpukit/sapi/include/confdefs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpukit/sapi') diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 0bebb4ed0d..2b4e27fd2a 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1823,6 +1823,8 @@ const rtems_libio_helper rtems_fs_init_helper = /** * This macro calculates the memory required for task variables. * + * @deprecated Task variables are deprecated. + * * Each task variable is individually allocated from the Workspace. * Hence, we do the multiplication on the configured size. * @@ -1839,6 +1841,7 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_TASK_VARIABLES 0 #define CONFIGURE_MEMORY_FOR_TASK_VARIABLES(_task_variables) 0 #else + #warning "Per-Task Variables are deprecated and will be removed." #define CONFIGURE_MEMORY_FOR_TASK_VARIABLES(_task_variables) \ (_task_variables) * \ _Configure_From_workspace(sizeof(rtems_task_variable_t)) -- cgit v1.2.3