Patch by "v" to fix ticket #4733, there are Core and Core 2 Celerons. I
enhanced it to also say Core 2 Quad and Core 2 Duo again, instead of just Core 2. Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33470 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
34eb485aea
commit
b0488dca68
@ -176,18 +176,25 @@ get_cpu_model_string(system_info *info)
|
||||
case B_CPU_INTEL_ATOM:
|
||||
return "Atom";
|
||||
case B_CPU_INTEL_PENTIUM_CORE:
|
||||
get_cpuid_model_string(cpuidName);
|
||||
if (strcasestr(cpuidName, "Celeron") != NULL)
|
||||
return "Core Celeron";
|
||||
return "Core";
|
||||
case B_CPU_INTEL_PENTIUM_CORE_2:
|
||||
get_cpuid_model_string(cpuidName);
|
||||
if (strcasestr(cpuidName, "Celeron") != NULL)
|
||||
return "Core 2 Celeron";
|
||||
if (strcasestr(cpuidName, "Xeon") != NULL)
|
||||
return "Core 2 Xeon";
|
||||
return "Core 2";
|
||||
case B_CPU_INTEL_PENTIUM_CORE_2_45_NM:
|
||||
get_cpuid_model_string(cpuidName);
|
||||
if (strcasestr(cpuidName, "Duo") != NULL
|
||||
|| strcasestr(cpuidName, "Quad") != NULL) {
|
||||
return "Core 2";
|
||||
}
|
||||
if (strcasestr(cpuidName, "Celeron") != NULL)
|
||||
return "Core 2 Celeron";
|
||||
if (strcasestr(cpuidName, "Duo") != NULL)
|
||||
return "Core 2 Duo";
|
||||
if (strcasestr(cpuidName, "Quad") != NULL)
|
||||
return "Core 2 Quad";
|
||||
if (strcasestr(cpuidName, "Xeon") != NULL)
|
||||
return "Core 2 Xeon";
|
||||
return "Core 2 Extreme";
|
||||
|
Loading…
Reference in New Issue
Block a user