mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke/sched: check for pending DPCs in idle
This commit is contained in:
@@ -1393,6 +1393,11 @@ pub fn idle(_: ?*anyopaque) noreturn {
|
||||
}
|
||||
}
|
||||
|
||||
// Dispatch any pending DPCs.
|
||||
if (ki.ipl.is_softint_pending(.Dispatch)) {
|
||||
ki.dpc.dispatch();
|
||||
}
|
||||
|
||||
std.atomic.spinLoopHint();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user