diff options
author | AlmuHS <almuhs@github.com> | 2019-05-01 18:37:19 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-05-01 18:37:56 +0200 |
commit | 433f7c7eda7df8da032104f1ecec1fea70f1d97d (patch) | |
tree | f1a23c0651c4b9e7a90c33b146603a6bc6436591 /kern | |
parent | df66d85086d97a34b58edc7178c70da845047398 (diff) |
format: clean cpu_launch_first_thread
Diffstat (limited to 'kern')
-rw-r--r-- | kern/startup.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kern/startup.c b/kern/startup.c index ae0c1354..d971b7aa 100644 --- a/kern/startup.c +++ b/kern/startup.c @@ -311,8 +311,6 @@ void cpu_launch_first_thread(thread_t th, int mycpu) PMAP_ACTIVATE_KERNEL(mycpu); - printf("kernel pmap enabled in cpu %d\n", mycpu); - active_threads[mycpu] = th; active_stacks[mycpu] = th->kernel_stack; thread_lock(th); @@ -322,14 +320,8 @@ void cpu_launch_first_thread(thread_t th, int mycpu) PMAP_ACTIVATE_USER(vm_map_pmap(th->task->map), th, mycpu); - printf("user pmap enabled in cpu %d\n", mycpu); - startrtclock(); /* needs an active thread */ - printf("clock started in cpu %d\n", mycpu); - load_context(th); /*NOTREACHED*/ - - printf("cpu %d up successfully\n", mycpu); } |