/proc/cpuinfo cpu database?
Andrew Jorgensen
andrew.jorgensen at gmail.com
Thu May 24 10:36:19 MDT 2007
Not absolutely sure, but I think the flag "lm" in /proc/cpuinfo may
indicate that you've got a 64-bit capable processor.
/usr/include/asm-i386/cpufeature.h has a line that says
#define X86_FEATURE_LM (1*32+29) /* Long Mode (x86-64) */
Looking on google it seems that Long Mode is indeed 64-bit mode.
(Differing from Real Mode 16-bit and Protected Mode 32-bit)
On 5/24/07, Kenneth Burgener <kenneth at mail1.ttak.org> wrote:
> Is there a list, or a database (similar to pcidatabase.com), that lists
> the processors based upon the "cpu family", "model", and "stepping"
> found in /proc/cpuinfo?
>
> For example:
> cpu family 15
> model 6
> stepping 5
>
> The wiki[1,2] has a good list of processors from AMD/Intel but the
> listings are all based on a "market name" and "stepping", but their
> stepping is a "letter - number" where /proc/cpuinfo only shows a "number".
>
> The main thing I am trying to determine is if the CPU is a 64bit
> processor, and the only true way would be to look up the processor,
> correct? (uname only indicates what kernel is installed, not what is
> possible)
>
> Thoughts?
>
> Thanks,
> Kenneth
>
>
> [1] http://en.wikipedia.org/wiki/List_of_Intel_microprocessors
> [2] http://en.wikipedia.org/wiki/List_of_AMD_microprocessors
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
More information about the PLUG
mailing list