mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 20:27:58 -05:00
kernel: fix single-core preemption points
This commit is contained in:
@ -49,6 +49,7 @@ public:
|
||||
|
||||
void SetInterruptTaskRunnable();
|
||||
void RequestScheduleOnInterrupt();
|
||||
void PreemptSingleCore();
|
||||
|
||||
u64 GetIdleCount() {
|
||||
return m_state.idle_count;
|
||||
@ -62,10 +63,6 @@ public:
|
||||
return m_current_thread.load() == m_idle_thread;
|
||||
}
|
||||
|
||||
std::shared_ptr<Common::Fiber> GetSwitchFiber() {
|
||||
return m_switch_fiber;
|
||||
}
|
||||
|
||||
KThread* GetPreviousThread() const {
|
||||
return m_state.prev_thread;
|
||||
}
|
||||
|
Reference in New Issue
Block a user