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 | |
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>
-rw-r--r-- | qemu-timer.h | 4 | ||||
-rw-r--r-- | sysemu.h | 4 |
2 files changed, 4 insertions, 4 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) { @@ -41,10 +41,6 @@ uint64_t ram_bytes_remaining(void); uint64_t ram_bytes_transferred(void); uint64_t ram_bytes_total(void); -int64_t cpu_get_ticks(void); -void cpu_enable_ticks(void); -void cpu_disable_ticks(void); - void qemu_system_reset_request(void); void qemu_system_shutdown_request(void); void qemu_system_powerdown_request(void); |