mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Remove earlysetcpuclass() as it has been OBE.
Suggested by: bde
This commit is contained in:
parent
f85b149dae
commit
0d238da886
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109027
@ -951,21 +951,6 @@ finishidentcpu(void)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This routine is called specifically to set up cpu_class before
|
||||
* startrtclock() uses it. Probably this should be rearranged so that
|
||||
* startrtclock() doesn't need to run until after identifycpu() has been
|
||||
* called. Another alternative formulation would be for this routine
|
||||
* to do all the identification work, and make identifycpu() into a
|
||||
* printing-only routine.
|
||||
*/
|
||||
void
|
||||
earlysetcpuclass(void)
|
||||
{
|
||||
|
||||
cpu_class = i386_cpus[cpu].cpu_class;
|
||||
}
|
||||
|
||||
static void
|
||||
print_AMD_assoc(int i)
|
||||
{
|
||||
|
@ -123,7 +123,6 @@ extern void init386(int first);
|
||||
extern void dblfault_handler(void);
|
||||
|
||||
extern void printcpuinfo(void); /* XXX header file */
|
||||
extern void earlysetcpuclass(void); /* same header file */
|
||||
extern void finishidentcpu(void);
|
||||
extern void panicifcpuunsupported(void);
|
||||
extern void initializecpu(void);
|
||||
@ -192,7 +191,6 @@ cpu_startup(dummy)
|
||||
/*
|
||||
* Good {morning,afternoon,evening,night}.
|
||||
*/
|
||||
earlysetcpuclass();
|
||||
startrtclock();
|
||||
printcpuinfo();
|
||||
panicifcpuunsupported();
|
||||
|
@ -951,21 +951,6 @@ finishidentcpu(void)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This routine is called specifically to set up cpu_class before
|
||||
* startrtclock() uses it. Probably this should be rearranged so that
|
||||
* startrtclock() doesn't need to run until after identifycpu() has been
|
||||
* called. Another alternative formulation would be for this routine
|
||||
* to do all the identification work, and make identifycpu() into a
|
||||
* printing-only routine.
|
||||
*/
|
||||
void
|
||||
earlysetcpuclass(void)
|
||||
{
|
||||
|
||||
cpu_class = i386_cpus[cpu].cpu_class;
|
||||
}
|
||||
|
||||
static void
|
||||
print_AMD_assoc(int i)
|
||||
{
|
||||
|
@ -123,7 +123,6 @@ extern void init386(int first);
|
||||
extern void dblfault_handler(void);
|
||||
|
||||
extern void printcpuinfo(void); /* XXX header file */
|
||||
extern void earlysetcpuclass(void); /* same header file */
|
||||
extern void finishidentcpu(void);
|
||||
extern void panicifcpuunsupported(void);
|
||||
extern void initializecpu(void);
|
||||
@ -192,7 +191,6 @@ cpu_startup(dummy)
|
||||
/*
|
||||
* Good {morning,afternoon,evening,night}.
|
||||
*/
|
||||
earlysetcpuclass();
|
||||
startrtclock();
|
||||
printcpuinfo();
|
||||
panicifcpuunsupported();
|
||||
|
Loading…
Reference in New Issue
Block a user