mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
vmstate: port pmtimer
It was a half conversion. Finish it. enabled can only get values of 0, 1 or 2, was declared as an int but sent as an unint8_t, change its type. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
committed by
Anthony Liguori
parent
22a3faf507
commit
852f771ec9
@@ -144,8 +144,6 @@ uint64_t ptimer_get_count(ptimer_state *s);
|
||||
void ptimer_set_count(ptimer_state *s, uint64_t count);
|
||||
void ptimer_run(ptimer_state *s, int oneshot);
|
||||
void ptimer_stop(ptimer_state *s);
|
||||
void qemu_put_ptimer(QEMUFile *f, ptimer_state *s);
|
||||
void qemu_get_ptimer(QEMUFile *f, ptimer_state *s);
|
||||
|
||||
/* icount */
|
||||
int64_t qemu_icount_round(int64_t count);
|
||||
|
||||
Reference in New Issue
Block a user