Merge tag 'pull-target-arm-20221121' of https://git.linaro.org/people/pmaydell/qemu...
[qemu/ar7.git] / stubs / icount.c
blob6df8c2bf7d4488b9d2682a6d5e4787a4f7db2430
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "sysemu/cpu-timers.h"
5 /* icount - Instruction Counter API */
7 int use_icount;
9 void icount_update(CPUState *cpu)
11 abort();
13 void icount_configure(QemuOpts *opts, Error **errp)
15 /* signal error */
16 error_setg(errp, "cannot configure icount, TCG support not available");
18 int64_t icount_get_raw(void)
20 abort();
21 return 0;
23 int64_t icount_get(void)
25 abort();
26 return 0;
28 int64_t icount_to_ns(int64_t icount)
30 abort();
31 return 0;
33 int64_t icount_round(int64_t count)
35 abort();
36 return 0;
38 void icount_start_warp_timer(void)
40 abort();
42 void icount_account_warp_timer(void)
44 abort();
47 void icount_notify_exit(void)