annotate cputable.h @ 25826:d8ed72fc61f8

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