RTEMS Linker
0.0.1
RTEMS Tools Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
/Users/chris/Development/rtems/src/apps/rtl-host.chrisj/rtems-utils.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2012, Chris Johns <chrisj@rtems.org>
3
*
4
* Permission to use, copy, modify, and/or distribute this software for any
5
* purpose with or without fee is hereby granted, provided that the above
6
* copyright notice and this permission notice appear in all copies.
7
*
8
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
*/
16
/**
17
* @file
18
*
19
* @ingroup RLD
20
*
21
* @brief A memory dump routine.
22
*
23
*/
24
25
#if !defined (_MEMORY_DUMP_H_)
26
#define _MEMORY_DUMP_H_
27
28
namespace
rtems
29
{
30
namespace
utils
31
{
32
/**
33
* Hex display memory.
34
*
35
* @param addr The address of the memory to display.
36
* @param length The number of elements to display.
37
* @param size The size of the data element.
38
* @param real Use the real address based on addr.
39
* @param line_length Number of elements per line.
40
* @param offset The printed offset.
41
*/
42
void
dump
(
const
void
* addr,
43
size_t
length,
44
size_t
size,
45
bool
real =
false
,
46
size_t
line_length = 16,
47
uint32_t offset = 0);
48
}
49
}
50
51
#endif
rtems-utils.h
Generated on Wed Jan 23 2013 14:02:37 for RTEMS Linker by
1.8.3.1