TransMeta CPU detection
This commit is contained in:
parent
1f34df0b75
commit
139032d223
@ -257,9 +257,27 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
sprintf(m_name, "iF%dM%d", family, model);
|
sprintf(m_name, "iF%dM%d", family, model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (!strcmp("GenuineTMx86", v_name))
|
||||||
|
{
|
||||||
|
switch (family)
|
||||||
|
{
|
||||||
|
case 15:
|
||||||
|
switch(model){
|
||||||
|
case 2: // Transmeta Efficeon(tm) Processor TM8000
|
||||||
|
sprintf(m_name, "TM8000", family, model);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
sprintf(m_name, "TM F%dM%d", family, model);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
sprintf(m_name, "TM F%dM%d", family, model);
|
||||||
|
}
|
||||||
|
}
|
||||||
else if (!strcmp("CyrixInstead", v_name))
|
else if (!strcmp("CyrixInstead", v_name))
|
||||||
sprintf(m_name, "CyrF%dM%d", family, model);
|
sprintf(m_name, "CyrF%dM%d", family, model);
|
||||||
else if (!strcmp("CentaurHauls", v_name)) {
|
else if (!strcmp("CentaurHauls", v_name))
|
||||||
|
{
|
||||||
switch (family)
|
switch (family)
|
||||||
{
|
{
|
||||||
case 6:
|
case 6:
|
||||||
@ -268,7 +286,9 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
default:
|
default:
|
||||||
sprintf(m_name, "VIA F%dM%d", family, model);
|
sprintf(m_name, "VIA F%dM%d", family, model);
|
||||||
}
|
}
|
||||||
}else{
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
if (model) {
|
if (model) {
|
||||||
sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model);
|
sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model);
|
||||||
}else{
|
}else{
|
||||||
|
Reference in New Issue
Block a user