kern: finish SvcGetInfo

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent fd9b986938
commit 695b82b945
4 files changed
+66 -4

No files matched your search

@@ -82,6 +82,14 @@ namespace ams::kern {
this->ScheduleOnInterrupt();
}
}
ALWAYS_INLINE KThread *GetIdleThread() const {
return this->idle_thread;
}
ALWAYS_INLINE s64 GetLastContextSwitchTime() const {
return this->last_context_switch_time;
}
private:
/* Static private API. */
static ALWAYS_INLINE bool IsSchedulerUpdateNeeded() { return s_scheduler_update_needed; }