Change order of sending EOI to PIC, works with -enable-kvm now
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user