mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
aio / timers: Convert rtc_clock to be a QEMUClockType
Convert rtc_clock to be a QEMUClockType Move rtc_clock users to use the 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
7bf8fbde44
commit
884f17c235
10 changed files with 60 additions and 54 deletions
|
@ -93,7 +93,7 @@ uint64_t helper_get_vmtime(void)
|
|||
|
||||
uint64_t helper_get_walltime(void)
|
||||
{
|
||||
return qemu_get_clock_ns(rtc_clock);
|
||||
return qemu_clock_get_ns(rtc_clock);
|
||||
}
|
||||
|
||||
void helper_set_alarm(CPUAlphaState *env, uint64_t expire)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue