PERFORCE change 64117 for review
John Baldwin
jhb at FreeBSD.org
Tue Nov 2 14:27:15 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=64117
Change 64117 by jhb at jhb_slimer on 2004/11/02 22:27:06
List CPUs during boot.
Affected files ...
.. //depot/projects/smpng/sys/alpha/alpha/mp_machdep.c#28 edit
Differences ...
==== //depot/projects/smpng/sys/alpha/alpha/mp_machdep.c#28 (text+ko) ====
@@ -424,6 +424,18 @@
void
cpu_mp_announce(void)
{
+ struct pcpu *pc;
+ int i;
+
+ /* List CPUs */
+ printf(" cpu0 (BSP): PAL ID: %2lu\n", boot_cpu_id);
+ for (i = 1; i < MAXCPU; i++) {
+ if (CPU_ABSENT(i))
+ continue;
+ pc = pcpu_find(i);
+ MPASS(pc != NULL);
+ printf(" cpu%d (AP): APIC ID: %2lu\n", i, pc->pc_pal_id);
+ }
}
/*
More information about the p4-projects
mailing list