aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-03-27 15:45:39 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-04-15 20:14:50 +0000
commit70c3b5575ee3e0d528aa176c8c5add3e7355c01e (patch)
tree295232981c89b7d27bff8ad8fc197d125b08293c /qemu-timer.h
parent082b5557996764fb21ba8cff17aabec7242ed342 (diff)
downloadqemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.zip
qemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.tar.gz
qemu-70c3b5575ee3e0d528aa176c8c5add3e7355c01e.tar.bz2
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 3a9228f..bbc3452 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)
{