diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-03-27 15:45:39 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-04-15 20:14:50 +0000 |
commit | 70c3b5575ee3e0d528aa176c8c5add3e7355c01e (patch) | |
tree | 295232981c89b7d27bff8ad8fc197d125b08293c /qemu-timer.h | |
parent | 082b5557996764fb21ba8cff17aabec7242ed342 (diff) |
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.h | 4 |
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) { |