diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-03-12 20:23:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-03-12 20:23:58 +0000 |
commit | dfb3c2b71f6d8d573bdadfce99d72ec7af1184a4 (patch) | |
tree | 3346f18f8902452f813df06c64349fb08b867394 | |
parent | 2007-03-12 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-dfb3c2b71f6d8d573bdadfce99d72ec7af1184a4.tar.bz2 |
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
Dump_Buffer to rtems_print_buffer.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.c | 6 | ||||
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.h | 14 |
3 files changed, 20 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4089f9b97a..da080ecc2e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2007-03-12 Joel Sherrill <joel@OARcorp.com> + * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename + Dump_Buffer to rtems_print_buffer. + +2007-03-12 Joel Sherrill <joel@OARcorp.com> + * score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.c b/cpukit/libmisc/dumpbuf/dumpbuf.c index 120a464a90..c5c4746c16 100644 --- a/cpukit/libmisc/dumpbuf/dumpbuf.c +++ b/cpukit/libmisc/dumpbuf/dumpbuf.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1997. + * COPYRIGHT (c) 1997-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in @@ -19,7 +19,7 @@ #include <rtems/dumpbuf.h> /* - * Put the body below Dump_Buffer so it won't get inlined. + * Put the body below rtems_print_buffer so it won't get inlined. */ static inline void Dump_Line( @@ -27,7 +27,7 @@ static inline void Dump_Line( int length ); -void Dump_Buffer( +void rtems_print_buffer( unsigned char *buffer, int length ) diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.h b/cpukit/libmisc/dumpbuf/dumpbuf.h index 965d1297d0..48d76c1a09 100644 --- a/cpukit/libmisc/dumpbuf/dumpbuf.h +++ b/cpukit/libmisc/dumpbuf/dumpbuf.h @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1997. + * COPYRIGHT (c) 1997-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in @@ -16,7 +16,17 @@ extern "C" { #endif -void Dump_Buffer( +/** + * @brief Print Memory Buffer + * + * This method prints @a length bytes beginning at @a buffer in + * a nice format similar to what one would expect from a debugger + * or ROM monitor. + * + * @param[in] buffer is the address of the buffer + * @param[in] length is the length of the buffer + */ +void rtems_print_buffer( unsigned char *buffer, int length ); |