ACPI: replace 3.58MHz timer with an overflow timer

This commit is contained in:
Adrien Moulin
2022-07-15 23:42:40 +02:00
parent 3b2b0b984a
commit 2ed8ad907c
4 changed files with 60 additions and 41 deletions

View File

@@ -1039,7 +1039,6 @@ pit_set_clock(int clock)
VGACONST1 = (uint64_t) (cpuclock / 25175000.0 * (double)(1ull << 32));
VGACONST2 = (uint64_t) (cpuclock / 28322000.0 * (double)(1ull << 32));
RTCCONST = (uint64_t) (cpuclock / 32768.0 * (double)(1ull << 32));
ACPICONST = (uint64_t) (cpuclock / 3579545.0 * (double)(1ull << 32));
TIMER_USEC = (uint64_t)((cpuclock / 1000000.0) * (double)(1ull << 32));