From: Blue Swirl Date: Sun, 27 Mar 2011 15:45:39 +0000 (+0000) Subject: Move clock related functions to qemu-timer.h X-Git-Tag: TizenStudio_2.0_p2.3~2917 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c29ae05af836c5bfb154fa11758156702a21a21;p=sdk%2Femulator%2Fqemu.git 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 --- 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) { diff --git a/sysemu.h b/sysemu.h index f112c22..a379024 100644 --- a/sysemu.h +++ b/sysemu.h @@ -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);