fix K8 cpu model name
This commit is contained in:
parent
0a74269cc7
commit
7c44e0d886
@ -155,7 +155,11 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 15:
|
case 15:
|
||||||
strcpy(m_name, "AMD64");
|
switch (model)
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
sprintf(m_name, "AMD_K8_M%u", model);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -266,7 +270,7 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
case 15:
|
case 15:
|
||||||
switch(model){
|
switch(model){
|
||||||
case 2: // Transmeta Efficeon(tm) Processor TM8000
|
case 2: // Transmeta Efficeon(tm) Processor TM8000
|
||||||
sprintf(m_name, "TM8000");
|
strcpy(m_name, "TM8000");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
sprintf(m_name, "TM F%dM%d", family, model);
|
sprintf(m_name, "TM F%dM%d", family, model);
|
||||||
@ -283,7 +287,7 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
switch (family)
|
switch (family)
|
||||||
{
|
{
|
||||||
case 6: // VIA C3 Nehemiah = F6M9; VIA C3 Samuel 2 = F6M7
|
case 6: // VIA C3 Nehemiah = F6M9; VIA C3 Samuel 2 = F6M7
|
||||||
sprintf(m_name, "VIA_C3");
|
strcpy(m_name, "VIA_C3");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
sprintf(m_name, "VIA F%dM%d", family, model);
|
sprintf(m_name, "VIA F%dM%d", family, model);
|
||||||
|
Reference in New Issue
Block a user