This change adds rtems_printf and related functions and wraps the
RTEMS print plugin support into a user API. All references to the
plugin are removed and replaced with the rtems_printer interface.
Printk and related functions are made to return a valid number of
characters formatted and output.
The function attribute to check printf functions has been added
to rtems_printf and printk. No changes to remove warrnings are part
of this patch set.
The testsuite has been moved over to the rtems_printer. The testsuite
has a mix of rtems_printer access and direct print control via the
tmacros.h header file. The support for begink/endk has been removed
as it served no purpose and only confused the code base. The testsuite
has not been refactored to use rtems_printf. This is future work.
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.
* heapwalk/init.c, heapwalk/heapwalk.scn, malloctest/init.c,
malloctest/malloctest.scn: New test cases.
* stackchk/blow.c, stackchk/stackchk.scn: Update for heap API changes.
* malloctest/task1.c, stackchk/task1.c: Eliminate test routines
TICKS_PER_SECOND and get_ticks_per_second() in favor of new
rtems_clock_get_ticks_per_second().
* 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.
* cpuuse/Makefile.am, malloctest/Makefile.am, putenvtest/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, termios/Makefile.am: Add
optional managers to Makefiles. Clean up test cases so last output
line follows END OF pattern. Make sure test case all run. All tests
appeared ok on sis.
* 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.