linux/arch/cris/arch-v32/mach-fs/vcs_hook.h
<<
>>
Prefs
   1/*
   2 * Call simulator hook functions
   3 */
   4
   5#ifndef HOOK_H
   6#define HOOK_H
   7
   8int hook_call(unsigned id, unsigned pcnt, ...);
   9
  10enum hook_ids {
  11  hook_debug_on = 1,
  12  hook_debug_off,
  13  hook_stop_sim_ok,
  14  hook_stop_sim_fail,
  15  hook_alloc_shared,
  16  hook_ptr_shared,
  17  hook_free_shared,
  18  hook_file2shared,
  19  hook_cmp_shared,
  20  hook_print_params,
  21  hook_sim_time,
  22  hook_stop_sim,
  23  hook_kick_dog,
  24  hook_dog_timeout,
  25  hook_rand,
  26  hook_srand,
  27  hook_rand_range,
  28  hook_print_str,
  29  hook_print_hex,
  30  hook_cmp_offset_shared,
  31  hook_fill_random_shared,
  32  hook_alloc_random_data,
  33  hook_calloc_random_data,
  34  hook_print_int,
  35  hook_print_uint,
  36  hook_fputc,
  37  hook_init_fd,
  38  hook_sbrk
  39
  40};
  41
  42#endif
  43