| Commit message (Collapse) | Author | 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
|
|
|
|
|
|
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.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
|
|
PR 1589/build
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am,
devfs04/Makefile.am, deviceio01/Makefile.am,
devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am,
gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am,
malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am,
malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am,
mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am,
tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am,
termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am,
termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional
manager capability.
|
|
* rtems++/Init.cc, rtems++/Task1.cc, rtems++/Task2.cc,
rtems++/Task3.cc: Added HAVE_CONFIG_H.
|
|
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am: Revert.
|
|
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios01/init.c, termios02/Makefile.am: Fix bug so existing test
code for rtems_termios_baud_to_index() is executed.
|
|
* rtems++/Task3.cc: Use %zu instead of %i to print size_t's.
Remove bogus cast.
|
|
* rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
|
|
* rtems++/Task1.cc: Eliminate more warnings.
|
|
* rtems++/Task1.cc, rtems++/Task2.cc: Spray PRI* macros to eliminate
several dozens of warnings.
|
|
|
|
* rtems++/System.h: Account for extra task stacks properly.
|
|
* 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.
|
|
* rtems++/Task1.cc, rtems++/Task3.cc: Address size_t/uint32_t typing
issues in message queue tests.
|
|
|
|
* rtems++/Task1.cc: Fix warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* rtems++/Makefile.am: Remove LIB_VARIANT.
|
|
|
|
* 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/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
* malloctest/Makefile.am: Ditto.
* monitor/Makefile.am: Ditto.
* putenvtest/Makefile.am: Ditto.
* rtems++/Makefile.am: Ditto.
* rtmonuse/Makefile.am: Ditto.
* stackchk/Makefile.am: Ditto.
* termios/Makefile.am: Ditto.
|
|
* cpuuse/Makefile.am: Remove all-local: $(ARCH).
* malloctest/Makefile.am: Remove all-local: $(ARCH).
* monitor/Makefile.am: Remove all-local: $(ARCH).
* putenvtest/Makefile.am: Remove all-local: $(ARCH).
* rtems++/Makefile.am: Remove all-local: $(ARCH).
* rtmonuse/Makefile.am: Remove all-local: $(ARCH).
* stackchk/Makefile.am: Remove all-local: $(ARCH).
* termios/Makefile.am: Remove all-local: $(ARCH).
|
|
* 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.
|
|
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.
|
|
* configure.ac: Unconditionally check for CXX.
Require autoconf-2.57, automake-1.7.2.
* rtems++: Eliminate CC_O_FILES.
|
|
* 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.
|
|
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* malloctest/Makefile.am: Remove AUTOMAKE_OPTIONS.
* monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
* putenvtest/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtems++/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
* stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
* termios/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
* rtems++/Makefile.am: Make sure debug variant of librtems++
is linked against. Reported by Jerry Needell <jerry.needell@unh.edu>
and processed as PR78.
|
|
* rtems++/Makefile.am: Pick up -lrtems++ even when debug.
|
|
* libtests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
* rtems++/Makefile.am: LD_FLAGS = -lrtems++.
|
|
* libtests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
* rtems++/Makefile: Remove LD_LIBS.
|
|
* 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.
|