mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

Split icount stuff from system/cpu-timers.h. There are 17 files which only require icount.h, 7 that only require cpu-timers.h, and 7 that require both. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
32 lines
543 B
C
32 lines
543 B
C
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "exec/icount.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();
|
|
}
|