Commit Graph

19 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
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
f8b2eb03f7 tests/libtests: Use <rtems/test.h> 2014-03-20 09:10:26 +01: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
1bdf29debf 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems++/System.h: Account for extra task stacks properly.
2008-06-17 18:49:37 +00:00
Ralf Corsepius
8f71a36f71 Remove stray white spaces. 2004-04-20 07:09:31 +00:00
Ralf Corsepius
1b2203001f * cpuuse/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* malloctest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* monitor/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* putenvtest/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* rtems++/System.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* rtmonuse/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* stackchk/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* termios/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:16:12 +00:00
Ralf Corsepius
9919946a82 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c,
	monitor/system.h, rtems++/System.h, rtems++/Task1.cc,
	rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c,
	rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to
	using c99 fixed size types.
2004-03-30 11:12:47 +00:00
Joel Sherrill
2abdd87b91 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h, cpuuse/task1.c, cpuuse/task2.c,
	cpuuse/task3.c, cpuuse/tswitch.c, malloctest/init.c,
	malloctest/system.h, malloctest/task1.c, monitor/init.c,
	monitor/system.h, putenvtest/init.c, rtems++/Init.cc,
	rtems++/System.h, rtems++/Task1.cc, rtems++/Task2.cc,
	rtems++/Task3.cc, rtems++/rtems++.doc, rtmonuse/getall.c,
	rtmonuse/init.c, rtmonuse/system.h, rtmonuse/task1.c,
	stackchk/blow.c, stackchk/init.c, stackchk/system.h,
	stackchk/task1.c: URL for license changed.
2003-09-04 18:53:27 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
9a993ed573 Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.
1998-04-27 13:51:23 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
d9fe8e230a Fixed some spacing. 1997-10-09 20:21:43 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
3a321e2310 Fixed some weird line duplications. Thanks to Chris Johns. 1997-10-06 21:32:47 +00:00
Joel Sherrill
2d60095868 Patches from Chris Johns to clean up test. 1997-08-26 19:24:22 +00:00
Joel Sherrill
0074691a67 Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>.  This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
1997-07-31 22:13:29 +00:00