mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
8191d36841
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
45 lines
700 B
C
45 lines
700 B
C
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "sysemu/cpu-timers.h"
|
|
|
|
/* icount - Instruction Counter API */
|
|
|
|
int use_icount;
|
|
|
|
void icount_update(CPUState *cpu)
|
|
{
|
|
abort();
|
|
}
|
|
void icount_configure(QemuOpts *opts, Error **errp)
|
|
{
|
|
/* signal error */
|
|
error_setg(errp, "cannot configure icount, TCG support not available");
|
|
}
|
|
int64_t icount_get_raw(void)
|
|
{
|
|
abort();
|
|
return 0;
|
|
}
|
|
int64_t icount_get(void)
|
|
{
|
|
abort();
|
|
return 0;
|
|
}
|
|
int64_t icount_to_ns(int64_t icount)
|
|
{
|
|
abort();
|
|
return 0;
|
|
}
|
|
int64_t icount_round(int64_t count)
|
|
{
|
|
abort();
|
|
return 0;
|
|
}
|
|
void icount_start_warp_timer(void)
|
|
{
|
|
abort();
|
|
}
|
|
void icount_account_warp_timer(void)
|
|
{
|
|
abort();
|
|
}
|