| 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.
|
|
|
|
|
| |
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h:
Fixed timeout calculation.
|
| |
|
|
|
|
|
|
|
| |
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h,
include/rtems++/rtemsSemaphore.h, include/rtems++/rtemsTimer.h,
src/rtemsTask.cc: Eliminate all public use of TOD conversion
routines.
|
|
|
|
|
| |
* include/rtems++/rtemsTimer.h: Use public API not
_TOD_Microseconds_per_tick.
|
|
|
|
|
|
| |
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h,
include/rtems++/rtemsSemaphore.h, src/rtemsTask.cc: Use public API
not _TOD_Microseconds_per_tick.
|
| |
|
|
|
|
|
| |
* include/rtems++/rtemsMessageQueue.h, src/rtemsMessageQueue.cc: Make
compile by using size_t and uint32_t where appropriate.
|
|
|
|
|
|
|
|
|
|
| |
* librtems++/include/rtems++/rtemsEvent.h,
librtems++/include/rtems++/rtemsMessageQueue.h,
librtems++/include/rtems++/rtemsSemaphore.h,
librtems++/include/rtems++/rtemsTask.h, librtems++/src/rtemsEvent.cc,
librtems++/src/rtemsMessageQueue.cc,
librtems++/src/rtemsSemaphore.cc, librtems++/src/rtemsTask.cc: Change
rtems_unsigned32 to uint32_t.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsInterrupt.h,
include/rtems++/rtemsMessageQueue.h,
include/rtems++/rtemsSemaphore.h, include/rtems++/rtemsStatusCode.h,
include/rtems++/rtemsTask.h, include/rtems++/rtemsTaskMode.h,
include/rtems++/rtemsTimer.h, src/rtemsEvent.cc,
src/rtemsInterrupt.cc, src/rtemsMessageQueue.cc,
src/rtemsSemaphore.cc, src/rtemsStatusCode.cc, src/rtemsTask.cc,
src/rtemsTimer.cc: URL for license changed.
|
|
|
|
|
|
|
|
| |
* src/Makefile.am: Remove.
* include/Makefile.am: Remove.
* Makefile.am: Merge-in src/Makefile.am, include/Makefile.am.
* configure.ac: Reflect changes above.
Unconditionally check for CXX.
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
|
| |
* include/rtems++/Makefile.am: Remove.
* include/Makefile.am: Handle subdirs, require automake-1.5.
* configure.ac: Reflect changes above.
* Makefile.am: Require automake-1.5.
|
|
|
|
| |
* include/rtems++/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
|
| |
* include/rtems++/Makefile.am: Apply include_*HEADERS instead of
H_FILES.
|
| |
|
|
|
|
| |
adds .cvsignore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.. a major configuration cleanup
... major enhancement of automake support.
... and it contains a *major* breakthough:
Automake support for libchip and libmisc *LEAF* directories.
To implement this I have used several nasty tricks
* The basical trick is to wrap an old Makefile.in's contents into a
Makefile.am and still continue to use (i.e include) the old
*.cfg files.
* Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
dependencies
* Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
automake and RTEMS make rules
* Replaced each install:: and preinstall:: rule with make dependencies
* Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
convention)
* Removed each manually added autoconf substitution which automake
performs automatically.
This is not yet full automake support, because using the temporary
installation directory, preinstallation in general and building variants
are in contradiction to automake's basic working principles ...
... the new Makefile.ams work still somewhat clumsy
... nevertheless they work (quite well).
WARNING:
At first glance this patch is small, but
* it affects the whole configuration system.
* it opens the road to introducing automake to all Makefile.ins
currently not being under automake control.
JOEL> Does this remove or add any files?
Both, all Makefile.ins below libchip and libmisc get replaced with
Makefile.ams.
|
| |
|
| |
|
|
|
|
|
| |
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.
|
| |
|
|
<cjohns@plessey.com.au>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
|