struct cpu_nameclass is a private to identcpu.c, move it there.
This commit is contained in:
parent
a83e8010cc
commit
a041b840d2
@ -116,7 +116,10 @@ static const char *cpu_brandtable[MAX_BRAND_INDEX + 1] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
static struct cpu_nameclass i386_cpus[] = {
|
||||
static struct {
|
||||
char *cpu_name;
|
||||
int cpu_class;
|
||||
} i386_cpus[] = {
|
||||
{ "Intel 80286", CPUCLASS_286 }, /* CPU_286 */
|
||||
{ "i386SX", CPUCLASS_386 }, /* CPU_386SX */
|
||||
{ "i386DX", CPUCLASS_386 }, /* CPU_386 */
|
||||
|
@ -61,11 +61,6 @@
|
||||
#define CPU_P4 16 /* Intel Pentium 4 */
|
||||
|
||||
#ifndef LOCORE
|
||||
struct cpu_nameclass {
|
||||
char *cpu_name;
|
||||
int cpu_class;
|
||||
};
|
||||
|
||||
extern int cpu;
|
||||
extern int cpu_class;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user