annotate cputable.h @ 11327:dc88c1c943a7

bug fixes based on a patch by Nicol«”s Lichtmaier <nick@technisys.com.ar>
author diego
date Thu, 30 Oct 2003 12:36:40 +0000
parents fa75c0b623fe
children af2641a80200
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
1 /* cputable.h - Maps CPUID to real CPU name.
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
2 * Copyleft 2001 by Felix Buenemann <atmosfear at users dot sourceforge dot net>
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
3 * This file comes under the GNU GPL, see www.fsf.org for more info!
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
4 */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
5
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
6 #define MAX_VENDORS 8 /* Number of CPU Vendors */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
7
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
8 //#define N_UNKNOWN "unknown"
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
9 //#define N_UNKNOWNEXT "unknown extended model"
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
10 #define N_UNKNOWN ""
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
11 #define N_UNKNOWNEXT ""
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
12
2302
80251482da41 array was not correctly initialized
pl
parents: 2301
diff changeset
13 #define F_UNKNOWN { \
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
14 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
15 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
16 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
17 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
18 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
19 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
20 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
21 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
22 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
23 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
24 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
25 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
26 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
27 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
28 N_UNKNOWN, \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
29 N_UNKNOWN \
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
30 }
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
31
2302
80251482da41 array was not correctly initialized
pl
parents: 2301
diff changeset
32 static const char *cpuname
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
33 /* Vendor */ [MAX_VENDORS]
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
34 /* Family */ [16]
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
35 /* Model */ [16]
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
36 ={
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
37 /* Intel Corporation, "GenuineIntel" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
38 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
39 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
40 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
41 /* 3 i386 */ F_UNKNOWN, /* XXX new 386 chips may support CPUID! */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
42 /* 4 i486 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
43 /* 0 */ "i486DX-25/33", /* only few of these */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
44 /* 1 */ "i486DX-50", /* support CPUID! */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
45 /* 2 */ "i486SX",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
46 /* 3 */ "i486DX2", /* CPUID only on new chips! */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
47 /* 4 */ "i486SL",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
48 /* 5 */ "i486SX2",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
49 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
50 /* 7 */ "i486DX2/write-back", /* returns 3 in write-through mode */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
51 /* 8 */ "i486DX4",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
52 /* 9 */ "i486DX4/write-back",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
53 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
54 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
55 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
56 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
57 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
58 /* F */ N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
59 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
60 /* 5 i586 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
61 /* 0 */ "Pentium P5 A-step",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
62 /* 1 */ "Pentium P5",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
63 /* 2 */ "Pentium P54C",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
64 /* 3 */ "Pentium OverDrive P24T",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
65 /* 4 */ "Pentium MMX P55C",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
66 /* 5 */ N_UNKNOWN, /* XXX DX4 OverDrive? */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
67 /* 6 */ N_UNKNOWN, /* XXX P5 OverDrive? */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
68 /* 7 */ "Pentium P54C (new)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
69 /* 8 */ "Pentium MMX P55C (new)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
70 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
71 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
72 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
73 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
74 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
75 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
76 /* F */ N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
77 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
78 /* 6 i686 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
79 /* 0 */ "PentiumPro A-step",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
80 /* 1 */ "PentiumPro",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
81 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
82 /* 3 */ "Pentium II Klamath/Pentium II OverDrive",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
83 /* 4 */ N_UNKNOWN, /* XXX P55CT - OverDrive for P54? */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
84 /* 5 */ "Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
85 /* 6 */ "Celeron A Mendocino/Pentium II Dixon",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
86 /* 7 */ "Pentium III Katmai/Pentium III Xeon Tanner",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
87 /* 8 */ "Celeron 2/Pentium III Coppermine,Geyserville",
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
88 /* 9 */ "Pentium M Banias", /* XXX check */
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
89 /* A */ "Pentium III Xeon Cascades",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
90 /* B */ "Celeron 2/Pentium III Tualatin",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
91 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
92 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
93 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
94 /* F */ N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
95 },
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
96 /* 7 Itanium */ { /* XXX check */
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
97 /* 0 */ "Itanium Merced",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
98 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
99 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
100 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
101 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
102 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
103 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
104 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
105 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
106 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
107 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
108 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
109 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
110 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
111 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
112 /* F */ N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
113 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
114 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
115 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
116 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
117 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
118 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
119 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
120 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
121 /* F extended family (P4/new IA-64)*/ {
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
122 /* 0 */ "Pentium 4/Xeon Willamette",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
123 /* 1 */ "Pentium 4/Xeon/Celeron Foster",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
124 /* 2 */ "Pentium 4/Xeon/Celeron Northwood",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
125 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
126 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
127 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
128 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
129 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
130 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
131 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
132 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
133 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
134 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
135 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
136 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
137 /* F */ N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
138 }
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
139 #if 0 /* out of table index boundaries */
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
140 /* 1F Itanium 2 */ { /* XXX check */
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
141 /* 0 */ "Itanium 2 McKinley",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
142 /* 1 */ "Itanium 2 Madison", /* I coded on that :-) */
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
143 /* 2 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
144 /* 3 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
145 /* 4 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
146 /* 5 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
147 /* 6 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
148 /* 7 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
149 /* 8 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
150 /* 9 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
151 /* A */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
152 /* B */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
153 /* C */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
154 /* D */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
155 /* E */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
156 /* F */ N_UNKNOWNEXT
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
157 },
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
158 #endif
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
159 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
160 /* United Microelectronics Corporation, "UMC UMC UMC " */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
161 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
162 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
163 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
164 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
165 /* 4 486 (U5) */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
166 /* 0 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
167 /* 1 */ "486DX U5D",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
168 /* 2 */ "486SX U5S",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
169 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
170 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
171 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
172 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
173 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
174 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
175 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
176 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
177 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
178 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
179 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
180 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
181 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
182 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
183 /* 5 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
184 /* 6 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
185 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
186 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
187 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
188 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
189 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
190 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
191 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
192 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
193 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
194 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
195 /* Advanced Micro Devices, "AuthenticAMD" (very rare: "AMD ISBETTER") */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
196 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
197 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
198 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
199 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
200 /* 4 486/5x86 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
201 /* 0 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
202 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
203 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
204 /* 3 */ "486DX2",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
205 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
206 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
207 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
208 /* 7 */ "486DX2/write-back",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
209 /* 8 */ "486DX4/5x86",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
210 /* 9 */ "486DX4/write-back",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
211 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
212 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
213 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
214 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
215 /* E */ "5x86",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
216 /* F */ "5x86/write-back"
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
217 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
218 /* 5 K5/K6 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
219 /* 0 */ "K5 SSA5 (PR75,PR90,PR100)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
220 /* 1 */ "K5 5k86 (PR120,PR133)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
221 /* 2 */ "K5 5k86 (PR166)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
222 /* 3 */ "K5 5k86 (PR200)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
223 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
224 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
225 /* 6 */ "K6",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
226 /* 7 */ "K6 Little Foot",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
227 /* 8 */ "K6-2",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
228 /* 9 */ "K6-III Chomper",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
229 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
230 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
231 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
232 /* D */ "K6-2+/K6-III+ Sharptooth",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
233 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
234 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
235 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
236 /* 6 K7 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
237 /* 0 */ N_UNKNOWN, /* Argon? */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
238 /* 1 */ "Athlon K7",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
239 /* 2 */ "Athlon K75 Pluto,Orion",
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
240 /* 3 */ "Duron Spitfire",
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
241 /* 4 */ "Athlon Thunderbird",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
242 /* 5 */ N_UNKNOWN,
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
243 /* 6 */ "Athlon 4 /Athlon MP/XP Palomino",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
244 /* 7 */ "Duron MG Morgan",
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
245 /* 8 */ "Athlon MP/XP Thoroughbred",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
246 /* 9 */ N_UNKNOWN,
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
247 /* A */ "Athlon MP/XP/XP-M Barton",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
248 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
249 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
250 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
251 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
252 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
253 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
254 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
255 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
256 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
257 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
258 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
259 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
260 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
261 /* E */ F_UNKNOWN,
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
262 /* F K8 */ {
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
263 /* 0 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
264 /* 1 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
265 /* 2 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
266 /* 3 */ N_UNKNOWN,
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
267 /* 4 */ "Athlon 64 Clawhammer",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
268 /* 5 */ "Opteron Sledgehammer",
10886
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
269 /* 6 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
270 /* 7 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
271 /* 8 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
272 /* 9 */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
273 /* A */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
274 /* B */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
275 /* E */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
276 /* C */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
277 /* D */ N_UNKNOWN,
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
278 /* F */ N_UNKNOWN
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
279 }
ed0fcc08c988 Update CPUID-Table for current Athlon CPUs
atmos4
parents: 10690
diff changeset
280
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
281 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
282 /* Cyrix Corp./VIA Inc., "CyrixInstead" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
283 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
284 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
285 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
286 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
287 /* 4 5x86 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
288 /* 0 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
289 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
290 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
291 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
292 /* 4 */ "MediaGX",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
293 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
294 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
295 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
296 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
297 /* 9 */ "5x86", /* CPUID maybe only on newer chips */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
298 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
299 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
300 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
301 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
302 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
303 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
304 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
305 /* 5 M1 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
306 /* 0 */ "M1 test-sample", /*?*/
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
307 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
308 /* 2 */ "6x86 M1",
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
309 /* 3 */ "6x86L M1",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
310 /* 4 */ "GXm",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
311 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
312 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
313 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
314 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
315 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
316 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
317 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
318 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
319 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
320 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
321 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
322 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
323 /* 6 M2 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
324 /* 0 */ "6x86MX M2/M-II",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
325 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
326 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
327 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
328 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
329 /* 5 */ "Cyrix III Joshua (M2 core)",
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
330 /* 6 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
331 /* 7 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
332 /* 8 */ N_UNKNOWN,
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
333 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
334 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
335 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
336 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
337 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
338 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
339 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
340 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
341 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
342 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
343 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
344 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
345 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
346 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
347 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
348 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
349 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
350 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
351 /* NexGen Inc., "NexGenDriven" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
352 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
353 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
354 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
355 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
356 /* 4 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
357 /* 5 Nx586 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
358 /* 0 */ "Nx586/Nx586FPU", /* only newer ones support CPUID! */
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
359 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
360 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
361 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
362 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
363 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
364 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
365 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
366 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
367 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
368 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
369 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
370 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
371 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
372 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
373 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
374 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
375 /* 6 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
376 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
377 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
378 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
379 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
380 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
381 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
382 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
383 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
384 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
385 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
386 /* IDT/Centaur/VIA, "CentaurHauls" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
387 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
388 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
389 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
390 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
391 /* 4 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
392 /* 5 IDT C6 WinChip */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
393 /* 0 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
394 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
395 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
396 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
397 /* 4 */ "WinChip C6",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
398 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
399 /* 6 */ "Samuel",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
400 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
401 /* 8 */ "WinChip 2 C6+,W2,W2A,W2B",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
402 /* 9 */ "WinChip 3 W3",
10950
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
403 /* A */ "WinChip 4 W4A", /* XXX check */
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
404 /* B */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
405 /* E */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
406 /* C */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
407 /* D */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
408 /* F */ N_UNKNOWN
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
409 },
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
410 /* 6 VIA C3 */ {
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
411 /* 0 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
412 /* 1 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
413 /* 2 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
414 /* 3 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
415 /* 4 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
416 /* 5 */ N_UNKNOWN,
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
417 /* 6 */ "Cyrix III Samuel (WinChip C5A core)",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
418 /* 7 */ "C3 Samuel 2 (WinChip C5B core)/C3 Ezra",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
419 /* 8 */ "C3 Ezra-T",
1665cee5c281 big update of cputable:
atmos4
parents: 10886
diff changeset
420 /* 9 */ "C3 Nehemiah",
2301
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
421 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
422 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
423 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
424 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
425 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
426 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
427 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
428 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
429 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
430 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
431 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
432 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
433 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
434 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
435 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
436 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
437 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
438 /* Rise, "RiseRiseRise" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
439 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
440 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
441 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
442 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
443 /* 4 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
444 /* 5 mP6 */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
445 /* 0 */ "mP6 iDragon 6401,6441 Kirin",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
446 /* 1 */ "mP6 iDragon 6510 Lynx",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
447 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
448 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
449 /* 4 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
450 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
451 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
452 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
453 /* 8 */ "mP6 iDragon II",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
454 /* 9 */ "mP6 iDragon II (new)",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
455 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
456 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
457 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
458 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
459 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
460 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
461 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
462 /* 6 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
463 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
464 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
465 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
466 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
467 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
468 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
469 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
470 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
471 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
472 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
473 /* Transmeta, "GenuineTMx86" */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
474 /* 0 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
475 /* 1 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
476 /* 2 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
477 /* 3 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
478 /* 4 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
479 /* 5 Crusoe */ {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
480 /* 0 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
481 /* 1 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
482 /* 2 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
483 /* 3 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
484 /* 4 */ "Crusoe TM3x00,TM5x00",
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
485 /* 5 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
486 /* 6 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
487 /* 7 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
488 /* 8 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
489 /* 9 */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
490 /* A */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
491 /* B */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
492 /* E */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
493 /* C */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
494 /* D */ N_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
495 /* F */ N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
496 },
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
497 /* 6 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
498 /* 7 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
499 /* 8 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
500 /* 9 */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
501 /* A */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
502 /* B */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
503 /* C */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
504 /* D */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
505 /* E */ F_UNKNOWN,
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
506 /* F */ F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
507 }
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
508 };
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
509
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
510 #undef N_UNKNOWNEXT
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
511 #undef N_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
512 #undef F_UNKNOWN
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
513
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
514 static const struct {
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
515 char string[13];
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
516 char name[48];
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
517 } cpuvendors[MAX_VENDORS] ={
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
518 {"GenuineIntel","Intel"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
519 {"UMC UMC UMC ","United Microelectronics Corporation"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
520 {"AuthenticAMD","Advanced Micro Devices"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
521 {"CyrixInstead","Cyrix/VIA"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
522 {"NexGenDriven","NexGen"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
523 {"CentaurHauls","IDT/Centaur/VIA"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
524 {"RiseRiseRise","Rise"},
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
525 {"GenuineTMx86","Transmeta"}
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
526 };
b4c4c832cce7 Detect and show cpu name.
atmos4
parents:
diff changeset
527