| 1 | #include "qemu/osdep.h" |
| 2 | #include "qapi/error.h" |
| 3 | #include "exec/icount.h" |
| 4 | |
| 5 | /* icount - Instruction Counter API */ |
| 6 | |
| 7 | ICountMode use_icount = ICOUNT_DISABLED; |
| 8 | |
| 9 | bool icount_configure(QemuOpts *opts, Error **errp) |
| 10 | { |
| 11 | /* signal error */ |
| 12 | error_setg(errp, "cannot configure icount, TCG support not available"); |
| 13 | |
| 14 | return false; |
| 15 | } |
| 16 | int64_t icount_get_raw(void) |
| 17 | { |
| 18 | abort(); |
| 19 | return 0; |
| 20 | } |
| 21 | void icount_start_warp_timer(void) |
| 22 | { |
| 23 | abort(); |
| 24 | } |
| 25 | void icount_account_warp_timer(void) |
| 26 | { |
| 27 | abort(); |
| 28 | } |
| 29 | void icount_notify_exit(void) |
| 30 | { |
| 31 | abort(); |
| 32 | } |