mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 23:55:40 +12:00
[Kernel] Always reschedule on ArbitrateAddress (Fixes MK7)
This commit is contained in:
parent
392fa6e595
commit
069fe37602
1 changed files with 2 additions and 5 deletions
|
@ -86,6 +86,8 @@ void Kernel::arbitrateAddress() {
|
||||||
default:
|
default:
|
||||||
Helpers::panic("ArbitrateAddress: Unimplemented type %s", arbitrationTypeToString(type));
|
Helpers::panic("ArbitrateAddress: Unimplemented type %s", arbitrationTypeToString(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rescheduleThreads();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signal up to "threadCount" threads waiting on the arbiter indicated by "waitingAddress"
|
// Signal up to "threadCount" threads waiting on the arbiter indicated by "waitingAddress"
|
||||||
|
@ -104,9 +106,4 @@ void Kernel::signalArbiter(u32 waitingAddress, s32 threadCount) {
|
||||||
if (count == threadCount && threadCount > 0) break;
|
if (count == threadCount && threadCount > 0) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reschedule threads if we woke one up
|
|
||||||
if (count != 0) {
|
|
||||||
rescheduleThreads();
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue