From d5154d0f6a04f3b7ed59d9a09038576fe2640756 Mon Sep 17 00:00:00 2001 From: Aun-Ali Zaidi Date: Wed, 23 Dec 2015 14:44:02 -0600 Subject: 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. --- doc/user/userext.t | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'doc/user/userext.t') diff --git a/doc/user/userext.t b/doc/user/userext.t index dc6ad4e5ee..7f4a10180d 100644 --- a/doc/user/userext.t +++ b/doc/user/userext.t @@ -134,11 +134,7 @@ RTEMS provides for a pointer to a user-defined data area for each extension set to be linked to each task's control block. This set of pointers is an extension of the TCB and can be used to store additional data required by the user's -extension functions. It is also possible for a user extension -to utilize the notepad locations associated with each task -although this may conflict with application usage of those -particular notepads. However, notepads are deprecated and will -be removed. +extension functions. The TCB extension is an array of pointers in the TCB. The index into the table can be obtained from the extension id -- cgit v1.2.3