summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/printk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Generate <rtems/bspIo.h>Sebastian Huber2021-08-021-3/+4
| | | | | | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Place the group into the I/O Manager group. Add all source files to the group. Update #3899. Update #3993. Update #4482.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-4/+5
| | | | | | | | | | | | | | | | | | | 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.
* libcsupport: Doxygen enhancement task #9Alex Ivanov2012-12-131-4/+9
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | 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-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-1/+1
| | | | * libcsupport/src/printk.c: Fix typo.
* 2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-151-137/+0
| | | | | | * 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-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-031-1/+1
| | | | | | | | | | | * 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.
* Bugfix: String output without width option.Thomas Doerfler2008-05-271-0/+5
|
* 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-061-4/+29
| | | | | | * 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-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-171-44/+48
| | | | * libcsupport/src/printk.c: Style.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-261-1/+1
| | | | * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
* 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-101-5/+0
| | | | * libcsupport/src/printk.c: Remove unnecessary comments.
* 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-061-21/+20
| | | | | | | | | | | | | | | | * 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-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-021-8/+1
| | | | * libcsupport/src/printk.c: Add %p support.
* 2005-08-12 Chris Johns <chrisj@rtems.org>Joel Sherrill2005-08-121-4/+2
| | | | | | PR 808/rtems_misc * libcsupport/src/printk.c: Fix bug where specifying field width crashed on pc386 BSP.
* Remove stray white spaces.Ralf Corsepius2004-04-181-6/+6
|
* Remove stray white spaces.Ralf Corsepius2004-04-151-1/+0
|
* 2003-09-26 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-09-261-0/+1
| | | | | | | 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.
* Add vprintk function for kernel printing from routinesEric Norum2002-10-301-4/+11
| | | | which have already obtained the va_list pointer.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-081-1/+0
| | | | | * libc/stat.c: include <string.h>. * libc/printk.c: Remove libcpu/cpu.h.
* 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-01-041-1/+1
| | | | | | * libc/printk.c: Include rtems/bspIo.h instead of bspIo.h. * include/Makefile.am: Remove bspIo.h. * include/bspIo.h: Removed.
* 2001-10-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-101-1/+1
| | | | | * libc/printk.c (printNum): Properly handle a maxwidth of 0 as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
* 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-081-0/+3
| | | | | | | * 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.
* Fixing warning obtained by some users.Joel Sherrill2000-06-151-0/+4
|
* Added printk as a generic, shared routine.Joel Sherrill2000-06-121-0/+144