On Thu, Aug 30, 2018 at 06:15:28PM +0200, Almudena Garcia wrote: > It's not only a test. Obviously, It must start as a test, but I want to add > this to Hurd if runs. > > > > El jue., 30 ago. 2018 a las 18:02, Richard Braun (<rbr...@sceen.net>) > escribió: > > > On Thu, Aug 30, 2018 at 05:53:42PM +0200, Almudena Garcia wrote: > > > I've said It yet. > > > > > > > As this > > > > form, we don't need to know how many cores has the processor and set > > the > > > > core number in Mach in compilation time. Instead, the same processor > > will > > > > detect the cores number and configure SMP automatically. > > > > > > I don't know the exact assembly instructions, but I read about the > > > processor can be configured from assembly to run in multicore mode. > > > Then, what we had to do is to write a routine that initializes the > > > processor with this multicore support, during Mach boot. > > > > > > In this guide, in Chapter 8.4 feels to be a better explanation about how > > to > > > do this (initialization example in 8.4.4): > > > > > https://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-vol-3a-part-1-manual.html > > > > Oh, so it's merely runtime probing.
That's not what I meant. Please improve your English. You're heavily misusing words here. You're not talking about a "hardware SMP implementation", just asking the system how many processors it has. That's a very tiny detail among all that's required to write a decent scalable SMP kernel. -- Richard Braun