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

@ -253,10 +253,8 @@ void proc_killself(void) {
proc_kill(proc);
}
int proc_intr(IntrStackFrame *frame) {
intr_pic_eoi();
void proc_intr(IntrStackFrame *frame) {
proc_sched(frame);
return 0;
}
void proc_init(void) {