kern: update scheduler for 13.0.0 change, fix some ctz/clz bugs

This commit is contained in:
Michael Scire committed 2021-10-19 01:20:28 -07:00
1 parent 42b6c2dd95
commit f3b532070b
9 files changed
+22 -56

No files matched your search

@@ -286,6 +286,8 @@ namespace ams::kern {
constexpr void *GetProcessLocalRegionHeapAddress() const { return m_plr_heap_address; }
KThread *GetExceptionThread() const { return m_exception_thread; }
void AddCpuTime(s64 diff) { m_cpu_time += diff; }
s64 GetCpuTime() { return m_cpu_time; }