Page 1 of 1

multi processor initialization

Posted: Wed Mar 10, 2004 12:49 am
by ob
im trying to start my second processor...
i read the mpconfigurationbasetable and send an init ipi to the second local apic. my computer restarts.
in bochs, nothing happens.
hasn't anyone started multiple processors?
are there samples, tutorials?

Re:multi processor initialization

Posted: Wed Mar 10, 2004 1:39 am
by Candy
ob wrote: im trying to start my second processor...
i read the mpconfigurationbasetable and send an init ipi to the second local apic. my computer restarts.
in bochs, nothing happens.
hasn't anyone started multiple processors?
are there samples, tutorials?
try a different IPI, wasnt init the only one you could only send once after reset? Check linux sources.

Re:multi processor initialization

Posted: Wed Mar 10, 2004 2:09 am
by Pype.Clicker
ob wrote: in bochs, nothing happens.
You have of course a version of BOCHS which is compiled to have multi-processors, haven't you ?

I think there should be a tutorial about this on Bona Fide ..
http://osdev.neopages.net/tutorials/mp.php?the_id=59

Re:multi processor initialization

Posted: Wed Mar 10, 2004 11:35 am
by ASHLEY4
I was thinking about in my OS, multi processors,as in Message passing ,To net work lots of pc bases in to clusters.
As my OS is a single tasking OS by adding this function i could make it in to a small super computer(eg.adding 10 pc base together and deviding the task up ), by designing it in the begining you would have a advantage,when this comes to be,as it certenly will.

Just think about it, we are all at a demo about software patent's ,we all have PDA that are as powerfull as pc today,we net work by WI-FI to make a very powerfull super computer .
The POWER ;D.

ASHLEY4.

Re:multi processor initialization

Posted: Wed Mar 10, 2004 11:44 am
by Candy
ASHLEY4 wrote: Just think about it, we are all at a demo about software patent's ,we all have PDA that are as powerfull as pc today,we net work by WI-FI to make a very powerfull super computer .
The POWER ;D.
Great idea. Only, all your PDAs & watches & stuff together are barely the same power as a half computer. Why bother with the pdas?

[edit] Of course, if you're in a train and everybody around you has another bluetooth compatible phone, if you could hack them and let them run your code, yours would be quite fast :D [/edit]

[edit] learn to reply candy...[/edit]

Re:multi processor initialization

Posted: Wed Mar 10, 2004 12:01 pm
by vgu

Re:multi processor initialization

Posted: Wed Mar 10, 2004 12:31 pm
by Pype.Clicker
just a problem with your idea, ashley: programming a network stack usually requires multitasking ...

btw, we're getting a bit off topic, ain't we ?

Re:multi processor initialization

Posted: Wed Mar 10, 2004 1:02 pm
by ASHLEY4
Candy by the time we get this done, PDAs will be very powerfull ;).

Clicker what about Dos :).

ASHLEY4.