Commit Graph

26 Commits

Author SHA1 Message Date
Aun-Ali Zaidi
d5154d0f6a 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.
2015-12-24 16:52:34 -06:00
Gedare Bloom
3ac681191e 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
2015-03-10 12:53:07 -04:00
Joel Sherrill
880e2f370f User's Guide: Correct typos in return status bullets 2012-10-02 11:45:09 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
ce017afb1b 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t, user/userext.t: Eliminate use of deprecated
	rtems_extension.
2009-09-26 15:51:31 +00:00
Ralf Corsepius
eaf1c0c44c More "bool" cleanup. 2008-09-09 08:19:38 +00:00
Ralf Corsepius
b2adb4528f Convert to "bool". 2008-09-09 07:23:42 +00:00
Joel Sherrill
2a517327a6 2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/ata.t, bsp_howto/clock.t, bsp_howto/ide-ctrl.t,
	bsp_howto/nvmem.t, bsp_howto/shmsupp.t, user/datatypes.t, user/mp.t,
	user/userext.t: Eliminate all references to rtems_signedXX and
	rtems_unsignedXX.
2008-08-21 14:50:16 +00:00
Joel Sherrill
d5671b160e 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/.cvsignore, user/Makefile.am, user/c_user.texi, user/concepts.t,
	user/conf.t, user/dirstat.texi, user/stackchk.t, user/task.t,
	user/userext.t: Add new Object Services collection. Tidy up some
	configuration documentation from earlier changes.
	* user/object.t: New file.
2008-01-29 21:37:00 +00:00
Joel Sherrill
d4696ebb5b 2002-06-28 Joel Sherrill <joel@OARcorp.com>
* userext.t: Per PR228, correct the prototype of the task create
	user extension to indicate it returns a boolean and augment the
	documentation to explain the purpose of the boolean return value.
2002-06-28 13:57:18 +00:00
Joel Sherrill
b5c5bbcf07 2002-04-12 Chris Johns <ccj@acm.org>
* doc/user/userext.t: Per PR138, updated the documentation to show
	how to obtain an extension table index. Also provided some extra
	background on the user extension API.
2002-04-13 16:47:23 +00:00
Joel Sherrill
6449498bc7 2001-01-17 Joel Sherrill <joel@OARcorp.com>
* SUPPORT, LICENSE: New files.
	* Numerous files touched as part of merging the 4.5 branch
	onto the mainline development trunk and ensuring that the
	script that cuts snapshots and releases works on the documentation.
2002-01-17 21:47:47 +00:00
Joel Sherrill
adee597960 Numerous changes based on comments from Stephan Wilms <Stephan.Wilms@CWA.de>
including a new section in the Getting Started called "Where to
Go From Here", lots of index entries added, and more configuration
table information.
2000-05-04 19:45:17 +00:00
Joel Sherrill
0660b4f892 Changed copyright date to 1999. 1999-11-16 19:50:56 +00:00
Joel Sherrill
169502ea55 Turned on concept and function name indexing. 1999-10-11 19:03:05 +00:00
Joel Sherrill
0296c071b6 Updated to correct information on post switch extension and to make
the user extension table type definition correct.
1998-12-17 18:34:01 +00:00
Joel Sherrill
87ed029c79 Added "findex" for all directive pages but it turns out that this
blows up both makeinfo and texi2dvi.  So I have commented them out.
1998-04-02 16:18:26 +00:00
Joel Sherrill
20515fc1f8 Nodes, menus, etc are automatically generated now 1998-03-27 18:53:17 +00:00
Joel Sherrill
75e22db0d5 Completed sweep adding directive and constant prefixes. 1998-03-27 16:47:53 +00:00
Joel Sherrill
f331481c9d Conditionally adding RTEMS_ and rtems_ prefixes. 1998-03-27 13:24:52 +00:00
Joel Sherrill
1e52499574 Updated copyrights 1998-02-06 14:14:30 +00:00
Joel Sherrill
139b2e4a00 added CVS Id string 1997-06-04 18:32:07 +00:00
Joel Sherrill
7e8a1fc947 final corrections before 4.1.0 documentation freeze. 1997-06-04 13:04:36 +00:00
Joel Sherrill
a94c5a5d69 Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.

Added the interrupt disable, enable, flash, and is in progress directives.

changed "97" to "1997"
1997-05-31 15:55:10 +00:00
Joel Sherrill
61389eac9f first cut at Ada bindings manual 1997-05-29 21:53:58 +00:00
Joel Sherrill
ae68ff0857 Initial revision 1997-05-27 12:40:11 +00:00