summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2015-03-10 15:28:19 -0400
committerGedare Bloom <gedare@rtems.org>2015-03-10 15:46:59 -0400
commitcf4045630e1dd59221c67005ca1652b4350ad8eb (patch)
treec9c6e3336d043821b6bbda26b3851172a72fcf89 /cpukit/sapi
parentcpukit: deprecate rtems_clock_get(). closes #2294. (diff)
downloadrtems-cf4045630e1dd59221c67005ca1652b4350ad8eb.tar.bz2
cpukit: deprecate task variables. closes #2293.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h3
1 files changed, 3 insertions, 0 deletions
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))