[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable SMP support

From: Almudena Garcia
Subject: Re: Enable SMP support
Date: Mon, 9 Jul 2018 17:32:26 +0200

Finally, I got the equivalent call to cpu_desc_init64(cpu_datap(slot_num));

Also, I've replaced many others variables in the code.
The current code is here: https://github.com/AlmuHS/GNUMach_SMP/blob/smp/i386/i386/intel_startCPU.c

Now I'm searching the equivalency to this:

- IdlePTD in this line:

    DBG("IdlePTD(%p): 0x%x\n", &IdlePTD, (int) (uintptr_t)IdlePTD);

- the next variables and struct

   start_info.starter_cpu  = cpu_number();
   start_info.target_cpu   = slot_num;
   start_info.target_lapic = lapic;
   tsc_entry_barrier = 2;
   tsc_exit_barrier = 2;

2018-07-05 17:29 GMT+02:00 Joshua Branson <jbranso@fastmail.com>:
Almudena Garcia <liberamenso10000@gmail.com> writes:

> I've just fixed a little error in my code.
> I attach the fixed file
> 2018-07-04 21:14 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:

hmmm.  This is a little out of my league, but I appreciate you for trying!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]