Re: How to read BIOS information

From: Alan Cox
Date: Tue May 09 2006 - 06:53:26 EST


On Maw, 2006-05-09 at 10:53 +0530, Madhukar Mythri wrote:
> yeah, your are correct. but, the thing is my superiors want, even if
> kernel not reconize/use HT, we have to capture it from BIOS...
> Thats why i asked as, how to read BIOS information?

You ask the BIOS vendor for the exact board in question.

If you want to ask the processor itself then you can use the model
specific registers. These are accessible via /dev/cpu/<cpuid>/msr so you
can perform the Intel recommended sequence for checking if the processor
has HT enabled.

It might be simpler to look in /proc/cpuinfo if you just need the basic
information

-
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/