| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is old and there are better design patterns for threading and C++.
We recommend you use the new C++ standards based support.
Closes #2777.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* rtems++/System.h: Account for extra task stacks properly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
more accurate.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
<cjohns@plessey.com.au>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
|