278Fermer280
squalylLe 19/01/2011 à 11:15
infos plus simples
http://infocenter.arm.com/help/topic/com.arm.doc.dui0395b/CIHCAGHH.html
http://osdir.com/ml/android-ndk/2010-04/msg00055.html

unsigned int getArmCpuId()
{
 unsigned int id = 0;
 asm volatile("mrc p15 0, %0, c0, c0, 0" : "=r" (id));
 return id;
}


Plus qu'a faire une messagebox et tu l'as ton cpuid