2020-08-19 14:17:19 +03:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "qapi/error.h"
|
|
|
|
#include "sysemu/cpu-timers.h"
|
|
|
|
|
|
|
|
/* icount - Instruction Counter API */
|
|
|
|
|
2023-12-08 14:35:25 +03:00
|
|
|
ICountMode use_icount = ICOUNT_DISABLED;
|
2020-08-19 14:17:19 +03:00
|
|
|
|
2023-12-08 14:35:23 +03:00
|
|
|
bool icount_configure(QemuOpts *opts, Error **errp)
|
2020-08-19 14:17:19 +03:00
|
|
|
{
|
|
|
|
/* signal error */
|
|
|
|
error_setg(errp, "cannot configure icount, TCG support not available");
|
2023-12-08 14:35:23 +03:00
|
|
|
|
|
|
|
return false;
|
2020-08-19 14:17:19 +03:00
|
|
|
}
|
2020-08-31 17:18:34 +03:00
|
|
|
int64_t icount_get_raw(void)
|
2020-08-19 14:17:19 +03:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2020-08-31 17:18:34 +03:00
|
|
|
void icount_start_warp_timer(void)
|
2020-08-19 14:17:19 +03:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
2020-08-31 17:18:34 +03:00
|
|
|
void icount_account_warp_timer(void)
|
2020-08-19 14:17:19 +03:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
2022-05-27 13:46:13 +03:00
|
|
|
void icount_notify_exit(void)
|
|
|
|
{
|
2023-12-08 14:35:27 +03:00
|
|
|
abort();
|
2022-05-27 13:46:13 +03:00
|
|
|
}
|