hpet: store full 64-bit target value of the counter
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jul 2024 10:26:36 +0000 (12:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Jul 2024 17:19:44 +0000 (19:19 +0200)
commit242d665396407f83a6acbffc804882eeb21cfdad
treee4e2dff25a40c769005fd8d75bbf01bafdb74d5b
parentc2366567378dd8fb89329816003801f54e30e6f3
hpet: store full 64-bit target value of the counter

Store the full 64-bit value at which the timer should fire.

This makes it possible to skip the imprecise hpet_calculate_diff()
step, and to remove the clamping of the period to 31 or 63 bits.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/hpet.c