2007-03-12 Joel Sherrill <joel@OARcorp.com>

* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
	Dump_Buffer to rtems_print_buffer.
This commit is contained in:
Joel Sherrill
2007-03-12 20:23:58 +00:00
parent 2697be56d0
commit dfb3c2b71f
3 changed files with 20 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
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

View File

@@ -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
)

View File

@@ -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
);