summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-04-27 23:23:16 +0200
committerAlmuHS <almuhs@github.com>2019-04-27 23:23:16 +0200
commitbf9e0f9554326effb15b8b1f9d567c80d3930d10 (patch)
treef8e9c99b797eabac9caf94ba147e61c0474b72f8
parent34813fedc1596e41e65f9afcbd0afab7013ceb4b (diff)
added call to gdt_init() and idt_init() in cpu_setup()
-rw-r--r--i386/i386/mp_desc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 7c7196ed..0aeb6c53 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -324,9 +324,10 @@ cpu_setup(){
break;
}
- //slave_main(i);
+ gdt_init();
+ idt_init();
- printf("launched first thread of cpu %d\n", i);
+ //slave_main(i);
//printf("cpu %d enabled\n", cpu_number());