From 5fbfe93a98a6c9aa8ee6234c0709fe9ddda13165 Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Sun, 28 Mar 2010 16:17:23 +0000 Subject: [PATCH] - CPU identification for 'Core i5 CPU M 430 @ 2.27' added. Reported by Evgeny Abdraimov. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35987 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/kernel/OS.h | 1 + headers/private/shared/cpu_type.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/headers/os/kernel/OS.h b/headers/os/kernel/OS.h index 274eeb6565..3110931da6 100644 --- a/headers/os/kernel/OS.h +++ b/headers/os/kernel/OS.h @@ -494,6 +494,7 @@ typedef enum cpu_types { (Core 2 Extreme, Xeon model 23 or Core 2 Duo/Quad) */ + B_CPU_INTEL_PENTIUM_CORE_I5_M430 = 0x21065, /* Core i5 M 430 @ 2.27 */ B_CPU_INTEL_PENTIUM_CORE_I7 = 0x1106a, /* Core i7 920 @ 2.6(6) */ B_CPU_INTEL_PENTIUM_CORE_I7_Q720 = 0x1106e, /* Core i7 Q720 @ 1.6 */ B_CPU_INTEL_PENTIUM_IV = 0x10f0, diff --git a/headers/private/shared/cpu_type.h b/headers/private/shared/cpu_type.h index 2446a759f8..edae6cec7c 100644 --- a/headers/private/shared/cpu_type.h +++ b/headers/private/shared/cpu_type.h @@ -197,6 +197,8 @@ get_cpu_model_string(system_info *info) if (strcasestr(cpuidName, "Xeon") != NULL) return "Core 2 Xeon"; return "Core 2 Extreme"; + case B_CPU_INTEL_PENTIUM_CORE_I5_M430: + return "Core i5"; case B_CPU_INTEL_PENTIUM_CORE_I7: case B_CPU_INTEL_PENTIUM_CORE_I7_Q720: get_cpuid_model_string(cpuidName);