diff options
author | Gedare Bloom <gedare@rtems.org> | 2015-03-06 12:41:49 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-03-10 12:53:07 -0400 |
commit | 3ac681191ec76f7c0a876f2f2cc33adad9a99cc0 (patch) | |
tree | 82b28c195eef15fdbb9f6e0459d53260597e42d2 /doc/user/conf.t | |
parent | cpukit/libcrypt/misc.c: Reverse order of statements in ifdef (diff) | |
download | rtems-3ac681191ec76f7c0a876f2f2cc33adad9a99cc0.tar.bz2 |
cpukit: deprecate notepads
Deprecate Classic API Notepads. Mark task_set/get_note() with
the deprecated attribute, and also mark the notepads field.
Replace disable with enable option for notepads in confdefs.h,
and make notepads disabled by default. The previous option
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and
will emit a compile-time warning. A new option
CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn
on notepads, but it also will emit a compile-time warning
to indicate that notepads are deprecated.
Closes #2265
Diffstat (limited to 'doc/user/conf.t')
-rw-r--r-- | doc/user/conf.t | 46 |
1 files changed, 41 insertions, 5 deletions
diff --git a/doc/user/conf.t b/doc/user/conf.t index dc10816909..fe714b42d4 100644 --- a/doc/user/conf.t +++ b/doc/user/conf.t @@ -595,6 +595,40 @@ require the addition of a new configuration parameter to specify the number of tasks which enable floating point support. @c +@c === CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS === +@c +@subsection Enable Classic API Notepads + +@findex CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS + +@table @b +@item CONSTANT: +@code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS} + +@item DATA TYPE: +Boolean feature macro. + +@item RANGE: +Defined or undefined. + +@item DEFAULT VALUE: +This is not defined by default, and Classic API Notepads are not supported. + +@end table + +@subheading DESCRIPTION: +@code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS} should be defined if the +user wants to have support for Classic API Notepads in their application. + +@subheading NOTES: +Disabling Classic API Notepads saves the allocation of sixteen (16) +thirty-two bit integers. This saves sixty-four bytes per task/thread +plus the allocation overhead. Notepads are rarely used in applications +and this can save significant memory in a low RAM system. Classic API +Notepads are deprecated, and this option is expected to be obsolete in +the near future. + +@c @c === CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS === @c @subsection Disable Classic API Notepads @@ -612,20 +646,22 @@ Boolean feature macro. Defined or undefined. @item DEFAULT VALUE: -This is not defined by default, and Classic API Notepads are supported. +This is not defined by default, and Classic API Notepads are not supported. @end table @subheading DESCRIPTION: -@code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} should be defined if the -user does not want to have support for Classic API Notepads in their -application. +@code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} is deprecated. If users +want to have support for Classic API Notepads, they should use +@code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS}. @subheading NOTES: Disabling Classic API Notepads saves the allocation of sixteen (16) thirty-two bit integers. This saves sixty-four bytes per task/thread plus the allocation overhead. Notepads are rarely used in applications -and this can save significant memory in a low RAM system. +and this can save significant memory in a low RAM system. Classic API +Notepads are deprecated, and this option is expected to be obsolete in +the near future. @c @c === CONFIGURE_MAXIMUM_TIMERS === |