mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
![Philippe Mathieu-Daudé](/assets/img/avatar_default.png)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231208113529.74067-7-philmd@linaro.org>
33 lines
549 B
C
33 lines
549 B
C
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "sysemu/cpu-timers.h"
|
|
|
|
/* icount - Instruction Counter API */
|
|
|
|
ICountMode use_icount = ICOUNT_DISABLED;
|
|
|
|
bool icount_configure(QemuOpts *opts, Error **errp)
|
|
{
|
|
/* signal error */
|
|
error_setg(errp, "cannot configure icount, TCG support not available");
|
|
|
|
return false;
|
|
}
|
|
int64_t icount_get_raw(void)
|
|
{
|
|
abort();
|
|
return 0;
|
|
}
|
|
void icount_start_warp_timer(void)
|
|
{
|
|
abort();
|
|
}
|
|
void icount_account_warp_timer(void)
|
|
{
|
|
abort();
|
|
}
|
|
void icount_notify_exit(void)
|
|
{
|
|
abort();
|
|
}
|