diff options
author | AlmuHS <AlmuHS@gmail.com> | 2019-07-04 01:22:12 +0200 |
---|---|---|
committer | AlmuHS <AlmuHS@gmail.com> | 2019-07-04 01:22:12 +0200 |
commit | 66323afae5e63624d2691c3fcc98f7ba130585df (patch) | |
tree | 524b06a437156be2a0a6df0b944950b0e3c7f1c8 | |
parent | 0690f2d3ed47abacdc8c0f3d85566a79de2f9b64 (diff) |
fix: initialized gdt and idt to final values
-rw-r--r-- | i386/i386/mp_desc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index dea8255c..bc9e4038 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -349,8 +349,9 @@ cpu_setup() machine_slot[i].cpu_type = CPU_TYPE_PENTIUMPRO; break; } - - //slave_main(); + gdt_init(); + idt_init(); + slave_main(); kernel_id = cpu_number(); printf("cpu %d enabled\n", kernel_id); |