1
0
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:
Luoqi Chen 1999-09-22 21:21:53 +00:00
parent 04a2253821
commit cfca102355
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51561
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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