Paolo Bonzini c9669d6d57 hpet: fix clamping of period
When writing a new period, the clamping should use a maximum value
rather tyhan a bit mask.  Also, when writing the high bits new_val
is shifted right by 32, so the maximum allowed period should also
be shifted right.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-07-16 18:18:24 +02:00
..
2024-05-03 15:47:47 +02:00
2024-05-03 15:47:47 +02:00
2024-07-16 12:47:44 +02:00
2024-05-03 15:47:47 +02:00
2024-07-03 20:54:17 -07:00
2024-07-01 12:48:55 +01:00
2024-04-25 09:43:29 -07:00
2024-07-03 20:54:17 -07:00
2024-07-03 20:54:17 -07:00
2024-05-03 15:47:48 +02:00
2024-05-06 10:19:56 -07:00
2024-06-16 21:08:54 +02:00
2024-07-16 18:18:24 +02:00
2024-06-16 21:08:54 +02:00
2024-05-10 15:45:15 +02:00