multi processor initialization

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ob

multi processor initialization

Post 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?
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:multi processor initialization

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:multi processor initialization

Post 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
ASHLEY4

Re:multi processor initialization

Post 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.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:multi processor initialization

Post 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]
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:multi processor initialization

Post 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 ?
ASHLEY4

Re:multi processor initialization

Post by ASHLEY4 »

Candy by the time we get this done, PDAs will be very powerfull ;).

Clicker what about Dos :).

ASHLEY4.
Post Reply