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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/stubs/cpu-get-icount.c b/stubs/cpu-get-icount.c
new file mode 100644
index 0000000000..d68585965f
--- /dev/null
+++ b/stubs/cpu-get-icount.c
@@ -0,0 +1,9 @@
+#include "qemu-common.h"
+#include "qemu/timer.h"
+
+int use_icount;
+
+int64_t cpu_get_icount(void)
+{
+ abort();
+}