Damien Zammit 74d7ea5062 timer/i8254: Fix one shot PIT mode
Currently, the one-shot (mode 1) PIT expires far too quickly,
due to the output being set under the wrong logic.
This change fixes the one-shot PIT mode to behave similarly to mode 0.

TESTED: using the one-shot PIT mode to calibrate a local apic timer.

Signed-off-by: Damien Zammit <damien@zamaudio.com>

Message-Id: <20230226015755.52624-1-damien@zamaudio.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-10-22 05:18:16 -04:00
..
2022-02-21 13:30:21 +00:00
2023-09-21 11:31:16 +03:00
2023-04-20 10:21:14 +01:00
2021-09-21 07:56:49 +10:00
2023-09-21 11:31:16 +03:00
2021-09-21 07:56:49 +10:00
2022-06-08 19:38:47 +01:00