summaryrefslogtreecommitdiff
path: root/com32/gplinclude/cpuid.h
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-04-14 20:58:05 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2011-04-14 20:58:05 +0200
commit629199e1eaa19e21a6da0769c163dd131aa80163 (patch)
tree64fc1eb540cf26417fe1d753197adf40365dbd70 /com32/gplinclude/cpuid.h
parent64bade68d3ebde2c88135e5270e54e192d164692 (diff)
downloadsyslinux-629199e1eaa19e21a6da0769c163dd131aa80163.tar.gz
cpuid: Managing UNKNOWN CPU better
It's safe to manage the unknown cpu as a regular one. This will avoid weird behavior when CPU isn't well detected.
Diffstat (limited to 'com32/gplinclude/cpuid.h')
-rw-r--r--com32/gplinclude/cpuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/gplinclude/cpuid.h b/com32/gplinclude/cpuid.h
index da0dc773..166e4f18 100644
--- a/com32/gplinclude/cpuid.h
+++ b/com32/gplinclude/cpuid.h
@@ -186,8 +186,8 @@ extern bool get_cpu_flag_value_from_name(s_cpu *cpu, const char * flag);
#define X86_VENDOR_RISE 6
#define X86_VENDOR_TRANSMETA 7
#define X86_VENDOR_NSC 8
-#define X86_VENDOR_NUM 9
-#define X86_VENDOR_UNKNOWN 0xff
+#define X86_VENDOR_UNKNOWN 9
+#define X86_VENDOR_NUM 10
#define cpu_has(c, bit) test_bit(bit, (c)->x86_capability)