aboutsummaryrefslogtreecommitdiff
path: root/kernel/main/kmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main/kmain.c')
-rw-r--r--kernel/main/kmain.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/main/kmain.c b/kernel/main/kmain.c
index 14d76e2..f50fb0f 100644
--- a/kernel/main/kmain.c
+++ b/kernel/main/kmain.c
@@ -159,16 +159,6 @@ static void *initproc_run(long arg1, void *arg2)
make_devices();
#endif
- // NOT_YET_IMPLEMENTED("PROCS: initproc_run");
-
- // print all the threads in the system
- // list_iterate(&curproc->p_threads, thread, kthread_t, kt_plink)
- // {
- // dbg(DBG_THR, "Thread: %s\n", thread->kt_proc->p_name);
- // }
-
- // dbg(DBG_PROC, "%s", "In main thread!\n");
-
// proctest_main(0, NULL);
#ifdef __VM__
@@ -215,10 +205,6 @@ static void *initproc_run(long arg1, void *arg2)
*/
void initproc_start()
{
- // NOT_YET_IMPLEMENTED("PROCS: initproc_start");
-
- dbg(DBG_PROC, "Setting up the initial process and preparing it to run\n");
-
proc_t *init_proc = proc_create("init");
KASSERT(init_proc != NULL);
@@ -228,8 +214,6 @@ void initproc_start()
sched_make_runnable(init_thread);
context_make_active(&curcore.kc_ctx); // start the scheduler
- // context_make_active(&init_thread->kt_ctx);
- // TODO: ask about how the core is linked to scheduler
}
void initproc_finish()