Change order of sending EOI to PIC, works with -enable-kvm now

This commit is contained in:
2025-11-18 16:56:28 +01:00
parent 2a0dddead3
commit 4fb5448dd9
5 changed files with 7 additions and 12 deletions

View File

@ -31,9 +31,8 @@ void intr_pit_wait(uint32_t ms) {
while (PIT_TICKS - now < ms);
}
int intr_pit_intr(IntrStackFrame *frame) {
void intr_pit_intr(IntrStackFrame *frame) {
PIT_TICKS++;
return 0;
}
void intr_pit_init(void) {