Path: blob/master/arch/cris/arch-v32/mach-fs/vcs_hook.h
15125 views
/*1* Call simulator hook functions2*/34#ifndef HOOK_H5#define HOOK_H67int hook_call(unsigned id, unsigned pcnt, ...);89enum hook_ids {10hook_debug_on = 1,11hook_debug_off,12hook_stop_sim_ok,13hook_stop_sim_fail,14hook_alloc_shared,15hook_ptr_shared,16hook_free_shared,17hook_file2shared,18hook_cmp_shared,19hook_print_params,20hook_sim_time,21hook_stop_sim,22hook_kick_dog,23hook_dog_timeout,24hook_rand,25hook_srand,26hook_rand_range,27hook_print_str,28hook_print_hex,29hook_cmp_offset_shared,30hook_fill_random_shared,31hook_alloc_random_data,32hook_calloc_random_data,33hook_print_int,34hook_print_uint,35hook_fputc,36hook_init_fd,37hook_sbrk3839};4041#endif424344