kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

pull/8/head
bunnei 4 years ago
parent 1f99f5473c
commit 1772ebeb1e

@ -21,7 +21,7 @@ class KernelCore;
class SchedulerLock;
using KSchedulerPriorityQueue =
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority + 1,
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority,
Svc::HighestThreadPriority>;
static constexpr s32 HighestCoreMigrationAllowedPriority = 2;

Loading…
Cancel
Save