summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/dumpbuf/dumpbuf.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-03-12 20:23:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-03-12 20:23:58 +0000
commitdfb3c2b71f6d8d573bdadfce99d72ec7af1184a4 (patch)
tree3346f18f8902452f813df06c64349fb08b867394 /cpukit/libmisc/dumpbuf/dumpbuf.h
parent2007-03-12 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/dumpbuf/dumpbuf.h14
1 files changed, 12 insertions, 2 deletions
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
);