summaryrefslogtreecommitdiff
path: root/i386/i386/mp_desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r--i386/i386/mp_desc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index c4e6630f..15beb455 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -354,9 +354,16 @@ cpu_setup()
machine_slot[i].cpu_type = CPU_TYPE_PENTIUMPRO;
break;
}
+
+ /*
+ * Initialize and activate the real i386 protected-mode structures.
+ */
gdt_init();
idt_init();
+ ldt_init();
ktss_init();
+
+ /* Add cpu to the kernel */
slave_main();
kmutex_unlock(&ap_config_lock);