Remove kernel Scheduler::Init().

This commit is contained in:
Jonas 'Sortie' Termansen 2015-08-01 14:51:34 +02:00
parent 7185cb33c7
commit 0045f18c81
3 changed files with 0 additions and 11 deletions

View File

@ -53,7 +53,6 @@ static inline void ExitThread()
}
#endif
void Init();
void Switch(struct interrupt_context* intctx);
void SetThreadState(Thread* thread, ThreadState state);
ThreadState GetThreadState(Thread* thread);

View File

@ -419,9 +419,6 @@ extern "C" void KernelInit(unsigned long magic, multiboot_info_t* bootinfo)
// Initialize Unix Signals.
Signal::Init();
// Initialize the scheduler.
Scheduler::Init();
// Now that the base system has been loaded, it's time to go threaded. First
// we create an object that represents this process.
Ref<ProcessTable> ptable(new ProcessTable());

View File

@ -453,13 +453,6 @@ void ScheduleTrueThread()
Interrupt::SetEnabled(wasenabled);
}
void Init()
{
first_runnable_thread = NULL;
true_current_thread = NULL;
idle_thread = NULL;
}
} // namespace Scheduler
} // namespace Sortix