2020-08-19 11:17:19 +00:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "qapi/error.h"
|
|
|
|
#include "sysemu/cpu-timers.h"
|
|
|
|
|
|
|
|
/* icount - Instruction Counter API */
|
|
|
|
|
|
|
|
int use_icount;
|
|
|
|
|
2020-08-31 14:18:34 +00:00
|
|
|
void icount_update(CPUState *cpu)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
void icount_configure(QemuOpts *opts, Error **errp)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
/* signal error */
|
|
|
|
error_setg(errp, "cannot configure icount, TCG support not available");
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
int64_t icount_get_raw(void)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
int64_t icount_get(void)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
int64_t icount_to_ns(int64_t icount)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
int64_t icount_round(int64_t count)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
void icount_start_warp_timer(void)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
2020-08-31 14:18:34 +00:00
|
|
|
void icount_account_warp_timer(void)
|
2020-08-19 11:17:19 +00:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|