Ok. I forgot a little piece of the project: detect CPU in runtime, to avoid set the number manually before compilation. I speak of this previously, but I forget to refer It in my latest message.
El Viernes 31 de agosto de 2018, Samuel Thibault escribió: > Almudena Garcia, le ven. 31 août 2018 13:28:18 +0200, a ecrit: > > Yes. Then, I think that the MMU (Memory Management Unit) has a special case > > to > > multiprocessor in pmap.c. If It's correct, then we don't need to implement > > multiprocessor support in MMU (may we need to fix any error, of course). > > That's it, yes. Basically the support already exist in GNU Mach, it just > has never been tested for a long time and bits have probably got broken > with other changes. > > > So, to implement SMP, we have to add IPI support in process scheduler > > The process scheduler probably already has the support. What is missing > is the hardware driver for SMP: enumeration and initialization. > > Samuel > -- Enviado desde mi Jolla