提交 70c3b557 编写于 作者: B Blue Swirl

Move clock related functions to qemu-timer.h

Move declarations for clock related functions from sysemu.h to qemu-timer.h.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 082b5557
...@@ -59,6 +59,10 @@ void init_clocks(void); ...@@ -59,6 +59,10 @@ void init_clocks(void);
int init_timer_alarm(void); int init_timer_alarm(void);
void quit_timers(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, static inline QEMUTimer *qemu_new_timer_ns(QEMUClock *clock, QEMUTimerCB *cb,
void *opaque) void *opaque)
{ {
......
...@@ -41,10 +41,6 @@ uint64_t ram_bytes_remaining(void); ...@@ -41,10 +41,6 @@ uint64_t ram_bytes_remaining(void);
uint64_t ram_bytes_transferred(void); uint64_t ram_bytes_transferred(void);
uint64_t ram_bytes_total(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_reset_request(void);
void qemu_system_shutdown_request(void); void qemu_system_shutdown_request(void);
void qemu_system_powerdown_request(void); void qemu_system_powerdown_request(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册