annotate cputable.h @ 17880:c0fa48581ccf

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