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>
This commit is contained in:
parent
082b555799
commit
70c3b5575e
@ -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)
|
||||
{
|
||||
|
4
sysemu.h
4
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);
|
||||
|
Loading…
Reference in New Issue
Block a user