kern: implement thread pinning/SvcSynchronizePreemptionState
This commit is contained in:
1 parent
b1f38be3ae
commit
787964f7e7
10 files changed
+230
-19
No files matched your search
@@ -180,7 +180,7 @@ namespace ams::kern::arch::arm64 {
|
||||
KScopedSchedulerLock sl;
|
||||
|
||||
/* Pin the current thread. */
|
||||
GetCurrentProcess().PinCurrentThread();
|
||||
KScheduler::PinCurrentThread(GetCurrentProcessPointer());
|
||||
|
||||
/* Set the interrupt flag for the thread. */
|
||||
GetCurrentThread().SetInterruptFlag();
|
||||
|
||||
Reference in new issue
Block a user