[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] CPU vendor detection by kernel



On Thu, Nov 18, 1999 at 08:00:09AM +0530, DigitelNet Systems wrote:

> is there any way we can read the CPU serial no not just the signature ?

Yes. First check that your CPU supports serial numbers.

mov $1, %eax
cpuid

;; Check bit 18. If it is true, it supports cpuid

mov $3, %eax
cpuid

;; ecx:edx is your 64 bit serial number

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.