summaryrefslogtreecommitdiff
path: root/i386/i386/mp_desc.c
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-04-22 19:51:04 +0200
committerAlmuHS <almuhs@github.com>2019-04-22 19:51:04 +0200
commit746ddaa3683040c8e87ba7df92c4321b6e8cbad4 (patch)
treeded2f37a77a45f39a585c8f8d7174f46c3acc5e3 /i386/i386/mp_desc.c
parent823e4c7d2a6314d85ba753314487a09ebb721a81 (diff)
add more traces
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r--i386/i386/mp_desc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index a4e951b8..3c5bd58e 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -284,6 +284,10 @@ cpu_setup(){
if(i >= ncpu)
return -1;
+ slave_main(i);
+
+ printf("launched first thread of cpu %d\n", i);
+
/*TODO: Move this code to a separate function*/
/* assume Pentium 4, Xeon, or later processors */
@@ -324,7 +328,7 @@ cpu_setup(){
break;
}
- slave_main(i);
+
//printf("cpu %d enabled\n", cpu_number());