Does minix support multicore processor?

270 views
Skip to first unread message

gawain...@gmail.com

unread,
Mar 25, 2009, 10:12:21 PM3/25/09
to minix3
During my reading the source code, I always concern if minix support
multicore processor such as a SMP archetecture. We know that when
computer boots, there is one master processor executing initial work,
after this, it will trigger the other slave processor to run,of
course,the master should configure the slave processor such as their
ds,ss,es and the entrance in pgdt,etc in advance. So I study the minix
booting code provided in your website including
masterboot.s,bootblock.s,boothead.s,boot.c,bootimage.c and rawfs.c, I
can not find the code supporting multicore processor. Maybe it is my
mistakes.
thank you!!

Bianco Zandbergen

unread,
Mar 26, 2009, 5:53:57 AM3/26/09
to minix3
MINIX 3 currently is not supporting SMP.
According to the MINIX 3 website Arun Chengottarasappan is working on
that.

On Mar 26, 3:12 am, "gawain102...@gmail.com" <gawain102...@gmail.com>
wrote:

Guanqun Lu

unread,
Mar 26, 2009, 7:45:14 AM3/26/09
to min...@googlegroups.com
On Thu, Mar 26, 2009 at 10:12 AM, gawain...@gmail.com
<gawain...@gmail.com> wrote:
>
> During my reading the source code, I always concern if minix support
> multicore processor such as a SMP archetecture. We know that when
> computer boots, there is one master processor executing initial work,
> after this, it will trigger the other slave processor to run,of
> course,the master should configure the slave processor such as their
> ds,ss,es and the entrance in pgdt,etc in advance. So I study the minix

And you have to collect the processor information from MPTable of ACPI.
The booting procedure is really tedious, you have to do what's on the
spec sheet.

> booting  code provided in your website including
> masterboot.s,bootblock.s,boothead.s,boot.c,bootimage.c and rawfs.c, I
> can not find the code supporting multicore processor. Maybe it is my
> mistakes.
> thank you!!
> >
>



--
Guanqun

Antoine Leca

unread,
Mar 26, 2009, 2:41:35 PM3/26/09
to min...@googlegroups.com
On2009/3/26 gawain102000 wrote:

During my reading the source code, I always concern if minix support
multicore processor such as a SMP archetecture.
I do not know about current Minix v3, but there was previous work done on this. For example I found
 to be quite useful. (OK, speaking Spanish is certainly a plus for me).
[...] So I study the minix

booting  code provided in your website including
masterboot.s,bootblock.s,boothead.s,boot.c,bootimage.c and rawfs.c, I
can not find the code supporting multicore processor.
 
The real gain with SMP is when the kernel is running; this is not as much as useful to enable SMP while booting, and OTOH this is adding A LOT of nuisances (because boot is 16-bit code, for one; because the BIOS is still lurking around, as well). I have no access to Microsoft's present code for Bootmgr, but for everything I might know about it, they do not enable MP unless the OS is started (when the HAL is loaded).
So I am probably missing something in your point; can you please elaborate?
Antoine

gawain...@gmail.com

unread,
Mar 27, 2009, 9:18:52 PM3/27/09
to minix3
thank you for answer! I am collecting some ACPI documents. It is
helpful!

On 3月26日, 下午7时45分, Guanqun Lu <guanqun...@gmail.com> wrote:
> On Thu, Mar 26, 2009 at 10:12 AM, gawain102...@gmail.com
Reply all
Reply to author
Forward
0 new messages