summaryrefslogtreecommitdiffstats
path: root/qemu/stubs/cpu-get-icount.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/stubs/cpu-get-icount.c')
-rw-r--r--qemu/stubs/cpu-get-icount.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu/stubs/cpu-get-icount.c b/qemu/stubs/cpu-get-icount.c
new file mode 100644
index 000000000..d68585965
--- /dev/null
+++ b/qemu/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();
+}