mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
55a197dab4
commit
40daca54cd
11 changed files with 490 additions and 390 deletions
|
@ -263,7 +263,7 @@ static int acpi_load_old(QEMUFile *f, void *opaque, int version_id)
|
|||
return ret;
|
||||
}
|
||||
|
||||
qemu_get_timer(f, s->ar.tmr.timer);
|
||||
timer_get(f, s->ar.tmr.timer);
|
||||
qemu_get_sbe64s(f, &s->ar.tmr.overflow_time);
|
||||
|
||||
qemu_get_be16s(f, (uint16_t *)s->ar.gpe.sts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue