mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
Display CPU (BSP) clock speed on SMP systems.
This commit is contained in:
parent
04a2253821
commit
cfca102355
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51561
@ -506,21 +506,17 @@ printcpuinfo(void)
|
||||
#endif
|
||||
#if defined(I586_CPU)
|
||||
case CPUCLASS_586:
|
||||
#ifndef SMP
|
||||
printf("%d.%02d-MHz ",
|
||||
(tsc_freq + 4999) / 1000000,
|
||||
((tsc_freq + 4999) / 10000) % 100);
|
||||
#endif
|
||||
printf("586");
|
||||
break;
|
||||
#endif
|
||||
#if defined(I686_CPU)
|
||||
case CPUCLASS_686:
|
||||
#ifndef SMP
|
||||
printf("%d.%02d-MHz ",
|
||||
(tsc_freq + 4999) / 1000000,
|
||||
((tsc_freq + 4999) / 10000) % 100);
|
||||
#endif
|
||||
printf("686");
|
||||
break;
|
||||
#endif
|
||||
|
@ -506,21 +506,17 @@ printcpuinfo(void)
|
||||
#endif
|
||||
#if defined(I586_CPU)
|
||||
case CPUCLASS_586:
|
||||
#ifndef SMP
|
||||
printf("%d.%02d-MHz ",
|
||||
(tsc_freq + 4999) / 1000000,
|
||||
((tsc_freq + 4999) / 10000) % 100);
|
||||
#endif
|
||||
printf("586");
|
||||
break;
|
||||
#endif
|
||||
#if defined(I686_CPU)
|
||||
case CPUCLASS_686:
|
||||
#ifndef SMP
|
||||
printf("%d.%02d-MHz ",
|
||||
(tsc_freq + 4999) / 1000000,
|
||||
((tsc_freq + 4999) / 10000) % 100);
|
||||
#endif
|
||||
printf("686");
|
||||
break;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user