aboutsummaryrefslogtreecommitdiff
path: root/stubs/cpu-get-icount.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/cpu-get-icount.c')
-rw-r--r--stubs/cpu-get-icount.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stubs/cpu-get-icount.c b/stubs/cpu-get-icount.c
index 2e8b63b225..0b7239d721 100644
--- a/stubs/cpu-get-icount.c
+++ b/stubs/cpu-get-icount.c
@@ -2,6 +2,7 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "sysemu/cpus.h"
+#include "qemu/main-loop.h"
int use_icount;
@@ -9,3 +10,8 @@ int64_t cpu_get_icount(void)
{
abort();
}
+
+void qemu_timer_notify_cb(void *opaque, QEMUClockType type)
+{
+ qemu_notify_event();
+}