summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/config.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 /cpukit/rtems/include/rtems/rtems/config.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--cpukit/rtems/include/rtems/rtems/config.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h
index 4b2c54eb5c..77ee798d74 100644
--- a/cpukit/rtems/include/rtems/rtems/config.h
+++ b/cpukit/rtems/include/rtems/rtems/config.h
@@ -54,12 +54,6 @@ typedef struct {
uint32_t maximum_tasks;
/**
- * This field indicates whether Classic API notepads are
- * enabled or disabled.
- */
- bool notepads_enabled;
-
- /**
* This field contains the maximum number of Classic API
* Timers which are configured for this application.
*/
@@ -133,13 +127,6 @@ extern rtems_api_configuration_table Configuration_RTEMS_API;
/**@}*/
/**
- * This macro returns the value of the notepads enabled field
- * in the Classic API configuration table.
- */
-#define rtems_configuration_get_notepads_enabled() \
- rtems_configuration_get_rtems_api_configuration()->notepads_enabled
-
-/**
* This macro returns the number of Classic API semaphores configured.
*/
#define rtems_configuration_get_maximum_semaphores() \