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.
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
Alter the output to avoid sending out what is the MI protocol. The SIS
simulator is currently broken and outputs directly to GDB's stdout and
so this output gets parsed as MI output.
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.
* cpuuse/init.c, malloctest/init.c, monitor/init.c, monitor02/init.c,
putenvtest/init.c, rtems++/Init.cc, rtmonuse/init.c, stackchk/init.c:
Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all
POSIX tests. Add a clock_settime case for < 1988.
* 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>.
Makefile.am: Reflect having moved automake.
cpuuse/Makefile.am: Reflect having moved automake.
malloctest/Makefile.am: Reflect having moved automake.
monitor/Makefile.am: Reflect having moved automake.
putenvtest/Makefile.am: Reflect having moved automake.
rtems++/Makefile.am: Reflect having moved automake.
rtmonuse/Makefile.am: Reflect having moved automake.
stackchk/Makefile.am: Reflect having moved automake.
termios/Makefile.am: Reflect having moved automake.
* cpuuse/Makefile.am: Use $(OBJEXT) instead of .o.
* malloctest/Makefile.am: Use $(OBJEXT) instead of .o.
* monitor/Makefile.am: Use $(OBJEXT) instead of .o.
* putenvtest/Makefile.am: Use $(OBJEXT) instead of .o.
* rtems++/Makefile.am: Use $(OBJEXT) instead of .o.
* rtmonuse/Makefile.am: Use $(OBJEXT) instead of .o.
* stackchk/Makefile.am: Use $(OBJEXT) instead of .o.
* termios/Makefile.am: Use $(OBJEXT) instead of .o.
* rtems++/Makefile.am: Make sure debug variant of librtems++
is linked against. Reported by Jerry Needell <jerry.needell@unh.edu>
and processed as PR78.
* malloctest/Makefile.am: include leaf.am instead of leaf.cfg.
* monitor/Makefile.am: include leaf.am instead of leaf.cfg.
* termios/Makefile.am: include leaf.am instead of leaf.cfg.
* putenvtest/Makefile.am: include leaf.am instead of leaf.cfg.
* rtems++/Makefile.am: include leaf.am instead of leaf.cfg, use
make-cxx-exe.
* stackchk/Makefile.am: include leaf.am instead of leaf.cfg.
* rtmonuse/Makefile.am: include leaf.am instead of leaf.cfg.
* cpuuse/Makefile.am: include leaf.am instead of leaf.cfg.