kern: implement lightlock slowpath (works on hw)
This commit is contained in:
@@ -255,6 +255,9 @@ namespace ams::kern {
|
||||
MESOSPHERE_TODO("KProcess::Switch");
|
||||
}
|
||||
|
||||
/* Set the new thread. */
|
||||
SetCurrentThread(next_thread);
|
||||
|
||||
/* Set the new Thread Local region. */
|
||||
cpu::SwitchThreadLocalRegion(GetInteger(next_thread->GetThreadLocalRegionAddress()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user