mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 04:11:18 +00:00
KScheduler: fix documentation mistakes
This commit is contained in:
parent
592b9c66d1
commit
e702eab21c
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ namespace ams::kern {
|
|||
static NOINLINE void OnThreadPriorityChanged(KThread *thread, s32 old_priority);
|
||||
static NOINLINE void OnThreadAffinityMaskChanged(KThread *thread, const KAffinityMask &old_affinity, s32 old_core);
|
||||
|
||||
static NOINLINE void RotateScheduledQueue(s32 priority, s32 core_id);
|
||||
static NOINLINE void RotateScheduledQueue(s32 core_id, s32 priority);
|
||||
|
||||
static NOINLINE void YieldWithoutCoreMigration();
|
||||
static NOINLINE void YieldWithCoreMigration();
|
||||
|
|
|
@ -219,7 +219,7 @@ _ZN3ams4kern10KScheduler12ScheduleImplEv:
|
|||
/* Call ams::kern::KScheduler::SwitchThread(ams::kern::KThread *) */
|
||||
bl _ZN3ams4kern10KScheduler12SwitchThreadEPNS0_7KThreadE
|
||||
|
||||
/* Check if we need scheduling. If we don't, then we can't complete the switch and should retry. */
|
||||
/* Check if we need scheduling. If we do, then we can't complete the switch and should retry. */
|
||||
ldarb w1, [x20] // ldarb w1, [x20, #(KSCHEDULER_NEEDS_SCHEDULING)]
|
||||
cbnz w1, 15f
|
||||
|
||||
|
|
Loading…
Reference in a new issue