Ticket #4733: haiku_ticket4733.diff
File haiku_ticket4733.diff, 981 bytes (added by , 15 years ago) |
---|
-
headers/private/shared/cpu_type.h
176 176 case B_CPU_INTEL_ATOM: 177 177 return "Atom"; 178 178 case B_CPU_INTEL_PENTIUM_CORE: 179 get_cpuid_model_string(cpuidName); 180 if (strcasestr(cpuidName, "Celeron") != NULL) 181 return "Core Celeron"; 179 182 return "Core"; 180 183 case B_CPU_INTEL_PENTIUM_CORE_2: 181 184 get_cpuid_model_string(cpuidName); 185 if (strcasestr(cpuidName, "Celeron") != NULL) 186 return "Core 2 Celeron"; 182 187 if (strcasestr(cpuidName, "Xeon") != NULL) 183 188 return "Core 2 Xeon"; 184 189 return "Core 2"; 185 190 case B_CPU_INTEL_PENTIUM_CORE_2_45_NM: 186 191 get_cpuid_model_string(cpuidName); 192 if (strcasestr(cpuidName, "Celeron") != NULL) 193 return "Core 2 Celeron"; 187 194 if (strcasestr(cpuidName, "Duo") != NULL 188 195 || strcasestr(cpuidName, "Quad") != NULL) { 189 196 return "Core 2";