summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/include/rtems++/rtemsTask.h
diff options
context:
space:
mode:
authorAun-Ali Zaidi <admin@kodeit.net>2015-12-23 14:44:02 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-12-24 16:52:34 -0600
commitd5154d0f6a04f3b7ed59d9a09038576fe2640756 (patch)
tree4b6dcf6e9b116223903afbc1b1141d28fb751848 /c/src/librtems++/include/rtems++/rtemsTask.h
parentscore: Fix watchdog removal (diff)
downloadrtems-d5154d0f6a04f3b7ed59d9a09038576fe2640756.tar.bz2
api: Remove deprecated Notepads
Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
Diffstat (limited to '')
-rw-r--r--c/src/librtems++/include/rtems++/rtemsTask.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsTask.h b/c/src/librtems++/include/rtems++/rtemsTask.h
index 3aac25d13c..7d151c2f50 100644
--- a/c/src/librtems++/include/rtems++/rtemsTask.h
+++ b/c/src/librtems++/include/rtems++/rtemsTask.h
@@ -47,8 +47,6 @@
Mode control is through the rtemsTaskMode class.
- The rtemsTask class reserved notepad register 31.
-
------------------------------------------------------------------------ */
#if !defined(_rtemsTask_h_)
@@ -125,12 +123,6 @@ public:
const rtems_status_code set_priority(const rtems_task_priority priority,
rtems_task_priority& old_priority);
- // notepad control
- const rtems_status_code get_note(const uint32_t notepad,
- uint32_t& note) RTEMS_DEPRECATED;
- const rtems_status_code set_note(const uint32_t notepad,
- const uint32_t note) RTEMS_DEPRECATED;
-
// object id, and name
const rtems_id id_is() const { return id; }
const rtems_name name_is() const { return name; }