summaryrefslogtreecommitdiffstats
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorBlue Swirl2011-03-27 17:45:39 +0200
committerBlue Swirl2011-04-15 22:14:50 +0200
commit70c3b5575ee3e0d528aa176c8c5add3e7355c01e (patch)
tree295232981c89b7d27bff8ad8fc197d125b08293c /qemu-timer.h
parentMove generic or OS function declarations to qemu-common.h (diff)
downloadqemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.tar.gz
qemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.tar.xz
qemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.zip
Move clock related functions to qemu-timer.h
Move declarations for clock related functions from sysemu.h to qemu-timer.h. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-timer.h')
-rw-r--r--qemu-timer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-timer.h b/qemu-timer.h
index 3a9228f7df..bbc3452bc3 100644
--- a/qemu-timer.h
+++ b/qemu-timer.h
@@ -59,6 +59,10 @@ void init_clocks(void);
int init_timer_alarm(void);
void quit_timers(void);
+int64_t cpu_get_ticks(void);
+void cpu_enable_ticks(void);
+void cpu_disable_ticks(void);
+
static inline QEMUTimer *qemu_new_timer_ns(QEMUClock *clock, QEMUTimerCB *cb,
void *opaque)
{