1/* This file must be included from helper.h */ 2#ifdef CONFIG_TRACE 3DEF_HELPER_1(traceTicks, void, i32) 4DEF_HELPER_0(traceInsn, void) 5#if HOST_LONG_BITS == 32 6DEF_HELPER_2(traceBB32, void, i64, i32) 7#endif 8#if HOST_LONG_BITS == 64 9DEF_HELPER_2(traceBB64, void, i64, i64) 10#endif 11#endif 12 13#ifdef CONFIG_MEMCHECK 14/* Hooks to translated BL/BLX. This callback is used to build thread's 15 * calling stack. 16 * Param: 17 * First pointer contains guest PC where BL/BLX has been found. 18 * Second pointer contains guest PC where BL/BLX will return. 19 */ 20DEF_HELPER_2(on_call, void, i32, i32) 21/* Hooks to return from translated BL/BLX. This callback is used to build 22 * thread's calling stack. 23 * Param: 24 * Pointer contains guest PC where BL/BLX will return. 25 */ 26DEF_HELPER_1(on_ret, void, i32) 27#endif // CONFIG_MEMCHECK 28#include "def-helper.h" 29