mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 21:54:10 -04:00
kern: implement lightlock slowpath (works on hw)
This commit is contained in:
parent
b3e6571586
commit
11f70759ce
7 changed files with 258 additions and 5 deletions
libraries/libmesosphere/source
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue