aboutsummaryrefslogtreecommitdiff
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
parent082b5557996764fb21ba8cff17aabec7242ed342 (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.h4
-rw-r--r--sysemu.h4
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)
{
diff --git a/sysemu.h b/sysemu.h
index f112c227ac..a379024120 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);