Re: How to read BIOS information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 8 May 2006, Madhukar Mythri wrote:

> Hi,
>     Im new to this group.
> I want to get some information from BIOS. i.e i want to know whether
> Hyperthreading is Enabled/Disabled(as per BIOS settings)  from an user
> applications program.
>
> Please reply, if anybody has worked on it.
>

The BIOS settings, and where the BIOS information is stored, is
different for each and every BIOS. That's why there is a BIOS
setup screen. You can't run this screen from within the 32-bit
protected-mode environment of Linux. You could, however, implement
a VM-86 environment, just as is done for dosemu, the MS-DOS
emulator. However, dosemu creates a virtual BIOS environment and
doesn't use the real one, therefore you would have to copy over
a the real BIOS pages in order to run the BIOS setup screen.

The bottom line is that it's possible, but very difficult. That's
why relevant information is gathered by Linux and put into
the /proc file-system. If you have hyper-threading, it should
show up as two or more CPUs in /proc/cpuinfo.

> --
> Thanks & Regards
> Madhukar Mythri
> Wipro Technologies
> Bangalore.
> Off: +91 80 30294361.
> M: +91 9886442416.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.4 on an i686 machine (5592.89 BogoMips).
New book: http://www.lymanschool.com
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux