How can the cpu type be read in the linux kernel code (viz. x86, x86_64)? -


i want detect cpu type while kernel booting (viz. x86 or x86_64) can task differently based on cpu type. there simple way know cpu type?

how the cpuid instruction ?

there module interfacing it, source code is here.

if interested, have here or here or here other examples.

also have @ this question using cpuid know if system supports sse.


Comments

Popular posts from this blog

python 2.7 - Chat Solution for Mobile App -

jquery - Detect current Section with javascript -