Reschedule after interrupts run.

It'll reschedule anyway, so this will just give us a message.

Hardware seems to reschedule, not just go back to the original
thread, but there may be more to it than that.
This commit is contained in:
Unknown W. Brackets 2012-12-20 21:59:10 -08:00
parent 9034cfbfd3
commit 4fb6c8c0ac

View File

@ -320,12 +320,8 @@ void __KernelReturnFromInterrupt()
// All should now be back to normal, including PC.
// Alright, let's see if there's any more interrupts queued...
if (!__RunOnePendingInterrupt())
{
// Hmmm...
//__KernelReSchedule("return from interrupt");
}
__KernelReSchedule("return from interrupt");
}
u32 __RegisterSubInterruptHandler(u32 intrNumber, u32 subIntrNumber, SubIntrHandler *subIntrHandler)