diff options
author | Alex Bligh | 2013-08-21 17:03:02 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2013-08-22 19:14:24 +0200 |
commit | 40daca54cd94678273c81dca8c0adefa297da5ea (patch) | |
tree | 34520ab76d7cb9953d8c2bcfd5674769079f322a /hw/sparc64 | |
parent | aio / timers: Add qemu_clock_get_ms and qemu_clock_get_ms (diff) | |
download | qemu-40daca54cd94678273c81dca8c0adefa297da5ea.tar.gz qemu-40daca54cd94678273c81dca8c0adefa297da5ea.tar.xz qemu-40daca54cd94678273c81dca8c0adefa297da5ea.zip |
aio / timers: Rearrange timer.h & make legacy functions call non-legacy
Rearrange timer.h so it is in order by function type.
Make legacy functions call non-legacy functions rather than vice-versa.
Convert cpus.c to use new API.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/sparc64')
-rw-r--r-- | hw/sparc64/sun4u.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index a7214a3fc7..2165bb0a8c 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -363,7 +363,7 @@ void cpu_put_timer(QEMUFile *f, CPUTimer *s) qemu_put_be64s(f, &s->disabled_mask); qemu_put_sbe64s(f, &s->clock_offset); - qemu_put_timer(f, s->qtimer); + timer_put(f, s->qtimer); } void cpu_get_timer(QEMUFile *f, CPUTimer *s) @@ -373,7 +373,7 @@ void cpu_get_timer(QEMUFile *f, CPUTimer *s) qemu_get_be64s(f, &s->disabled_mask); qemu_get_sbe64s(f, &s->clock_offset); - qemu_get_timer(f, s->qtimer); + timer_get(f, s->qtimer); } static CPUTimer *cpu_timer_create(const char *name, SPARCCPU *cpu, |