Add a utility function for all the ABIs to call functions with a pointer arg. Use to call Advance from the JIT with the MIPSContext. Indent some code better.

This commit is contained in:
Henrik Rydgård
2026-08-13 08:09:30 +02:00
parent 95f1dc648d
commit eb0813c0e3
22 changed files with 90 additions and 52 deletions
+1 -1
View File
@@ -1638,7 +1638,7 @@ void __KernelReSchedule(const char *reason)
__KernelCheckCallbacks();
// Execute any pending events while we're doing scheduling.
CoreTiming::Advance();
CoreTiming::Advance(currentMIPS);
if (__IsInInterrupt() || !__KernelIsDispatchEnabled()) {
// Threads don't get changed within interrupts or while dispatch is disabled.
reason = "In Interrupt Or Callback";