diff mbox

[05/11] Move clock related functions to qemu-timer.h

Message ID BANLkTi=YTmNuJ2jyqTYtFiJ8o6WdBfUd1g@mail.gmail.com
State New
Headers show

Commit Message

Blue Swirl April 8, 2011, 8:46 p.m. UTC
Move declarations for clock related functions from sysemu.h to qemu-timer.h.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 qemu-timer.h |    4 ++++
 sysemu.h     |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

From eec52e557ccbdb44176392ca1476b00864d313ed Mon Sep 17 00:00:00 2001
Message-Id: <eec52e557ccbdb44176392ca1476b00864d313ed.1302295418.git.blauwirbel@gmail.com>
In-Reply-To: <6a1748c587d34b0ce37488596c68c4aee58a4638.1302295418.git.blauwirbel@gmail.com>
References: <6a1748c587d34b0ce37488596c68c4aee58a4638.1302295418.git.blauwirbel@gmail.com>
From: Blue Swirl <blauwirbel@gmail.com>
Date: Sun, 27 Mar 2011 15:45:39 +0000
Subject: [PATCH 05/11] 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>
---
 qemu-timer.h |    4 ++++
 sysemu.h     |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/qemu-timer.h b/qemu-timer.h
index 75d5675..4738e99 100644
--- a/qemu-timer.h
+++ b/qemu-timer.h
@@ -58,6 +58,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);
-- 
1.7.2.5