diff options
author | AlmuHS <almuhs@github.com> | 2019-04-22 19:15:10 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-04-22 19:15:10 +0200 |
commit | fc73f4fecf15930daa8f0cd06540cae173e73860 (patch) | |
tree | 07f599b59f910f2a5dea0d89a9c235b83fcb8eb1 /i386/i386/mp_desc.c | |
parent | c1d0a7464bbeced7250a0e2e55aa397f27a3c18e (diff) |
added call to slave_main() in cpu_setup()
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r-- | i386/i386/mp_desc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 01779787..a4e951b8 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -324,6 +324,8 @@ cpu_setup(){ break; } + slave_main(i); + //printf("cpu %d enabled\n", cpu_number()); return 0; @@ -381,7 +383,7 @@ kern_return_t intel_startCPU(int slot_num) */ /*mp_rendezvous_no_intrs(start_cpu, (void *) &start_info);*/ startup_cpu(lapic_id); - cpu_up(slot_num); + //cpu_up(slot_num); /*ml_set_interrupts_enabled(istate);*/ cpu_intr_restore(eFlagsRegister); |