Re: Haiku, NewOS and SMP

"Axel Dörfler" <[email protected]>
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <23172220177-BeMail@zon>
Hi Maxim,

"Maxim E. Sokhatsky" <maxim-5fend9pvxyDqlBn2x/[email protected]> wrote:
> I found that SMP is disabled in current build (The system
> always starts 1 cpu). As I was told there is a bug in SMP
> that was broken many time ago. What will be if I
> uncomment this  now. In what stage SMP in Haiku. I
> want to play with that.

To enable SMP you have to enable it in the boot loader, BIOS platform 
code, smp_boot.c.
As soon as the other CPUs jump into the kernel, the system hangs. 
Probably the reason could just be that GCC has problems with the inline 
assembly that is calling the kernel function. I haven't investigated 
into this yet, but I remember I once had the problem with the main CPU 
as well, so it could be the same.
Good luck :-)

Bye,
   Axel.



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.