mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-07 18:56:28 +00:00
kernel: fix some uses of disable_count
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user