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
|
/* This file must be included from helper.h */
#ifdef CONFIG_TRACE
DEF_HELPER_1(traceTicks, void, i32)
DEF_HELPER_0(traceInsn, void)
#if HOST_LONG_BITS == 32
DEF_HELPER_2(traceBB32, void, i64, i32)
#endif
#if HOST_LONG_BITS == 64
DEF_HELPER_2(traceBB64, void, i64, i64)
#endif
#endif
#ifdef CONFIG_MEMCHECK
/* Hooks to translated BL/BLX. This callback is used to build thread's
* calling stack.
* Param:
* First pointer contains guest PC where BL/BLX has been found.
* Second pointer contains guest PC where BL/BLX will return.
*/
DEF_HELPER_2(on_call, void, i32, i32)
/* Hooks to return from translated BL/BLX. This callback is used to build
* thread's calling stack.
* Param:
* Pointer contains guest PC where BL/BLX will return.
*/
DEF_HELPER_1(on_ret, void, i32)
#endif // CONFIG_MEMCHECK
#include "def-helper.h"
|