kern: greatly improve codegen for atomics, scheduler

This commit is contained in:
Michael Scire committed 2021-01-08 02:13:43 -08:00
1 parent f051f707ed
commit 4aa18b06e8
19 files changed
+67 -46

No files matched your search

@@ -135,6 +135,7 @@ namespace ams::kern {
}
void UnpinThread(s32 core_id, KThread *thread) {
MESOSPHERE_UNUSED(thread);
MESOSPHERE_ASSERT(0 <= core_id && core_id < static_cast<s32>(cpu::NumCores));
MESOSPHERE_ASSERT(thread != nullptr);
MESOSPHERE_ASSERT(m_pinned_threads[core_id] == thread);