mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Display CPU (BSP) clock speed on SMP systems.
This commit is contained in:
parent
04a2253821
commit
cfca102355
2 changed files with 0 additions and 8 deletions
|
|
@ -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 a new issue