summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/printk_plugin.c (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-12-16libcsupport: Update rtems_print printk handler to return the lengthChris Johns
2017-10-28tests: Move rtems_test_printer definitionSebastian Huber
Statically initialize it to use printk(). Update #3170. Update #3199.
2016-06-22Move printer initialization to separate headerSebastian Huber
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
2016-06-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber
2016-06-22Make printk_plugin() staticSebastian Huber
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns
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.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2012-12-11libcsupport: Doxygen enhancement GCI task #4Alex Ivanov
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
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.
2009-11-29Whitespace removal.Ralf Corsepius
2009-09-30Remove stray whitespace.Ralf Corsepius
2009-09-15Add __attribute__((unused)) to function arguments.Ralf Corsepius
2008-08-26various changes to gen83xx BSP and othersThomas Doerfler
2007-09-062007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/Makefile.am, libcsupport/src/printk.c: * libcsupport/src/printk_plugin.c: New file. include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c, libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonreportstatistics.c: Added capability to specify your own "printf" routine to various reporting functions. This added an XXX_with_plugin as the underlying implementation for + rtems_rate_monotonic_report_statistics + rtems_stack_checker_report_usage + rtems_cpu_usage_report As demonstration, the http netdemo can now print out stack and cpu usage reports.