Revision 74475455 hw/baum.c
b/hw/baum.c | ||
---|---|---|
335 | 335 |
int i; |
336 | 336 |
|
337 | 337 |
/* Allow 100ms to complete the DisplayData packet */ |
338 |
qemu_mod_timer(baum->cellCount_timer, qemu_get_clock(vm_clock) + |
|
338 |
qemu_mod_timer(baum->cellCount_timer, qemu_get_clock_ns(vm_clock) +
|
|
339 | 339 |
get_ticks_per_sec() / 10); |
340 | 340 |
for (i = 0; i < baum->x * baum->y ; i++) { |
341 | 341 |
EAT(c); |
... | ... | |
604 | 604 |
goto fail_handle; |
605 | 605 |
} |
606 | 606 |
|
607 |
baum->cellCount_timer = qemu_new_timer(vm_clock, baum_cellCount_timer_cb, baum); |
|
607 |
baum->cellCount_timer = qemu_new_timer_ns(vm_clock, baum_cellCount_timer_cb, baum);
|
|
608 | 608 |
|
609 | 609 |
if (brlapi__getDisplaySize(handle, &baum->x, &baum->y) == -1) { |
610 | 610 |
brlapi_perror("baum_init: brlapi_getDisplaySize"); |
Also available in: Unified diff