kern: implement lightlock slowpath (works on hw)

This commit is contained in:
Michael Scire committed 2020-02-14 15:27:34 -08:00
1 parent b3e6571586
commit 11f70759ce
7 files changed
+258 -5

No files matched your search

@@ -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()));
}