Re: How to read BIOS information

From: Avi Kivity
Date: Mon May 08 2006 - 11:06:56 EST


Madhukar Mythri wrote:
"proc/cpuinfo" says only HT support is their or not but, it will not say whether HT is Enalbled/Disabled..
How to read ACPI tables ? Can you give little info on this...
even from Driver program, if its possible please tell me...

Look at the 'physical id', 'siblings', 'core id', and 'cpu cores' fields in /proc/cpuinfo. If 'siblings' exists, you are hyperthreaded and you can detect which cpu the other thread is by matching physical id and core id.

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/