How do I determine if a CPU supports Uniprocessors/Multiprocessors or only ACPI

C

cwalker

I have an application I'm supporting that needs to determine whether or
not a CPU supports Uni/Multi-processors or just ACPI. The original
developer determined this by testing the CPUID features bits against
0xBFF(Uni/Multi support) and 0x9FF (ACPI only support).

This doesn't seem to be working properly with some of the newer Intel
Chipsets (i915M, i945M, etc).

I know very little about the CPUID and the feature sets. I was
wondering if anyone out there could help me understand this and
hopefully help me figure out a more reliable way to make this
determination.

Thanks!
 
R

red floyd

I have an application I'm supporting that needs to determine whether or
not a CPU supports Uni/Multi-processors or just ACPI. The original
developer determined this by testing the CPUID features bits against
0xBFF(Uni/Multi support) and 0x9FF (ACPI only support).

This doesn't seem to be working properly with some of the newer Intel
Chipsets (i915M, i945M, etc).

I know very little about the CPUID and the feature sets. I was
wondering if anyone out there could help me understand this and
hopefully help me figure out a more reliable way to make this
determination.

And your C++ language question would be? Please see:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 
V

Victor Bazarov

Rymfax said:
[..]
I guess my C++ question would be: Using C++, how do I determine
whether or not the CPU supports Uniprocessors/Multiprocessors or just
ACPI?

The answer to your question is "there is no means in C++ language and
library to do that". You need to use OS-specific mechanism for that.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top