kernel: fix some uses of disable_count

This commit is contained in:
Liam
2022-06-15 20:53:49 -04:00
parent f86b770ff7
commit 744a208763
4 changed files with 7 additions and 14 deletions

View File

@ -829,6 +829,7 @@ void KScheduler::Initialize() {
idle_thread = KThread::Create(system.Kernel());
ASSERT(KThread::InitializeIdleThread(system, idle_thread, core_id).IsSuccess());
idle_thread->SetName(fmt::format("IdleThread:{}", core_id));
idle_thread->EnableDispatch();
}
KScopedSchedulerLock::KScopedSchedulerLock(KernelCore& kernel)