summaryrefslogtreecommitdiffstats
path: root/lib/unwarminder/unwarmmem.h
blob: 4c02d284d72678b0b87cfe0a9ac4c33d08aa2d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/***************************************************************************
 * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
 *
 * This program is PUBLIC DOMAIN.
 * This means that there is no copyright and anyone is able to take a copy
 * for free and use it as they wish, with or without modifications, and in
 * any context, commerically or otherwise. The only limitation is that I
 * don't guarantee that the software is fit for any purpose or accept any
 * liablity for it's use or misuse - this software is without warranty.
 ***************************************************************************
 * File Description: Interface to the memory tracking sub-system.
 **************************************************************************/

#ifndef UNWARMMEM_H
#define UNWARMMEM_H

/***************************************************************************
 * Nested Include Files
 **************************************************************************/

#include "types.h"
#include "unwarm.h"

/***************************************************************************
 * Manifest Constants
 **************************************************************************/


/***************************************************************************
 * Type Definitions
 **************************************************************************/


/***************************************************************************
 *  Macros
 **************************************************************************/


/***************************************************************************
 *  Function Prototypes
 **************************************************************************/

Boolean UnwMemHashRead  (MemData * const memData,
                         Int32           addr,
                         Int32   * const data,
                         Boolean * const tracked);

Boolean UnwMemHashWrite (MemData * const memData,
                         Int32           addr,
                         Int32           val,
                         Boolean         valValid);

void    UnwMemHashGC    (UnwState * const state);

#endif

/* END OF FILE */