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.
I read some posts on here and brendan imparticular had some from 2006 highlighting boch's and its problems with the apic & smp; Today I read through the mp specs and wrote some code that to find the tables in memory but I am not having any luck under bochs.
I scanned the 4 areas designated in the spec and I checked the linux source and they scan the same regions. I have a full check for a proper structure but also one liners for _MP_ and _PM_ in memory, but nothing is found in the regions. Does Bochs not provide an mp table? or what do you have to do to make it provide one? Here are my configure options to bochs:
I tried with varying number of processors and the tables never showed up. I also looked again through the bochsrc man page sort of thing and nothing stuck out that I was missing.
i have the same problem. in bochs newer than 2.3, there (probably) is no mp table. I wrote to bochs developers and i hope they will fix this.
actually i just use apic to find other processors
The absence of an MP table in favor or an APIC table is what happens on real computers too. I therefore doubt the bochs developers would consider it a bug if you can still find out about multiple processors in a correct way.
Edit: with ACPI disabled the MP tables don't appear either
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
In bochs 2.3.7 precompiled for windows MP signature "_MP_" is at 0xFB850 with the config file that doesn't touch any MP settings(if thats possible at all). ACPI present as well somewhere.