diff options
author | Michael Foiani <mfoiani@cs.brown.edu> | 2024-05-15 18:17:49 -0400 |
---|---|---|
committer | Michael Foiani <mfoiani@cs.brown.edu> | 2024-05-15 18:17:49 -0400 |
commit | 3942ec1841219e9d1033f583ebfcf687cb76a4af (patch) | |
tree | 13168b263ee28ce2d0867cac47b0fc90bf23b815 /kernel/main/kmain.c | |
parent | 77408081bd2622c50d9acbcec18f1c598738fdaa (diff) |
Diffstat (limited to 'kernel/main/kmain.c')
-rw-r--r-- | kernel/main/kmain.c | 16 |
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() |