diff options
Diffstat (limited to 'lib/unwarminder/unwarmmem.h')
-rw-r--r-- | lib/unwarminder/unwarmmem.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/unwarminder/unwarmmem.h b/lib/unwarminder/unwarmmem.h new file mode 100644 index 0000000000..4c02d284d7 --- /dev/null +++ b/lib/unwarminder/unwarmmem.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /*************************************************************************** | ||
2 | * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk | ||
3 | * | ||
4 | * This program is PUBLIC DOMAIN. | ||
5 | * This means that there is no copyright and anyone is able to take a copy | ||
6 | * for free and use it as they wish, with or without modifications, and in | ||
7 | * any context, commerically or otherwise. The only limitation is that I | ||
8 | * don't guarantee that the software is fit for any purpose or accept any | ||
9 | * liablity for it's use or misuse - this software is without warranty. | ||
10 | *************************************************************************** | ||
11 | * File Description: Interface to the memory tracking sub-system. | ||
12 | **************************************************************************/ | ||
13 | |||
14 | #ifndef UNWARMMEM_H | ||
15 | #define UNWARMMEM_H | ||
16 | |||
17 | /*************************************************************************** | ||
18 | * Nested Include Files | ||
19 | **************************************************************************/ | ||
20 | |||
21 | #include "types.h" | ||
22 | #include "unwarm.h" | ||
23 | |||
24 | /*************************************************************************** | ||
25 | * Manifest Constants | ||
26 | **************************************************************************/ | ||
27 | |||
28 | |||
29 | /*************************************************************************** | ||
30 | * Type Definitions | ||
31 | **************************************************************************/ | ||
32 | |||
33 | |||
34 | /*************************************************************************** | ||
35 | * Macros | ||
36 | **************************************************************************/ | ||
37 | |||
38 | |||
39 | /*************************************************************************** | ||
40 | * Function Prototypes | ||
41 | **************************************************************************/ | ||
42 | |||
43 | Boolean UnwMemHashRead (MemData * const memData, | ||
44 | Int32 addr, | ||
45 | Int32 * const data, | ||
46 | Boolean * const tracked); | ||
47 | |||
48 | Boolean UnwMemHashWrite (MemData * const memData, | ||
49 | Int32 addr, | ||
50 | Int32 val, | ||
51 | Boolean valValid); | ||
52 | |||
53 | void UnwMemHashGC (UnwState * const state); | ||
54 | |||
55 | #endif | ||
56 | |||
57 | /* END OF FILE */ | ||