summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.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/sapi/include/confdefs.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 'cpukit/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 9ef0bc68cd..8635ca02d4 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2085,24 +2085,6 @@ const rtems_libio_helper rtems_fs_init_helper =
#define CONFIGURE_TASKS \
(CONFIGURE_MAXIMUM_TASKS + CONFIGURE_LIBBLOCK_TASKS)
- /*
- * Classic API notepads are a deprecated feature and will be removed
- * in a future release of RTEMS. Warn the user who uses them.
- */
- #if defined(CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS)
- #warning "Classic API Notepads are deprecated and will be removed."
- #endif
- #if defined(CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS)
- #warning "Classic API Notepads are deprecated and will be removed."
- #endif
-
- /** This configuration parameter enables/disables Classic API notepads. */
- #ifdef CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS
- #define CONFIGURE_NOTEPADS_ENABLED TRUE
- #else
- #define CONFIGURE_NOTEPADS_ENABLED FALSE
- #endif
-
/**
* This macro calculates the memory required for task variables.
*
@@ -3301,9 +3283,6 @@ const rtems_libio_helper rtems_fs_init_helper =
#endif
} Scheduler;
RTEMS_API_Control API_RTEMS;
- #if defined(CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS)
- uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ] RTEMS_DEPRECATED;
- #endif
#ifdef RTEMS_POSIX_API
POSIX_API_Control API_POSIX;
#endif
@@ -3354,7 +3333,6 @@ const rtems_libio_helper rtems_fs_init_helper =
*/
rtems_api_configuration_table Configuration_RTEMS_API = {
CONFIGURE_TASKS,
- CONFIGURE_NOTEPADS_ENABLED,
CONFIGURE_MAXIMUM_TIMERS + CONFIGURE_TIMER_FOR_SHARED_MEMORY_DRIVER,
CONFIGURE_SEMAPHORES,
CONFIGURE_MAXIMUM_MESSAGE_QUEUES,