summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/printk.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
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.
2012-12-13libcsupport: Doxygen enhancement task #9Alex Ivanov
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.
2011-02-012011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius
* libcsupport/src/printk.c: Fix typo.
2009-05-152009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill
* libcsupport/Makefile.am, libcsupport/src/printk.c: Restructure to make analysis and coverage easier. Now 100% covered. * libcsupport/src/vprintk.c: New file.
2008-10-032008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/src/printk.c: Addresses can be larger than integers so use long for %p formats. * score/inline/rtems/score/address.inl: Offsets can be positive or negative, so use int32_t. Also do math with intptr_t since there are cases where the number of bits in an address do not equal the number of bits in an integer. * score/inline/rtems/score/heap.inl: Offsets can be positive or negative, so use int32_t.
2008-05-27Bugfix: String output without width option.Thomas Doerfler
2008-02-062008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/src/printk.c: Added width and padding for %s. * libmisc/cpuuse/cpuusagereport.c: Support object names that are strings longer than 4 chanracters.
2007-12-172007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/src/printk.c: Style.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2007-09-102007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill
* libcsupport/src/printk.c: Remove unnecessary comments.
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.
2007-04-022007-04-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* libcsupport/src/printk.c: Add %p support.
2005-08-122005-08-12 Chris Johns <chrisj@rtems.org>Joel Sherrill
PR 808/rtems_misc * libcsupport/src/printk.c: Fix bug where specifying field width crashed on pc386 BSP.
2004-04-18Remove stray white spaces.Ralf Corsepius
2004-04-15Remove stray white spaces.Ralf Corsepius
2003-09-262003-09-26 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill
PR 498/rtems * src/printk.c: RTEMS printk() does not support the %i format which is used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I as an alias for %d/%D.
2002-10-30Add vprintk function for kernel printing from routinesEric Norum
which have already obtained the va_list pointer.
2002-04-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* libc/stat.c: include <string.h>. * libc/printk.c: Remove libcpu/cpu.h.
2002-01-042002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* libc/printk.c: Include rtems/bspIo.h instead of bspIo.h. * include/Makefile.am: Remove bspIo.h. * include/bspIo.h: Removed.
2001-10-102001-10-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* libc/printk.c (printNum): Properly handle a maxwidth of 0 as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
2001-01-082001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
2000-06-15Fixing warning obtained by some users.Joel Sherrill
2000-06-12Added printk as a generic, shared routine.Joel Sherrill