PERFORCE change 40925 for review

Peter Wemm peter at FreeBSD.org
Thu Oct 30 19:11:32 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=40925

Change 40925 by peter at peter_daintree on 2003/10/30 19:10:47

	express evilness

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/mp_machdep.c#18 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/mp_machdep.c#18 (text+ko) ====

@@ -67,6 +67,8 @@
 #include <machine/specialreg.h>
 #include <machine/tss.h>
 
+#define	bootverbose		1
+
 #define WARMBOOT_TARGET		0
 #define WARMBOOT_OFF		(KERNBASE + 0x0467)
 #define WARMBOOT_SEG		(KERNBASE + 0x0469)
@@ -182,9 +184,7 @@
 	mp_ncpus++;
 	if (apic_id > mp_maxid)
 		mp_maxid = apic_id;
-#if 0
 	if (bootverbose)
-#endif
 		printf("SMP: Added CPU %d (%s)\n", apic_id, boot_cpu ? "BSP" :
 		    "AP");
 	
@@ -390,9 +390,7 @@
 	/* Build our map of 'other' CPUs. */
 	PCPU_SET(other_cpus, all_cpus & ~PCPU_GET(cpumask));
 
-#if 0
 	if (bootverbose)
-#endif
 		lapic_dump("AP");
 
 	if (smp_cpus == mp_ncpus) {


More information about the p4-projects mailing list