PERFORCE change 28582 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 8 17:40:56 PDT 2003


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

Change 28582 by peter at peter_daintree on 2003/04/08 17:40:07

	less chatty

Affected files ...

.. //depot/projects/hammer/sys/x86_64/x86_64/autoconf.c#8 edit
.. //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#56 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/x86_64/autoconf.c#8 (text+ko) ====

@@ -107,7 +107,6 @@
 configure(dummy)
 	void *dummy;
 {
-printf("configure\n");
 
 	/*
 	 * Activate the ICU's.  Note that we are explicitly at splhigh()
@@ -125,16 +124,12 @@
 	 *
 	 * This is all rather inconvenient.
 	 */
-printf("enable_intr\n");
 	enable_intr();
-printf("enable IRQ_SLAVE\n");
 	INTREN(IRQ_SLAVE);
 
-printf("add nexus\n");
 	/* nexus0 is the top of the i386 device tree */
 	device_add_child(root_bus, "nexus", 0);
 
-printf("root bus config\n");
 	/* initialize new bus architecture */
 	root_bus_configure();
 
@@ -143,19 +138,15 @@
 	 * Explicitly probe and attach ISA last.  The isa bus saves
 	 * it's device node at attach time for us here.
 	 */
-	if (isa_bus_device) {
-printf("isa_probe_children\n");
+	if (isa_bus_device)
 		isa_probe_children(isa_bus_device);
-	}
 #endif
 
-printf("spl0()\n");
 	/*
 	 * Now we're ready to handle (pending) interrupts.
 	 * XXX this is slightly misplaced.
 	 */
 	spl0();
-printf("end configure\n");
 }
 
 static void

==== //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#56 (text+ko) ====

@@ -737,7 +737,7 @@
 	 */
 	smapbase = MD_FETCH(kmdp, MODINFOMD_SMAP, struct bios_smap *) + KERNBASE;
 	if (smapbase == 0) {
-		printf("no bios smap info from loader, winging it\n");
+		printf("No BIOS smap info from loader!\n");
 		goto deep_shit;
 	}
 printf("smapbase: %p\n", smapbase);
@@ -798,7 +798,6 @@
 
 		if (basemem == 0) {
 			basemem = rtcin(RTC_BASELO) + (rtcin(RTC_BASEHI) << 8);
-printf("rtc says basemem = %d\n", basemem);
 		}
 
 		if (basemem == 0) {
@@ -825,7 +824,6 @@
 	 * Prefer the RTC value for extended memory.
 	 */
 	extmem = rtcin(RTC_EXTLO) + (rtcin(RTC_EXTHI) << 8);
-printf("rtc says extmem = %d\n", extmem);
 
 	/*
 	 * Special hack for chipsets that still remap the 384k hole when


More information about the p4-projects mailing list