kern: implement thread pinning/SvcSynchronizePreemptionState
This commit is contained in:
@@ -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