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

@@ -76,10 +76,9 @@ typedef struct
devsts, glben,
glbctl, devctl,
padsts, paden,
gptren, gptimer, timer_val,
gptren, gptimer,
gpo_val, gpi_val,
extsmi_val, pad0;
uint64_t tmr_overflow_time;
} acpi_regs_t;

View File

@@ -70,7 +70,7 @@ extern uint64_t PITCONST, ISACONST,
HERCCONST,
VGACONST1,
VGACONST2,
RTCCONST, ACPICONST;
RTCCONST;
extern int refresh_at_enable;