diff options
author | Aun-Ali Zaidi <admin@kodeit.net> | 2015-12-23 14:44:02 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-12-24 16:52:34 -0600 |
commit | d5154d0f6a04f3b7ed59d9a09038576fe2640756 (patch) | |
tree | 4b6dcf6e9b116223903afbc1b1141d28fb751848 /c/src/lib/libbsp/i386 | |
parent | score: Fix watchdog removal (diff) | |
download | rtems-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 'c/src/lib/libbsp/i386')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/times_i486dx | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/times_p5 | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/times_i486dx b/c/src/lib/libbsp/i386/pc386/times_i486dx index 20a72680c3..24e1c47c78 100644 --- a/c/src/lib/libbsp/i386/pc386/times_i486dx +++ b/c/src/lib/libbsp/i386/pc386/times_i486dx @@ -53,8 +53,6 @@ Column B: 3.5.17 pre-release rtems_task_mode: no reschedule 4 4 rtems_task_mode: reschedule -- returns to caller 20 17 rtems_task_mode: reschedule -- preempts caller 39 37 - rtems_task_set_note 7 5 - rtems_task_get_note 7 5 rtems_clock_set 17 16 rtems_clock_get 2 1 diff --git a/c/src/lib/libbsp/i386/pc386/times_p5 b/c/src/lib/libbsp/i386/pc386/times_p5 index fdaf7e9d2d..dddaca49a2 100644 --- a/c/src/lib/libbsp/i386/pc386/times_p5 +++ b/c/src/lib/libbsp/i386/pc386/times_p5 @@ -58,8 +58,6 @@ Column Y: unused rtems_task_mode: no reschedule 114 rtems_task_mode: reschedule -- returns to caller 264 rtems_task_mode: reschedule -- preempts caller 836 - rtems_task_set_note 236 - rtems_task_get_note 232 rtems_clock_set 569 rtems_clock_get 107 |